diff --git a/README.md b/README.md index c2ed3b0..9ae3a67 100644 --- a/README.md +++ b/README.md @@ -42,4 +42,24 @@ yarn run dev # build electron application for production yarn run build +``` + +### Build From Source Code +After installing yarn, you can download dependencies and run the app with the commands below. + +``` bash +# auto choose platform and architecture +yarn build + +# MacOS x64 (intel) +yarn build --mac --x64 + +# MacOS arm64 (M1) +yarn build --mac --arm64 + +# Linux Debian Package +yarn build --linux deb + +# Windows x64 +yarn build --win --x64 ``` \ No newline at end of file diff --git a/package.json b/package.json index 441c872..ccaa46b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "passwall", - "version": "1.0.2", + "version": "1.0.3", "author": "PassWall ", "description": "PassWall Desktop", "license": "MIT", @@ -99,7 +99,7 @@ "del": "^3.0.0", "devtron": "^1.4.0", "electron": "^11.4.1", - "electron-builder": "21.2.0", + "electron-builder": "22.10", "electron-debug": "^1.5.0", "electron-devtools-installer": "^2.2.4", "electron-packager": "^15.0.0", diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 3956212..e6e5e59 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -8,7 +8,7 @@