From 09541fca5470d23bd393cfc0b52f254043eea8b1 Mon Sep 17 00:00:00 2001 From: DGdev91 Date: Tue, 28 Jan 2025 12:51:05 +0100 Subject: Modifed every reference to "/home/deck" to a generic home folder, should allow to run it on non-steamos linux distros --- assets/fgmod-remover.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/fgmod-remover.sh b/assets/fgmod-remover.sh index 32d4f71..1d12a18 100644 --- a/assets/fgmod-remover.sh +++ b/assets/fgmod-remover.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -# Remove /home/deck/fgmod directory if it exists -if [[ -d "/home/deck/fgmod" ]]; then - rm -rf "/home/deck/fgmod" +# Remove ~/fgmod directory if it exists +if [[ -d "$HOME/fgmod" ]]; then + rm -rf "$HOME/fgmod" fi # Remove specific files from ~/Downloads if they exist -- cgit v1.2.3 From 747eda1422f2eecc91eff9b8e098414af0a478f8 Mon Sep 17 00:00:00 2001 From: DGdev91 Date: Tue, 28 Jan 2025 13:15:02 +0100 Subject: Adding /usr/lib64 to OpenSSL checks, should help some distros like Fedora --- assets/prepare.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'assets') diff --git a/assets/prepare.sh b/assets/prepare.sh index 13f6ff0..457aac2 100755 --- a/assets/prepare.sh +++ b/assets/prepare.sh @@ -16,9 +16,9 @@ test_curl() { if test_curl "/usr/lib"; then echo "Using OpenSSL library path: /usr/lib" export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" -elif test_curl "/home/linuxbrew/.linuxbrew/lib"; then - echo "Using OpenSSL library path: /home/linuxbrew/.linuxbrew/lib" - export LD_LIBRARY_PATH="/home/linuxbrew/.linuxbrew/lib:$LD_LIBRARY_PATH" +elif test_curl "/usr/lib64"; then + echo "Using OpenSSL library path: /usr/lib64" + export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" else echo "Failed to configure OpenSSL for curl. Exiting." exit 1 -- cgit v1.2.3 From 9dfbe191da4e498e3dd7d00e29b9258779a652c4 Mon Sep 17 00:00:00 2001 From: DGdev91 Date: Tue, 28 Jan 2025 13:20:03 +0100 Subject: Adding missing "64" to the LD_LIBRARY_PATH row --- assets/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/prepare.sh b/assets/prepare.sh index 457aac2..573b1a9 100755 --- a/assets/prepare.sh +++ b/assets/prepare.sh @@ -18,7 +18,7 @@ if test_curl "/usr/lib"; then export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" elif test_curl "/usr/lib64"; then echo "Using OpenSSL library path: /usr/lib64" - export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" + export LD_LIBRARY_PATH="/usr/lib64:$LD_LIBRARY_PATH" else echo "Failed to configure OpenSSL for curl. Exiting." exit 1 -- cgit v1.2.3