summaryrefslogtreecommitdiff
path: root/defaults/assets/prepare.sh
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-02-08 18:49:37 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-02-08 18:49:37 -0500
commit2ad099fb1c6e951bf151284c987e7d3208410a7f (patch)
treeef07033d82ecbca910225f2e17ec2b9cd734c44a /defaults/assets/prepare.sh
parent11e86aa9da41e3f19eded2eec3f046f08dd1c3da (diff)
downloadDecky-Framegen-2ad099fb1c6e951bf151284c987e7d3208410a7f.tar.gz
Decky-Framegen-2ad099fb1c6e951bf151284c987e7d3208410a7f.zip
feat: add xess back in, fix script and path check
Diffstat (limited to 'defaults/assets/prepare.sh')
-rwxr-xr-xdefaults/assets/prepare.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/defaults/assets/prepare.sh b/defaults/assets/prepare.sh
index f41dfe7..e09abee 100755
--- a/defaults/assets/prepare.sh
+++ b/defaults/assets/prepare.sh
@@ -4,7 +4,7 @@ set -x # Enable debugging
exec > >(tee -i /tmp/prepare.log) 2>&1 # Log output and errors
mod_path="$HOME/fgmod"
-# bin_path="$(dirname "$(realpath "$0")")/../bin"
+bin_path="$(dirname "$(realpath "$0")")/../bin"
assets_path="$(dirname "$(realpath "$0")")"
standalone=1
@@ -16,8 +16,8 @@ fi
mkdir -p "$mod_path"
cd "$mod_path" || exit 1
-# Copy required files from bin directory into the current directory
-cp "$assets_path/assets.zip" .
+# Copy all files from bin directory into the current directory
+cp "$bin_path"/* .
# Unzip assets.zip so that all files are in the modpath root, then remove the zip file
unzip -j -o assets.zip && rm assets.zip