-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dev/patcher-core
- Loading branch information
Showing
209 changed files
with
25,311 additions
and
14,524 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 |
---|---|---|
|
@@ -8,4 +8,4 @@ webui/dist | |
*.plugin.js | ||
*Plugin.js | ||
packaging/livesplit-node-client/build | ||
webstorm.config.js | ||
tests/testData/scripts |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Thanks for contributing to Peacock! Here's a bit of a template to help make sure everything relevant is covered. --> | ||
|
||
## Scope | ||
|
||
<!-- List any relevant changes you have made here. Be sure to link any issues fixed, or that are relevant to these changes. --> | ||
|
||
## Test Plan | ||
|
||
<!-- List how you have verified these changes work as intended. --> | ||
|
||
## Checklist | ||
|
||
<!-- | ||
Just a few reminders to make sure everything is perfect. You can place an "X" in the boxes to tick them off. | ||
If you have not completed one of the steps below, you can create the pull request as a draft, and then check off the items as you go. | ||
When you have completed the checklist, press the "Ready for review" button. | ||
--> | ||
|
||
- [ ] I have run Prettier to reformat any changed files | ||
- [ ] I have verified my changes work |
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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: Update Localisation Mod | ||
|
||
on: | ||
push: | ||
tags: ["v*"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-mod: | ||
name: Update Mod | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout Peacock | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PEACOCKBOT_TOKEN }} | ||
path: "./Peacock" | ||
|
||
- name: Checkout Peacock Strings | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PEACOCKBOT_TOKEN }} | ||
repository: thepeacockproject/peacock-strings | ||
path: "./PeacockStrings" | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: "./Peacock/.nvmrc" | ||
cache: "yarn" | ||
cache-dependency-path: "./Peacock/yarn.lock" | ||
|
||
- name: Install Packages | ||
run: | | ||
cd Peacock | ||
yarn install --immutable | ||
#- name: Download ResourceLib | ||
# uses: robinraju/[email protected] | ||
# with: | ||
# repository: "OrfeasZ/ZHMTools" | ||
# latest: true | ||
# fileName: "ResourceLib-win-x64.zip" | ||
# out-file-path: "Peacock/resources" | ||
|
||
- name: Download RPKG-CLI | ||
id: rpkgcli | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: "glacier-modding/RPKG-Tool" | ||
latest: true | ||
fileName: "rpkg_*-cli.zip" | ||
out-file-path: "Peacock/resources" | ||
|
||
- name: Download HMLanguageTools | ||
id: hmlt | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: "AnthonyFuller/TonyTools" | ||
latest: true | ||
fileName: "TonyTools.zip" | ||
out-file-path: "Peacock/resources" | ||
|
||
- name: Unzip dependencies | ||
run: | | ||
cd Peacock/resources | ||
7z x ${{ fromJson(steps.rpkgcli.outputs.downloaded_files)[0] }} | ||
7z x ${{ fromJson(steps.hmlt.outputs.downloaded_files)[0] }} | ||
- name: Rebuild Locale Packages | ||
run: | | ||
cd Peacock | ||
yarn rebuild-locale | ||
- name: Copy peacockstrings.locr.json | ||
run: | | ||
copy ./Peacock/resources/peacockstrings.locr.json ./PeacockStrings/content/chunk0/peacockstrings.locr.json | ||
- name: Push updated Peacock LOCR | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
cwd: "./PeacockStrings" | ||
add: content/chunk0/peacockstrings.locr.json | ||
author_name: PeacockBot | ||
author_email: [email protected] | ||
message: "enhancement: update strings" |
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: Localisation | |
|
||
on: | ||
push: | ||
branches: ["v*"] | ||
branches: ["master"] | ||
paths: ["resources/locale.json", ".github/workflows/locale.yml"] | ||
workflow_dispatch: | ||
|
||
|
@@ -18,13 +18,6 @@ jobs: | |
token: ${{ secrets.PEACOCKBOT_TOKEN }} | ||
path: "./Peacock" | ||
|
||
- name: Checkout Peacock Strings | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PEACOCKBOT_TOKEN }} | ||
repository: thepeacockproject/peacock-strings | ||
path: "./PeacockStrings" | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
@@ -47,7 +40,7 @@ jobs: | |
|
||
- name: Download RPKG-CLI | ||
id: rpkgcli | ||
uses: robinraju/release-downloader@v1.9 | ||
uses: robinraju/release-downloader@v1.10 | ||
with: | ||
repository: "glacier-modding/RPKG-Tool" | ||
latest: true | ||
|
@@ -56,7 +49,7 @@ jobs: | |
|
||
- name: Download HMLanguageTools | ||
id: hmlt | ||
uses: robinraju/release-downloader@v1.9 | ||
uses: robinraju/release-downloader@v1.10 | ||
with: | ||
repository: "AnthonyFuller/TonyTools" | ||
latest: true | ||
|
@@ -84,16 +77,3 @@ jobs: | |
author_name: PeacockBot | ||
author_email: [email protected] | ||
message: "[skip ci] Update locale packages" | ||
|
||
- name: Copy peacockstrings.locr.json | ||
run: | | ||
copy ./Peacock/resources/peacockstrings.locr.json ./PeacockStrings/content/chunk0/peacockstrings.locr.json | ||
- name: Push updated Peacock LOCR | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
cwd: "./PeacockStrings" | ||
add: content/chunk0/peacockstrings.locr.json | ||
author_name: PeacockBot | ||
author_email: [email protected] | ||
message: "enhancement: update strings" |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 +1 @@ | ||
v20.10.0 | ||
v20.12.2 |
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
Oops, something went wrong.