Reorganized ipfs making it easier to update.

This commit is contained in:
Storm Dragon
2026-01-08 14:54:01 -05:00
parent 4c3b5ee468
commit 1c1046c43b
61 changed files with 129 additions and 66 deletions

View File

@@ -421,7 +421,7 @@ create_game_array() {
update_nvda_dlls() {
# Ensure we have the replacement DLLs
source "${scriptDir}/.includes/functions.sh"
download "${nvdaControllerClientDll}" "${nvdaControllerClient64Dll}"
download "${nvdaControllerClient32Dll}" "${nvdaControllerClient64Dll}"
# Update wine64 bottle (most common)
if [[ -d "$HOME/.local/wine64" ]]; then
@@ -607,9 +607,6 @@ unset manualInstall
unset version
# ipfs gateway
export ipfsGateway="${ipfsGateway:-https://ipfs.stormux.org}"
export nvdaControllerClientDll="${ipfsGateway}/ipfs/Qmd1JXdDoKJVnoaQssDiBgRpbgwKUwdJigiPw8iiYro3vt?filename=nvdaControllerClient32.dll"
export nvdaControllerClient64Dll="${ipfsGateway}/ipfs/QmcPoBTm6eCFF4R4uUc1of3rtrqMVx3HFN1U1jHosay8EX?filename=nvdaControllerClient64.dll"
export nvda2speechdBinary="${ipfsGateway}/ipfs/QmPxhoNsoFoJC7bCfioBBCcK8tEoSoYpm342z6u7KjFsVz?filename=nvda2speechd"
# nvda2speechd server startup is now handled in game_launcher()
@@ -622,6 +619,11 @@ source "${scriptDir}/.includes/functions.sh"
source "${scriptDir}/.includes/help.sh"
source "${scriptDir}/.includes/update.sh"
# Set NVDA controller client DLLs from centralized ipfs array
export nvdaControllerClient32Dll="${ipfs[nvdaControllerClient32]}"
export nvdaControllerClient64Dll="${ipfs[nvdaControllerClient64]}"
export nvda2speechdBinary="${ipfs[nvda2speechd]}"
# Check minimum requirements
check_requirements || exit 1
# Wine32 no longer needed - all games use wine64 with SAPI support via WINETRICKS_FORCE=1