summarylogtreecommitdiffstats
path: root/electron-builder-config.diff
blob: 73d01f795941b5fd4012b7d5b9708dde00bfb5fb (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
76
diff --git a/apps/studio/electron-builder-config.js b/apps/studio/electron-builder-config.js
index 81fc127d..53582983 100644
--- a/apps/studio/electron-builder-config.js
+++ b/apps/studio/electron-builder-config.js
@@ -23,6 +23,8 @@ module.exports = {
   asarUnpack: [
     'package.json'
   ],
+  electronDist: "%%ELECTRON_DIST%%",
+  electronVersion: "%%ELECTRON_VERSION%%",
   extraResources: [
     {
       from: './extra_resources/demo.db',
@@ -100,56 +102,20 @@ 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,
-    notarize: 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: {
-    base: 'core22',
-    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'
+    ]
   }
 }