From 1787d56aeb91eb901d5e89fd9e9d1e045340b09c Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 2 Sep 2026 16:02:11 -0400 Subject: [PATCH] Include the ipfs file. --- .includes/gamemode.sh | 9 +++++++++ .includes/ipfs.sh | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 .includes/gamemode.sh create mode 100644 .includes/ipfs.sh diff --git a/.includes/gamemode.sh b/.includes/gamemode.sh new file mode 100644 index 0000000..c305776 --- /dev/null +++ b/.includes/gamemode.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +run_with_optional_gamemode() { + if command -v gamemoderun &> /dev/null; then + gamemoderun "$@" + else + "$@" + fi +} diff --git a/.includes/ipfs.sh b/.includes/ipfs.sh new file mode 100644 index 0000000..fe16729 --- /dev/null +++ b/.includes/ipfs.sh @@ -0,0 +1,7 @@ +# shellcheck shell=bash disable=SC2034,SC2154 +# Central repository for IPFS game download URLs + +declare -Ag ipfs=( + # Games (alphabetical order) + [FreeDoom]="${ipfsGateway}/ipfs/QmU6REFot8CGVSBy2YWQxnmXoh7M4EF74RxFtLzvtJxoGC?filename=toby_doom_9.0_full.zip" +)