Updates server url
This commit is contained in:
@@ -121,7 +121,22 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Windows assets
|
- name: Build Windows assets
|
||||||
run: |
|
run: |
|
||||||
npx electron-builder --win --publish never
|
$electronBuilderWorkspace = Join-Path $env:TEMP ([guid]::NewGuid().ToString('N'))
|
||||||
|
$locationPushed = $false
|
||||||
|
New-Item -ItemType Junction -Path $electronBuilderWorkspace -Target $PWD | Out-Null
|
||||||
|
try {
|
||||||
|
Push-Location $electronBuilderWorkspace
|
||||||
|
$locationPushed = $true
|
||||||
|
npx electron-builder --win --publish never
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
|
throw "electron-builder failed with exit code $LASTEXITCODE"
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
if ($locationPushed) {
|
||||||
|
Pop-Location
|
||||||
|
}
|
||||||
|
cmd /c rmdir "$electronBuilderWorkspace" | Out-Null
|
||||||
|
}
|
||||||
node tools/package-server-executable.js --target node18-win-x64 --output metoyou-server-win-x64.exe
|
node tools/package-server-executable.js --target node18-win-x64 --output metoyou-server-win-x64.exe
|
||||||
|
|
||||||
- name: Upload Windows assets
|
- name: Upload Windows assets
|
||||||
|
|||||||
@@ -147,7 +147,7 @@
|
|||||||
"publish": [
|
"publish": [
|
||||||
{
|
{
|
||||||
"provider": "generic",
|
"provider": "generic",
|
||||||
"url": "https://updates.metoyou.invalid"
|
"url": "https://tojusignal.azaaxin.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"mac": {
|
"mac": {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
defaultServerUrl: ''
|
defaultServerUrl: 'https://tojusignal.azaaxin.com'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user