Updates server url
Some checks failed
Queue Release Build / prepare (push) Successful in 12s
Queue Release Build / build-windows (push) Failing after 18m26s
Queue Release Build / finalize (push) Has been cancelled
Queue Release Build / build-linux (push) Has been cancelled

This commit is contained in:
2026-03-11 03:18:47 +01:00
parent bb087cd2d8
commit 2688c81115
3 changed files with 18 additions and 3 deletions

View File

@@ -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

View File

@@ -147,7 +147,7 @@
"publish": [ "publish": [
{ {
"provider": "generic", "provider": "generic",
"url": "https://updates.metoyou.invalid" "url": "https://tojusignal.azaaxin.com"
} }
], ],
"mac": { "mac": {

View File

@@ -1,4 +1,4 @@
export const environment = { export const environment = {
production: true, production: true,
defaultServerUrl: '' defaultServerUrl: 'https://tojusignal.azaaxin.com'
}; };