Proper MSI fix (#2481)
This commit is contained in:
parent
4ec938859f
commit
7199593c01
|
@ -267,7 +267,6 @@ jobs:
|
|||
operation: optimize
|
||||
- win_make:
|
||||
operation: "install-deps"
|
||||
- run: PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm ci
|
||||
- check-windows
|
||||
- win_make:
|
||||
operation: "build"
|
||||
|
|
|
@ -246,6 +246,8 @@ function Install-Deps {
|
|||
Print-Info "Refreshing PATH..."
|
||||
Refresh-Path
|
||||
}
|
||||
|
||||
InstallDeps-Electron
|
||||
}
|
||||
|
||||
function Install-Wix {
|
||||
|
@ -511,12 +513,15 @@ function Run-BuildId {
|
|||
Print-Info "Modified Wix XML"
|
||||
}
|
||||
|
||||
function Run-BuildElectron {
|
||||
function InstallDeps-Electron {
|
||||
Print-Info "Installing nodejs/electron dependencies (running npm ci)..."
|
||||
npm i -g node-gyp
|
||||
node-gyp install
|
||||
node-gyp install --devdir="$env:USERPROFILE\.electron-gyp" --target=$(jq -r .devDependencies.electron package.json) --dist-url="https://electronjs.org/headers"
|
||||
npm ci
|
||||
}
|
||||
|
||||
function Run-BuildElectron {
|
||||
#npm install --prefix="$(Get-RootDir)" "$(Get-RootDir)"
|
||||
Print-Info "Building nodejs/electron code (running npm run build)..."
|
||||
npm run build
|
||||
|
|
Loading…
Reference in a new issue