mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
Update NonSteamLaunchers.sh
This commit is contained in:
parent
9b0f0681f5
commit
16f0679ebc
@ -1660,7 +1660,7 @@ python setup.py install --prefix=~/Downloads/NonSteamLaunchersInstallation
|
||||
|
||||
|
||||
# Find all shortcuts.vdf files
|
||||
shortcuts_vdf_paths=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex '.*/[0-9]{9,10}/config' -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;)
|
||||
shortcuts_vdf_paths=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex ".*/[0-9]{9,10}/config" -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;)
|
||||
|
||||
# Set the current date
|
||||
current_date=$(date +%s)
|
||||
@ -1694,7 +1694,7 @@ if [[ -n "$shortcuts_vdf_path" ]]; then
|
||||
cp "$shortcuts_vdf_path" "$shortcuts_vdf_path.bak"
|
||||
else
|
||||
# Find the config directory
|
||||
config_dir=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex '.*/[0-9]{9,10}/config' -not -path "*/0/*" -not -path "*/anonymous/*")
|
||||
config_dir=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex ".*/[0-9]{9,10}/config" -not -path "*/0/*" -not -path "*/anonymous/*")
|
||||
|
||||
# Check if config_dir is not empty
|
||||
if [[ -n "$config_dir" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user