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
|
||||
|
||||
Reference in New Issue
Block a user