Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengyangliu committed Jul 11, 2024
1 parent 81e3ec3 commit 9844c0e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./dist/OpenBlock-ExternalResources*"
file: "./dist/OpenBlock-External-Resources*"
update_latest_release: true

build-mac:
needs: create-release
Expand All @@ -147,7 +148,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./dist/OpenBlock-ExternalResources*"
file: "./dist/OpenBlock-External-Resources*"
update_latest_release: true

build-linux:
needs: create-release
Expand All @@ -169,4 +171,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "./dist/OpenBlock-ExternalResources*"
file: "./dist/OpenBlock-External-Resources*"
update_latest_release: true
2 changes: 1 addition & 1 deletion buildResources/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ INSTALL_SIZE=$(find $BUILD_DIR/ -type f -not -path "$BUILD_DIR/DEBIAN/*" -exec d
sed -i "s/^Installed-Size: .*/Installed-Size: $INSTALL_SIZE/" $BUILD_DIR/DEBIAN/control
sed -i "s/^Version: .*/Version: $VERSION/" $BUILD_DIR/DEBIAN/control

dpkg-deb -b $BUILD_DIR "./dist/OpenBlock-ExternalResources-v$VERSION.deb"
dpkg-deb -b $BUILD_DIR "./dist/OpenBlock-External-Resources-v$VERSION.deb"
2 changes: 1 addition & 1 deletion buildResources/build-pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ pkgbuild --root ./ \
--install-location ~/Library/OpenBlockExternalResources \
--ownership recommended \
--scripts buildResources/mac-scripts \
./dist/OpenBlock-ExternalResources-v$VERSION.pkg
./dist/OpenBlock-External-Resources-v$VERSION.pkg
4 changes: 2 additions & 2 deletions buildResources/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
AppName=OpenBlock External Resources Installer
AppVersion={#Version}
DefaultDirName=C:\OpenBlockExternalResources
OutputDir=./dist
OutputBaseFilename=OpenBlock-ExternalResources-v{#Version}
OutputDir=../dist
OutputBaseFilename=OpenBlock-External-Resources-v{#Version}
PrivilegesRequired=admin

[Files]
Expand Down

0 comments on commit 9844c0e

Please sign in to comment.