Forráskód Böngészése

added a portable build

Eugene Pankov 7 éve
szülő
commit
5c2003cc2f
3 módosított fájl, 12 hozzáadás és 8 törlés
  1. 1 0
      appveyor.yml
  2. 10 7
      package.json
  3. 1 1
      scripts/build-windows.js

+ 1 - 0
appveyor.yml

@@ -24,3 +24,4 @@ build_script:
 
 artifacts:
   - path: 'dist\win\*.exe'
+  - path: 'dist\*.exe'

+ 10 - 7
package.json

@@ -79,11 +79,15 @@
       "icon": "./build/windows/icon.ico",
       "publish": [
         "github"
-      ]
+      ],
+      "artifactName": "terminus-${version}-setup.exe"
     },
     "squirrelWindows": {
       "iconUrl": "https://github.com/Eugeny/terminus/raw/master/build/windows/icon.ico",
-      "artifactName": "terminus-${version}-${os}-${arch}.exe"
+      "artifactName": "terminus-${version}-setup.exe"
+    },
+    "portable": {
+      "artifactName": "terminus-${version}-portable.exe"
     },
     "mac": {
       "category": "public.app-category.video",
@@ -96,11 +100,12 @@
       }
     },
     "dmg": {
-      "artifactName": "terminus-${version}-${os}-${arch}.dmg"
+      "artifactName": "terminus-${version}-macos.dmg"
     },
     "linux": {
       "category": "Utilities",
       "icon": "./build/icons",
+      "artifactName": "terminus-${version}-linux.${ext}",
       "publish": [
         "github"
       ]
@@ -115,15 +120,13 @@
         "libxtst6",
         "libnss3",
         "tmux"
-      ],
-      "artifactName": "terminus-${version}-${os}-${arch}.deb"
+      ]
     },
     "rpm": {
       "depends": [
         "screen",
         "gnome-python2-gnomekeyring"
-      ],
-      "artifactName": "terminus-${version}-${os}-${arch}.rpm"
+      ]
     }
   },
   "scripts": {

+ 1 - 1
scripts/build-windows.js

@@ -4,7 +4,7 @@ const vars = require('./vars')
 
 builder({
   dir: true,
-  win: ['squirrel'],
+  win: ['squirrel', 'portable'],
   config: {
     extraMetadata: {
       version: vars.version,