Skip to content

Commit

Permalink
feat: 更新 v0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Oct 17, 2023
1 parent 6c2a04f commit 83e92bd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
id: get_version
run: |
TAG=$(basename ${GITHUB_REF})
echo "::set-output name=TAG::$TAG"
echo "TAG=${TAG}" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: release-drafter/release-drafter@v5
Expand All @@ -47,4 +47,6 @@ jobs:
with:
draft: true
files: |
build/*.exe
build/*.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 17 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "jumperver_video_player",
"version": "0.1.9",
"version": "0.1.10",
"author": "OrangeM21 <[email protected]>",
"description": "An electron-vue project",
"license": null,
"main": "./dist/electron/main.js",
"scripts": {
"build": "node .electron-vue/build.js && electron-builder",
"build": "node .electron-vue/build.js && electron-builder --publish never",
"build:dir": "node .electron-vue/build.js && electron-builder --dir",
"build:win": "node .electron-vue/build.js && electron-builder --win",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
Expand Down Expand Up @@ -56,16 +56,29 @@
]
},
"mac": {
"icon": "build/icons/player.icns"
"icon": "build/icons/player.icns",
"artifactName": "VideoPlayer-${platform}-${arch}-${version}.${ext}",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"category": "public.app-category.utilities"
},
"win": {
"icon": "build/icons/player.ico",
"artifactName": "VideoPlayer-${platform}-${arch}-${version}.${ext}",
"target": [
{
"target": "nsis",
"arch": [
"ia32",
"x64",
"ia32"
"arm64"
]
}
]
Expand Down

0 comments on commit 83e92bd

Please sign in to comment.