diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-01-22 20:10:48 -0500 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-01-22 20:10:48 -0500 |
| commit | dbbb342afa78c824e25a49ec679f725e44fe2fca (patch) | |
| tree | df3836eb50201f0081541e0f1302d87139a71dfa /assets/prepare.sh | |
| parent | 94bb49822beb9a525c9d29cf452cb6dd47b4fb2b (diff) | |
| download | Decky-Framegen-dbbb342afa78c824e25a49ec679f725e44fe2fca.tar.gz Decky-Framegen-dbbb342afa78c824e25a49ec679f725e44fe2fca.zip | |
python for prep script, clean up assets
Diffstat (limited to 'assets/prepare.sh')
| -rwxr-xr-x | assets/prepare.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/assets/prepare.sh b/assets/prepare.sh index debfede..57a1620 100755 --- a/assets/prepare.sh +++ b/assets/prepare.sh @@ -9,20 +9,13 @@ fakenvapiver=v1.2.0 standalone=1 if [[ -d "$mod_path" ]] && [[ ! $mod_path == . ]]; then - read -p "$mod_path already exists, override the old version? [y/N] " -n 1 -r </dev/tty - echo - if [[ $REPLY =~ ^[Yy]$ ]]; then - rm -r "$mod_path" - else - echo Aborting... - exit 1 - fi + rm -r "$mod_path" fi # In case script gets ran from a different directory cd $(dirname "$0") -mkdir "$mod_path" +mkdir -p "$mod_path" if [[ ! $standalone -eq 0 ]]; then [[ -f fgmod.sh ]] && cp fgmod.sh "$mod_path/fgmod" || exit 1 [[ -f fgmod-uninstaller.sh ]] && cp fgmod-uninstaller.sh "$mod_path" || exit 1 |
