diff --git a/package.json b/package.json index 8c01668e..299033e9 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "MIT", "scripts": { "compile": "bash ./scripts/compile.sh", - "dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null", + "dist:dir": "bash ./scripts/dist-dir.sh", "dist": "bash ./scripts/dist.sh", "test": "jest", "flow": "flow", diff --git a/scripts/dist-dir.sh b/scripts/dist-dir.sh new file mode 100644 index 00000000..ccdd63ec --- /dev/null +++ b/scripts/dist-dir.sh @@ -0,0 +1,3 @@ +#/bin/bash + +yarn compile && DEBUG=electron-builder electron-builder --dir -c.compression=store -c.mac.identity=null