Browse Source

import initial

pg 5 years ago
parent
commit
e410768e42
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      package.json

+ 3
- 3
package.json View File

@@ -9,12 +9,12 @@
9 9
     "clean": "rm -Rf ./dist",
10 10
     "clean:osx": "rm -Rf ./dist/osx",
11 11
     "clean:win": "rm -Rf ./dist/win",
12
-    "build": "npm run clean && npm run build:ui && npm run build:osx && npm run build:win",
12
+    "build": "npm run clean && npm run build:ui && npm run build:osx && npm run build:win && npm run build:nix",
13 13
     "build:ui": "mkdir -p ./ui/css && lessc ./ui/less/main.less ./ui/css/main.css",
14 14
     "build:icon": "./scripts/make-icns.sh assets/icon1024.png assets/osx/patchwork.icns",
15 15
     "build:osx": "electron-packager ./ Patchwork --out=dist/osx --platform=darwin --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/patchwork.icns",
16
-    "build:win": "electron-packager ./ Patchwork --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/patchwork.ico",
17
-    "build:nix": "electron-packager ./ patchwork --out=dist/linux --platform=linux --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/patchwork.icns",
16
+    "build:win": "electron-packager ./ Patchwork --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/patchwork.ico --ignore=Patchwork.app",
17
+    "build:nix": "electron-packager ./ patchwork --out=dist/linux --platform=linux --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/patchwork.icns --ignore=Patchwork.app",
18 18
     "pack": "npm run pack:osx && npm run pack:win",
19 19
     "pack:osx": "electron-builder \"dist/osx/Patchwork.app\" --platform=osx --out=\"dist/osx\" --config=packager.json",
20 20
     "pack:win": "electron-builder \"dist/win/Patchwork-win32\" --platform=win --out=\"dist/win\" --config=packager.json"

Loading…
Cancel
Save