Skip to content

Commit

Permalink
Convert audio to MP3 format to reduce size & Add notice for pull requ…
Browse files Browse the repository at this point in the history
…est CI

Signed-off-by: yjf2002ghty <47345902+yjf2002ghty@users.noreply.github.com>
  • Loading branch information
yjf2002ghty committed Dec 8, 2024
1 parent d3a60a4 commit 3527167
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,9 @@ jobs:
title: "Fairyground Download Notice"
info: "Choose the version that matches your platform (i.e. CPU architecture and operating system).\n\"Fairyground-Script-AllPlatform\" is a script version that theorically supports all platforms but you need to install node.js before running it (See HOW_TO_USE.txt in the archive).\nOther versions are provided with a binary executable and are portable.\n ❗ If you don't know which version to download or no version suits your platform (e.g. macOS), select \"Fairyground-Script-AllPlatform\" and then follow HOW_TO_USE.txt in the archive."
warning: "All archives are double-packed in ZIP + 7ZIP(LZMA2) format. You will need an archive manager that supports both ZIP and 7ZIP(LZMA2) to extract them."

- uses: mholetzko/annotate_runs@1.0.1
if: github.event_name == 'pull_request'
with:
title: "Fairyground Download Notice"
warning: "This job is triggered by a pull request, which does not provide the one-click-to-run version. To download one-click-to-run version, find the jobs not triggered by pull requests by using the filter to search results with \"Event\" equals to \"push\" or \"workflow_dispatch\"."
8 changes: 4 additions & 4 deletions COPYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Files | Source | Author | License | Notes
--- | --- | --- | --- | ---
public/assets/images/pieces/merida/* | The [lila](https://github.com/ornicar/lila/tree/master/public/piece/merida) repository, the [pychess-variants](https://github.com/gbtami/pychess-variants/tree/master/static/images/pieces/merida) repository, [ffish-test](https://github.com/thearst3rd/ffish-test) | Armando Hernandez Marroquin | [GPLv2+], see [lila's COPYING.md](https://github.com/ornicar/lila/blob/master/COPYING.md) |
public/assets/images/pieces/cburnett/* | [wikimedia commons](https://commons.wikimedia.org/wiki/Category:SVG_chess_pieces) | various authors, main author cburnett | [CC BY-SA 3.0] |
public/assets/sound/thearst3rd/move.wav | [ffish-test](https://github.com/thearst3rd/ffish-test) | [Terry Hearst](https://github.com/thearst3rd) | [CC0] (Public Domain)
public/assets/sound/thearst3rd/capture.wav | [ffish-test](https://github.com/thearst3rd/ffish-test) | [Terry Hearst](https://github.com/thearst3rd) | [CC0] (Public Domain)
public/assets/sound/thearst3rd/check.wav | ["Notification 1_1"](https://freesound.org/people/Joao_Janz/sounds/478502/) on freesound.org | [Joao_Janz](https://freesound.org/people/Joao_Janz/) | [CC BY-NC 3.0]
public/assets/sound/thearst3rd/terminal.wav | ["Chord Alert Notification"](https://freesound.org/people/graham_makes/sounds/457518/) on freesound.org | [graham_makes](https://freesound.org/people/graham_makes/) | [CC BY 3.0]
public/assets/sound/thearst3rd/move.mp3 | [ffish-test](https://github.com/thearst3rd/ffish-test) | [Terry Hearst](https://github.com/thearst3rd) | [CC0] (Public Domain)
public/assets/sound/thearst3rd/capture.mp3 | [ffish-test](https://github.com/thearst3rd/ffish-test) | [Terry Hearst](https://github.com/thearst3rd) | [CC0] (Public Domain)
public/assets/sound/thearst3rd/check.mp3 | ["Notification 1_1"](https://freesound.org/people/Joao_Janz/sounds/478502/) on freesound.org | [Joao_Janz](https://freesound.org/people/Joao_Janz/) | [CC BY-NC 3.0]
public/assets/sound/thearst3rd/terminal.mp3 | ["Chord Alert Notification"](https://freesound.org/people/graham_makes/sounds/457518/) on freesound.org | [graham_makes](https://freesound.org/people/graham_makes/) | [CC BY 3.0]
public/assets/images/board/(blue\|green\|brown\|purple)/* & public/assets/chessground.css | [chessground-examples](https://github.com/ornicar/chessground-examples) and [pychess-variants](https://github.com/gbtami/pychess-variants) | Lichess contributors and pychess-variants contributors (???) | [GPLv3+] |
public/assets/fonts/FontAwesome.* | [Font Awesome](https://github.com/FortAwesome/Font-Awesome) | [fontawesome.com](https://fontawesome.com) | See [LICENSE](https://fontawesome.dashgame.com/#license) | Version 4.7.0
public/assets/images/board/(ataxx\|cannonshogi\|chak\|chennis\|dobutsu\|gorogoro\|ic\|janggi\|makruk\|minishogi\|minixiangqi\|sittuyin\|torishogi\|xiangqi)/* | [pychess-variants](https://github.com/gbtami/pychess-variants) | pychess-variants contributors (???) | [GPLv3+] |
Expand Down
Binary file added public/assets/sound/thearst3rd/capture.mp3
Binary file not shown.
Binary file removed public/assets/sound/thearst3rd/capture.wav
Binary file not shown.
Binary file added public/assets/sound/thearst3rd/check.mp3
Binary file not shown.
Binary file removed public/assets/sound/thearst3rd/check.wav
Binary file not shown.
Binary file added public/assets/sound/thearst3rd/move.mp3
Binary file not shown.
Binary file removed public/assets/sound/thearst3rd/move.wav
Binary file not shown.
Binary file added public/assets/sound/thearst3rd/terminal.mp3
Binary file not shown.
Binary file removed public/assets/sound/thearst3rd/terminal.wav
Binary file not shown.
8 changes: 4 additions & 4 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ const dropdownNotationSystem = document.getElementById("sannotation");
const pRandomMoverGo = document.getElementById("randommovergo");
const dropdownBoardCoordinate = document.getElementById("boardcoordinate");
const checkboxFischerRandom = document.getElementById("isfischerrandommode");
const soundMove = new Audio("assets/sound/thearst3rd/move.wav");
const soundCapture = new Audio("assets/sound/thearst3rd/capture.wav");
const soundCheck = new Audio("assets/sound/thearst3rd/check.wav");
const soundTerminal = new Audio("assets/sound/thearst3rd/terminal.wav");
const soundMove = new Audio("assets/sound/thearst3rd/move.mp3");
const soundCapture = new Audio("assets/sound/thearst3rd/capture.mp3");
const soundCheck = new Audio("assets/sound/thearst3rd/check.mp3");
const soundTerminal = new Audio("assets/sound/thearst3rd/terminal.mp3");
const files = [
"a",
"b",
Expand Down

0 comments on commit 3527167

Please sign in to comment.