Skip to content

Commit

Permalink
Merge pull request #61 from ZyqGitHub1/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ZyqGitHub1 authored Sep 19, 2019
2 parents bf94976 + e8e8a43 commit f4698fd
Show file tree
Hide file tree
Showing 8 changed files with 719 additions and 502 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ script:
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "npm install && npm run electron:build -- --bundler builder --target linux"
ls dist/electron/Packaged/
linux_file=`ls dist/electron/Packaged/ | grep '.AppImage$'`
./ossutil64 cp "dist/electron/Packaged/${linux_file}" "${BUCKET}/${linux_file}" -f
Expand All @@ -59,10 +60,14 @@ script:
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "npm install && npm run electron:build -- --bundler builder --target win"
win_file=`ls dist/electron/Packaged/ | grep '.zip$'`
./ossutil64 cp "dist/electron/Packaged/${win_file}" "${BUCKET}/${win_file}" -f
ls dist/electron/Packaged/
for i in `ls dist/electron/Packaged/ | grep 'win.zip$'`;
do
./ossutil64 cp "dist/electron/Packaged/$i" "${BUCKET}/$i" -f
done
else
npm run electron:build
ls dist/electron/Packaged/
osx_file=`ls dist/electron/Packaged/ | grep '.dmg$'`
./ossutilmac64 cp "dist/electron/Packaged/${osx_file}" "${BUCKET}/${osx_file}" -f
fi
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "h-player",
"version": "0.9.4",
"version": "0.9.5",
"description": "A Quasar Framework app",
"productName": "h-player",
"cordovaId": "org.cordova.quasar.app",
Expand Down Expand Up @@ -29,6 +29,7 @@
"vue-i18n": "^8.14.1",
"vue-navigation": "^1.1.4",
"vue-rx": "^6.2.0",
"vuedraggable": "^2.23.0",
"xml2js": "^0.4.22"
},
"devDependencies": {
Expand Down
10 changes: 9 additions & 1 deletion quasar.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,15 @@ module.exports = function (ctx) {
target: 'dmg',
},
win: {
target: 'zip',
target: [
{
target: 'zip',
arch: [
'x64',
'ia32',
],
},
],
},
linux: {
target: 'AppImage',
Expand Down
Loading

0 comments on commit f4698fd

Please sign in to comment.