summarylogtreecommitdiffstats
path: root/electron-builder-config.diff
blob: b53e65694706a4fad3752e4ecfe88643a240295b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
diff --git a/apps/studio/vue.config.js b/apps/studio/vue.config.js
index 8407cbc7..c55d7717 100644
--- a/apps/studio/vue.config.js
+++ b/apps/studio/vue.config.js
@@ -55,6 +55,8 @@ module.exports = {
         files: ['**/*', 'public/icons/**/*', '!**/node_gyp_bins/*'],
         afterSign: "electron-builder-notarize",
         afterPack: "./build/afterPack.js",
+        electronDist: "%%ELECTRON_DIST%%",
+        electronVersion: "%%ELECTRON_VERSION%%",
         extraResources: [
           {
             from: './extra_resources/demo.db',
@@ -132,55 +134,21 @@ module.exports = {
             role: "Editor"
           }
         ],
-        mac: {
-          entitlements: "./build/entitlements.mac.plist",
-          entitlementsInherit: "./build/entitlements.mac.plist",
-          icon: './public/icons/mac/bk-icon.icns',
-          category: "public.app-category.developer-tools",
-          "hardenedRuntime": true,
-          publish: ['github']
-        },
         linux: {
           icon: './public/icons/png/',
           category: "Development",
           target: [
-            'snap',
-            'deb',
-            'appImage'
+            'dir',
+            'pacman'
           ],
           desktop: {
             'StartupWMClass': 'beekeeper-studio'
           },
         },
-        deb: {
-          publish: [
-            'github'
-          ],
-          fpm: fpmOptions,
-          // when we upgrade Electron we need to check these
-          depends: ["libgtk-3-0", "libnotify4", "libnss3", "libxss1", "libxtst6", "xdg-utils", "libatspi2.0-0", "libuuid1", "libsecret-1-0", "gnupg"]
-        },
-        appImage: {
-          publish: ['github'],
-        },
-        snap: {
-          publish: [
-            'github',
-            'snapStore'
-          ],
-          environment: {
-            "ELECTRON_SNAP": "true"
-          },
-          plugs: ["default", "ssh-keys", "removable-media", "mount-observe"]
-        },
-        win: {
-          icon: './public/icons/png/512x512.png',
-          target: ['nsis', 'portable'],
-          publish: ['github'],
-          sign: "./build/win/sign.js",
-        },
-        portable: {
-          "artifactName": "${productName}-${version}-portable.exe",
+        pacman: {
+          fpm: [
+            '--pacman-compression=none'
+          ]
         }
       }
     }