File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11runtime = electron
22disturl = https://atom.io/download/electron
33target = 5.0.6
4- arch = x 64
4+ arch = ia 32
Original file line number Diff line number Diff line change 1919 "start" : " cross-env NODE_ENV=development ts-node -P script/tsconfig.json script/start.ts" ,
2020 "start:prod" : " cross-env NODE_ENV=production ts-node -P script/tsconfig.json script/start.ts" ,
2121 "compile:dev" : " cross-env NODE_ENV=development parallel-webpack --config app/webpack.development.ts" ,
22- "compile:prod" : " cross-env NODE_ENV=production NODE_OPTIONS='--max_old_space_size=4096 ' parallel-webpack --config app/webpack.production.ts" ,
22+ "compile:prod" : " cross-env NODE_ENV=production NODE_OPTIONS='--max_old_space_size=3072 ' parallel-webpack --config app/webpack.production.ts" ,
2323 "build:dev" : " yarn compile:dev && cross-env NODE_ENV=development ts-node -P script/tsconfig.json script/build.ts" ,
2424 "build:prod" : " yarn compile:prod && cross-env NODE_ENV=production ts-node -P script/tsconfig.json script/build.ts" ,
2525 "package" : " ts-node -P script/tsconfig.json script/package.ts" ,
Original file line number Diff line number Diff line change @@ -135,10 +135,10 @@ function packageApp() {
135135
136136 const toPackageArch = ( targetArch : string | undefined ) : packager . arch => {
137137 if ( targetArch === undefined ) {
138- return 'x64 '
138+ return 'ia32 '
139139 }
140140
141- if ( targetArch === 'arm64' || targetArch === 'x64' ) {
141+ if ( targetArch === 'arm64' || targetArch === 'x64' || targetArch == 'ia32' ) {
142142 return targetArch
143143 }
144144
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export function getDistRoot() {
1616export function getDistPath ( ) {
1717 return Path . join (
1818 getDistRoot ( ) ,
19- `${ getExecutableName ( ) } -${ process . platform } -x64 `
19+ `${ getExecutableName ( ) } -${ process . platform } -ia32 `
2020 )
2121}
2222
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ function packageLinux() {
137137 'build' ,
138138 '--prepackaged' ,
139139 distPath ,
140- '--x64 ' ,
140+ '--ia32 ' ,
141141 '--config' ,
142142 configPath ,
143143 ]
You can’t perform that action at this time.
0 commit comments