Trying to manually replace 7z executable.

See https://github.com/electron/windows-installer/issues/186#issuecomment-486587294
This commit is contained in:
Quentin DECAUNES 2019-07-25 18:03:06 +02:00 committed by Quentin “Storm1er” Decaunes
parent 3839876d7d
commit e27a059df2
3 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,8 @@ node:
image: electronuserland/builder:wine-mono image: electronuserland/builder:wine-mono
script: script:
- npm install - npm install
- cp vendor/7z/7z.exe node_modules/electron-winstaller/vendor/7z.exe
- cp vendor/7z/7z.dll node_modules/electron-winstaller/vendor/7z.dll
cache: cache:
paths: paths:
- node_modules/ - node_modules/
@ -90,6 +92,7 @@ win32:
tags: [ docker ] tags: [ docker ]
image: electronuserland/builder:wine-mono image: electronuserland/builder:wine-mono
script: script:
- rm -rf vendor/*
- npm run-script package-win32 - npm run-script package-win32
artifacts: artifacts:
paths: paths:

BIN
vendor/7z/7z.dll vendored Normal file

Binary file not shown.

BIN
vendor/7z/7z.exe vendored Normal file

Binary file not shown.