mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2025-02-22 12:47:12 +01:00
Update NSLGameScanner.py
This commit is contained in:
parent
a8dcf988df
commit
cfcbfc22df
@ -396,23 +396,21 @@ def create_steam_store_app_manifest_file(steam_store_appid, steam_store_game_nam
|
||||
return
|
||||
|
||||
# Prepare the appmanifest data
|
||||
app_manifest_data = f"""
|
||||
"AppState"
|
||||
{{
|
||||
"appid" "{steam_store_appid}"
|
||||
"Universe" "1"
|
||||
"StateFlags" "0"
|
||||
"installdir" "{steam_store_game_name}"
|
||||
}}
|
||||
"""
|
||||
app_manifest_data = {
|
||||
"AppState": {
|
||||
"AppID": str(steam_store_appid),
|
||||
"Universe": "1",
|
||||
"installdir": steam_store_game_name,
|
||||
"StateFlags": "0"
|
||||
}
|
||||
}
|
||||
|
||||
# Write the manifest to the file
|
||||
with open(appmanifest_path, 'w') as file:
|
||||
file.write(app_manifest_data.strip())
|
||||
json.dump(app_manifest_data, file, indent=2)
|
||||
|
||||
print(f"Created appmanifest file at: {appmanifest_path}")
|
||||
|
||||
|
||||
# Add or update the proton compatibility settings
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user