diff --git a/package.json b/package.json index 85210d5..44dcc4a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wewechat", - "version": "1.1.2", + "version": "1.1.3", "description": "Unofficial WeChat client built with React, MobX and Electron.", "main": "main.js", "scripts": { @@ -65,11 +65,13 @@ "directories": { "output": "../release" }, - "publish": [{ - "provider": "github", - "owner": "trazyn", - "repo": "weweChat" - }] + "publish": [ + { + "provider": "github", + "owner": "trazyn", + "repo": "weweChat" + } + ] }, "dependencies": { "@exponent/electron-cookies": "^2.0.0", diff --git a/scripts/publish.sh b/scripts/publish.sh index ad0ea4e..3da5a7d 100644 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -7,4 +7,4 @@ if [ -z "$GH_TOKEN" ]; then fi # This will build, package and upload the app to GitHub. -node_modules/.bin/build --win --mac --linux -p always +npm run build && node_modules/.bin/build --projectDir ./dist --win --mac --linux -p always