-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
33 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,35 +104,6 @@ jobs: | |
name: mac-b${{ github.run_number }}-arm64 | ||
path: | | ||
xmcl-electron-app/build/output/mac-arm64/ | ||
- name: Prepare Windows Asar | ||
if: ${{ runner.os == 'Windows' && startsWith(github.event.head_commit.message, 'chore(release)') }} | ||
run: | | ||
mkdir asar | ||
mv xmcl-electron-app/build/output/app.asar asar/app-win.asar | ||
mv xmcl-electron-app/build/output/app.asar.sha256 asar/app-win.asar.sha256 | ||
- name: Prepare macOS Asar | ||
if: ${{ runner.os == 'macOS' && startsWith(github.event.head_commit.message, 'chore(release)') }} | ||
run: | | ||
mkdir asar | ||
mv "xmcl-electron-app/build/output/app.asar" asar/app-mac.asar | ||
mv "xmcl-electron-app/build/output/app-arm64.asar" asar/app-mac-arm64.asar | ||
mv "xmcl-electron-app/build/output/app.asar.sha256" asar/app-mac.asar.sha256 | ||
mv "xmcl-electron-app/build/output/app-arm64.asar.sha256" asar/app-mac-arm64.asar.sha256 | ||
- name: Prepare Linux Asar | ||
if: ${{ runner.os == 'Linux' && startsWith(github.event.head_commit.message, 'chore(release)') }} | ||
run: | | ||
mkdir asar | ||
mv xmcl-electron-app/build/output/app.asar asar/app-linux.asar | ||
mv xmcl-electron-app/build/output/app-arm64.asar asar/app-linux-arm64.asar | ||
mv xmcl-electron-app/build/output/app.asar.sha256 asar/app-linux.asar.sha256 | ||
mv xmcl-electron-app/build/output/app-arm64.asar.sha256 asar/app-linux-arm64.asar.sha256 | ||
- name: Upload Asar | ||
if: ${{ startsWith(github.event.head_commit.message, 'chore(release)') }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build | ||
path: | | ||
asar/*.* | ||
prepare-release: | ||
runs-on: ubuntu-latest | ||
|
@@ -231,18 +202,6 @@ jobs: | |
git config user.email [email protected] | ||
git tag -f ${{ steps.prepare_release.outputs.tag }} | ||
git push origin tag ${{ steps.prepare_release.outputs.tag }} -f | ||
- name: Rename asar | ||
run: | | ||
mv ./build/app-win.asar ./build/app-${{ steps.prepare_release.outputs.version }}-win.asar | ||
mv ./build/app-mac.asar ./build/app-${{ steps.prepare_release.outputs.version }}-mac.asar | ||
mv ./build/app-mac-arm64.asar ./build/app-${{ steps.prepare_release.outputs.version }}-mac-arm64.asar | ||
mv ./build/app-linux.asar ./build/app-${{ steps.prepare_release.outputs.version }}-linux.asar | ||
mv ./build/app-linux-arm64.asar ./build/app-${{ steps.prepare_release.outputs.version }}-linux-arm64.asar | ||
mv ./build/app-win.asar.sha256 ./build/app-${{ steps.prepare_release.outputs.version }}-win.asar.sha256 | ||
mv ./build/app-mac.asar.sha256 ./build/app-${{ steps.prepare_release.outputs.version }}-mac.asar.sha256 | ||
mv ./build/app-mac-arm64.asar.sha256 ./build/app-${{ steps.prepare_release.outputs.version }}-mac-arm64.asar.sha256 | ||
mv ./build/app-linux.asar.sha256 ./build/app-${{ steps.prepare_release.outputs.version }}-linux.asar.sha256 | ||
mv ./build/app-linux-arm64.asar.sha256 ./build/app-${{ steps.prepare_release.outputs.version }}-linux-arm64.asar.sha256 | ||
- name: Emit Version File | ||
run: | | ||
echo ${{ steps.prepare_release.outputs.version }}.${{ github.run_number }} > ./build/version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "0.35.19", | ||
"version": "0.36.0", | ||
"private": true, | ||
"license": "MIT", | ||
"packageManager": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "xmcl", | ||
"private": true, | ||
"main": "./index.js", | ||
"version": "0.35.19", | ||
"version": "0.36.0", | ||
"author": "ci010 <[email protected]>", | ||
"description": "A great minecraft launcher in the future", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@xmcl/keystone-ui", | ||
"private": true, | ||
"productName": "xmcl", | ||
"version": "0.34.15", | ||
"version": "0.35.0", | ||
"author": "ci010 <[email protected]>", | ||
"description": "A great minecraft launcher in the future", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@xmcl/runtime-api", | ||
"version": "0.19.5", | ||
"version": "0.20.0", | ||
"author": "ci010 <[email protected]>", | ||
"description": "Shared API for between launcher renderer & main process", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@xmcl/runtime", | ||
"private": true, | ||
"version": "0.33.15", | ||
"version": "0.34.0", | ||
"author": "ci010 <[email protected]>", | ||
"description": "The runtime for x minecraft launcher in nodejs", | ||
"license": "MIT", | ||
|