Updates server url
This commit is contained in:
@@ -121,7 +121,22 @@ jobs:
|
||||
|
||||
- name: Build Windows assets
|
||||
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
|
||||
|
||||
- name: Upload Windows assets
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
"publish": [
|
||||
{
|
||||
"provider": "generic",
|
||||
"url": "https://updates.metoyou.invalid"
|
||||
"url": "https://tojusignal.azaaxin.com"
|
||||
}
|
||||
],
|
||||
"mac": {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export const environment = {
|
||||
production: true,
|
||||
defaultServerUrl: ''
|
||||
defaultServerUrl: 'https://tojusignal.azaaxin.com'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user