summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-09-27 13:00:37 +0200
committerErik Larkö <erik@mullvad.net>2017-09-27 13:19:35 +0200
commit20c50d6dfc87a39bb86c2a5c8260041e39219c6e (patch)
tree58d8fcba6232a4ec539087613d52b15c94c64922
parent6f6b54ec0fb646b6b4b69f636ee9c1a35ababf8f (diff)
downloadmullvadvpn-20c50d6dfc87a39bb86c2a5c8260041e39219c6e.tar.xz
mullvadvpn-20c50d6dfc87a39bb86c2a5c8260041e39219c6e.zip
Sign the dmg
-rw-r--r--electron-builder.yml1
-rw-r--r--package.json2
-rwxr-xr-xpre-mac-sign.sh5
3 files changed, 6 insertions, 2 deletions
diff --git a/electron-builder.yml b/electron-builder.yml
index a0dc05b1d2..0891cda354 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -38,7 +38,6 @@ mac:
category: public.app-category.tools
extendInfo:
LSUIElement: true
- identity: null # disable code signing
extraResources:
- from: ../talpid_core/target/release/mullvad
to: .
diff --git a/package.json b/package.json
index 0ac29d903f..a0a264981d 100644
--- a/package.json
+++ b/package.json
@@ -71,7 +71,7 @@
"lint": "eslint --no-ignore scripts app test *.js",
"flow": "flow",
"pack": "run-s private:clean private:compile private:service-worker private:build:all",
- "pack:mac": "run-s private:clean private:compile private:service-worker private:build:mac",
+ "pack:mac": "./pre-mac-sign.sh && run-s private:clean private:compile private:service-worker private:build:mac",
"pack:win": "run-s private:clean private:compile private:service-worker private:build:win",
"pack:linux": "run-s private:clean private:compile private:service-worker private:build:linux",
"private:build:all": "npm run private:build -- -mwl",
diff --git a/pre-mac-sign.sh b/pre-mac-sign.sh
new file mode 100755
index 0000000000..a30a58f77e
--- /dev/null
+++ b/pre-mac-sign.sh
@@ -0,0 +1,5 @@
+#! /bin/bash
+
+set -eux
+
+rm -f node_modules/electron-sudo/{src,dist}/bin/applet.app/LICENSE