diff options
| author | JSON Derulo <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-01-28 12:12:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 12:12:49 -0500 |
| commit | ac809d88c455a96b00d2b0afae79b38da53bb32d (patch) | |
| tree | 947f0ef5e710a495c5909ba17f0eb281563e5629 /assets | |
| parent | 709062d93cec154abed768a0dde1122bb4d79a6a (diff) | |
| parent | 9dfbe191da4e498e3dd7d00e29b9258779a652c4 (diff) | |
| download | Decky-Framegen-ac809d88c455a96b00d2b0afae79b38da53bb32d.tar.gz Decky-Framegen-ac809d88c455a96b00d2b0afae79b38da53bb32d.zip | |
Merge pull request #6 from DGdev91/non-steamdeck-support
Enhancements to make the plugin work on non-SteamOS distros
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/fgmod-remover.sh | 6 | ||||
| -rwxr-xr-x | assets/prepare.sh | 6 |
2 files changed, 6 insertions, 6 deletions
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 diff --git a/assets/prepare.sh b/assets/prepare.sh index 13f6ff0..573b1a9 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/lib64:$LD_LIBRARY_PATH" else echo "Failed to configure OpenSSL for curl. Exiting." exit 1 |
