File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
- < title > Electron API Demos</ title >
6
5
7
6
< link rel ="stylesheet " href ="assets/css/variables.css ">
8
7
< link rel ="stylesheet " href ="assets/css/nativize.css ">
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ function initialize () {
20
20
var windowOptions = {
21
21
width : 1080 ,
22
22
minWidth : 680 ,
23
- height : 840
23
+ height : 840 ,
24
+ title : process . mas ? 'Electron APIs' : app . getName ( )
24
25
}
25
26
26
27
if ( process . platform === 'linux' ) {
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
+ # App Store does not allow the work "demos" in the name
6
+ APP=" Electron APIs"
7
+
5
8
electron-packager . \
9
+ " $APP " \
6
10
--asar \
7
11
--overwrite \
8
12
--platform=mas \
@@ -14,7 +18,6 @@ electron-packager . \
14
18
--out=out \
15
19
--extend-info=assets/mac/info.plist
16
20
17
- APP=" $npm_package_productName "
18
21
APP_PATH=" ./out/$APP -mas-x64/$APP .app"
19
22
RESULT_PATH=" ./out/$APP .pkg"
20
23
APP_KEY=" 3rd Party Mac Developer Application: GitHub (VEKTX9H2N7)"
You can’t perform that action at this time.
0 commit comments