mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 16:19:19 +01:00
removed check
This commit is contained in:
parent
c50461d2e0
commit
f34088d4ae
@ -914,11 +914,6 @@ if not os.path.exists(PIPE_PATH):
|
|||||||
# Create the named pipe
|
# Create the named pipe
|
||||||
os.mkfifo(PIPE_PATH)
|
os.mkfifo(PIPE_PATH)
|
||||||
|
|
||||||
# Define the directory path
|
|
||||||
dir_path = f"{logged_in_home}/homebrew/plugins/NonSteamLaunchers/"
|
|
||||||
|
|
||||||
# Check if the directory exists
|
|
||||||
if not os.path.exists(dir_path):
|
|
||||||
# Only write back to the shortcuts.vdf and config.vdf files if new shortcuts were added or compattools changed
|
# Only write back to the shortcuts.vdf and config.vdf files if new shortcuts were added or compattools changed
|
||||||
if new_shortcuts_added or shortcuts_updated:
|
if new_shortcuts_added or shortcuts_updated:
|
||||||
print(f"Saving new config and shortcuts files")
|
print(f"Saving new config and shortcuts files")
|
||||||
@ -937,7 +932,6 @@ if not os.path.exists(dir_path):
|
|||||||
config['controller_config'][str(app_id)] = {
|
config['controller_config'][str(app_id)] = {
|
||||||
'workshop': 'workshop_id'
|
'workshop': 'workshop_id'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Add new entries for the installed launchers and games
|
# Add new entries for the installed launchers and games
|
||||||
config['controller_config']['epic games'] = {
|
config['controller_config']['epic games'] = {
|
||||||
'workshop': '2800178806'
|
'workshop': '2800178806'
|
||||||
@ -1049,3 +1043,5 @@ if not os.path.exists(dir_path):
|
|||||||
pipe.write(message + '\n') # Write to the pipe
|
pipe.write(message + '\n') # Write to the pipe
|
||||||
|
|
||||||
print("All finished!")
|
print("All finished!")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user