From 8cc9d9a986f0fc8c60a900ee12065bd0589eaa4c Mon Sep 17 00:00:00 2001 From: Julian Gruber Date: Wed, 14 Sep 2016 10:44:18 +0200 Subject: [PATCH] pkg: fix "build-app" --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3b181657..0fe2323a 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "scripts": { "start": "NODE_ENV=development electron .", "test": "standard", - "build-app": "electron-packager . Dat --platform=darwin --arch=x64 --out=dist/ --extend-info extend.plist --app-bundle-id=com.dat.desktop --icon=public/img/app.icns", + "build-app": "electron-packager . Dat --platform=darwin --arch=x64 --out=dist/ --overwrite --extend-info extend.plist --app-bundle-id=com.dat.desktop --icon=public/img/app.icns", "build-dmg": "appdmg dmg.json dist/Dat-$npm_package_version.dmg && rm -Rf dist/Dat-darwin-x64", "package": "npm run build-app && npm run build-dmg", "rebuild": "npm rebuild --runtime=electron --target=1.1.3 --disturl=https://atom.io/download/atom-shell --abi=48 && cd node_modules/appdmg/ && rm -Rf node_modules && npm install",