HereInPlainSight / gshade_installer

GShade Installer / Updater Bash Script for Linux
GNU General Public License v3.0
59 stars 18 forks source link

Presets fail to update #8

Closed LeSnake04 closed 3 years ago

LeSnake04 commented 3 years ago

It seems like $installDir is not set, since its trys to install to /gshade-presets, which just doesnt seem right


Welcome to GShade!  Please select an option:
        1) Check for an update to GShade
        2) Install to a custom game
        P) Update presets
        F) Attempt auto-install for FFXIV
        B) Create a backup of existing GShade game installations
        S) Show games GShade is installed to
        L) Change GShade's language
        R) Remove game from installed games list
        D) Delete GShade from game and remove from list
        0) Redownload compilers
        Q) Quit
Performing backup...cp: cannot stat '/GShade.ini': No such file or directory
cp: cannot stat '/gshade-presets': No such file or directory
cp: cannot create directory '/gshade-presets': Permission denied
Updating presets...SSL_INIT
SSL_INIT
cp: cannot create directory '/gshade-presets': Permission denied
Done!
HereInPlainSight commented 3 years ago

This may have just been resolved by Maia-Everett's commit. Can you update the script and Show games GShade is installed to and re-try? If it still happens, please screenshot the list and the errors again, please. Apologies for the slow response!

LeSnake04 commented 3 years ago

Yeah, Its fixed it. Now it removes the missing installation!


Welcome to GShade!  Please select an option:
        1) Check for an update to GShade
        2) Install to a custom game
        P) Update presets
        F) Attempt auto-install for FFXIV
        B) Create a backup of existing GShade game installations
        S) Show games GShade is installed to
        L) Change GShade's language
        R) Remove game from installed games list
        D) Delete GShade from game and remove from list
        0) Redownload compilers
        Q) Quit
> 1
Up to date.
> p
Game installation "" not found, removed from list.
Updating presets...SSL_INIT
SSL_INIT
Done!