Skip to content

Commit

Permalink
added a portable build
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Sep 22, 2018
1 parent dc86478 commit 5c2003c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ build_script:

artifacts:
- path: 'dist\win\*.exe'
- path: 'dist\*.exe'
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
]
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const vars = require('./vars')

builder({
dir: true,
win: ['squirrel'],
win: ['squirrel', 'portable'],
config: {
extraMetadata: {
version: vars.version,
Expand Down

0 comments on commit 5c2003c

Please sign in to comment.