WARNING! Possibly horribly broken. For stability, switch to master branch. Completely changed the way the installer system works.

This commit is contained in:
Storm Dragon
2024-12-13 05:06:58 -05:00
parent 407cc8985b
commit b804d48188
204 changed files with 1732 additions and 2128 deletions

11
.install/Code Dungeon.sh Normal file
View File

@ -0,0 +1,11 @@
get_installer "codedungeon-win-64.zip" "https://stealcase.itch.io/codedungeon"
download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll"
export WINEARCH=win64
export winVer="win8"
install_wine_bottle
unzip -d "$WINEPREFIX/drive_c/Program Files/code-dungeon" "${cache}/codedungeon-win-64.zip"
# Weird work around to get keyboard working.
winetricks -q usetakefocus=y
winetricks -q usetakefocus=n
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \;
add_launcher "c:\Program Files\code-dungeon\Code Dungeon.exe"