refactor: remove Windows prebuilt native module download step and update package handling in build process
Some checks failed
Release Electron App / release-desktop (push) Failing after 3m40s
Some checks failed
Release Electron App / release-desktop (push) Failing after 3m40s
This commit is contained in:
@@ -37,22 +37,6 @@ jobs:
|
||||
env:
|
||||
WINEDEBUG: '-all'
|
||||
|
||||
- name: Download Windows prebuilt native modules
|
||||
shell: bash
|
||||
run: |
|
||||
ELECTRON_VERSION=$(node -e "console.log(require('electron/package.json').version)")
|
||||
echo "Downloading prebuilt native modules for Electron ${ELECTRON_VERSION} (win32/x64)..."
|
||||
|
||||
# better-sqlite3
|
||||
cd node_modules/better-sqlite3
|
||||
npx --yes prebuild-install -r electron -t ${ELECTRON_VERSION} --platform win32 --arch x64 --verbose
|
||||
cd ../..
|
||||
|
||||
# keytar
|
||||
cd node_modules/keytar
|
||||
npx --yes prebuild-install -r electron -t ${ELECTRON_VERSION} --platform win32 --arch x64 --verbose || echo "keytar prebuilt not available, skipping"
|
||||
cd ../..
|
||||
|
||||
- name: Make App (Windows)
|
||||
run: npm run make -- --platform=win32 --arch=x64
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user