Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4775259

Browse files
committed
Rebuild native dependencies beforehand
1 parent 70d3748 commit 4775259

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎electron/build/template-package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"scripts": {
2121
"build": "yarn download:plugins && theia build --mode development && yarn patch",
2222
"build:publish": "yarn download:plugins && theia build --mode production && yarn patch",
23+
"rebuild": "yarn theia rebuild:electron",
2324
"package": "cross-env DEBUG=* && electron-builder --publish=never",
2425
"package:publish": "cross-env DEBUG=* && electron-builder --publish=always",
2526
"download:plugins": "theia download:plugins",

‎electron/packager/index.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()}
178178
//-------------------------------------------------------------------------------------------+
179179
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')}`, 'Installing dependencies');
180180
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} build${isElectronPublish ? ':publish' : ''}`, `Building the ${productName} application`);
181+
exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} rebuild`, 'Rebuild native dependencies');
181182

182183
//------------------------------------------------------------------------------+
183184
// Create a throw away dotenv file which we use to feed the builder with input. |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /