File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 11
11
"start:dev" : " cross-env NODE_ENV=development electron ." ,
12
12
"start:prod" : " cross-env NODE_ENV=production electron ." ,
13
13
"build:m" : " cross-env NODE_ENV=production electron-builder -m" ,
14
+ "build:m:universal" : " cross-env NODE_ENV=production electron-builder --mac --universal" ,
15
+ "build:m:arm64" : " cross-env NODE_ENV=production electron-builder -m --arm64" ,
14
16
"build:w" : " cross-env NODE_ENV=production electron-builder -w" ,
15
17
"build:l" : " cross-env NODE_ENV=production electron-builder -l" ,
16
- "build:mwl" : " cross-env NODE_ENV=production electron-builder -mwl" ,
17
- "build:mwl:publish:always" : " electron-builder -mwl --x64 --ia32 --publish always" ,
18
+ "build:mwl" : " cross-env NODE_ENV=production electron-builder -mwl --x64 --arm64 --ia32 " ,
19
+ "build:mwl:publish:always" : " electron-builder -mwl --x64 --arm64 -- ia32 --publish always" ,
18
20
"build:m:publish:always" : " electron-builder -m --publish always" ,
19
21
"build:mw:publish:always" : " electron-builder -mw --publish always" ,
20
22
"build" : " npx cross-env NODE_ENV=production electron-builder -m"
76
78
],
77
79
"target" : [
78
80
{
79
- "target" : " dmg" ,
81
+ "target" :" dmg" ,
80
82
"arch" : [
81
- " x64"
83
+ " x64" ,
84
+ " arm64"
82
85
]
83
86
}
84
87
]
108
111
"target" : " portable" ,
109
112
"arch" : [
110
113
" x64" ,
114
+ " arm64" ,
111
115
" ia32"
112
116
]
113
117
}
Original file line number Diff line number Diff line change @@ -265,12 +265,14 @@ <h3>Default STT</h3>
265
265
>
266
266
< option value = "AssemblyAI" > AssemblyAI</ option >
267
267
{ /*<option value="Speechmatics">Speechmatics</option>*/ }
268
+ { /* TODO: M1 - Apple M1 disabling deepspeech until can figure out how to make module compatible -*/ }
269
+ { process . platform === "darwin" && process . arch !== 'arm64' && (
268
270
< option value = "deepspeech" >
269
271
Mozilla Deepspeech (offline){ " " }
270
- </ option >
271
- { process . platform === "darwin" ? (
272
+ </ option > ) }
273
+ { process . platform === "darwin" && (
272
274
< option value = "pocketsphinx" > Pocketsphinx (offline)</ option >
273
- ) : null }
275
+ ) }
274
276
< option value = "" disabled > </ option >
275
277
</ Form . Control >
276
278
< Form . Text className = "text-muted" >
You can’t perform that action at this time.
0 commit comments