mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Update Windows build script
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
# This is taken from: https://nodejs.org/api/single-executable-applications.html
|
||||
npm run compile
|
||||
npm run build
|
||||
SET TEMP_SCRIPT_DIR=%~dp0
|
||||
SET SCRIPT_DIR=%SCRIPT_DIR:~0,-1%
|
||||
npm i postject -g
|
||||
SET SCRIPT_DIR=%~dp0
|
||||
node --experimental-sea-config %(SCRIPT_DIR)/../../sea-config.json
|
||||
node -e "require('fs').copyFileSync(process.execPath, 'InfrastructureAgent.exe')"
|
||||
signtool remove /s InfrastructureAgent.exe
|
||||
|
||||
Reference in New Issue
Block a user