You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnPromise.reject('ELECTRON_API_DEMO_GITHUB_TOKEN environment variable not set\nSet it to a token with repo scope created from https://github.com/settings/tokens/new')
15
26
}else{
16
27
returnPromise.resolve()
17
28
}
18
29
}
19
30
20
-
constzipAsset=(asset)=>{
31
+
functionzipAsset(asset){
21
32
returnnewPromise((resolve,reject)=>{
22
33
constassetBase=path.basename(asset.path)
23
34
constassetDirectory=path.dirname(asset.path)
@@ -40,7 +51,7 @@ const zipAsset = (asset) => {
40
51
})
41
52
}
42
53
43
-
constzipAssets=()=>{
54
+
functionzipAssets(){
44
55
constassets=[{
45
56
name: 'electron-api-demos-mac.zip',
46
57
path: path.join(__dirname,'..','out','Electron API Demos-darwin-x64','Electron API Demos.app')
0 commit comments