mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2025-02-23 05:07:14 +01:00
Add files via upload
This commit is contained in:
parent
22fde21e9c
commit
d120f7cb23
@ -395,18 +395,20 @@ def create_steam_store_app_manifest_file(steam_store_appid, steam_store_game_nam
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Prepare the appmanifest data
|
# Prepare the appmanifest data
|
||||||
app_manifest_data = {
|
app_manifest_data = f"""
|
||||||
"AppState": {
|
"AppState"
|
||||||
"AppID": str(steam_store_appid),
|
{{
|
||||||
"Universe": "1",
|
"appid" "{steam_store_appid}"
|
||||||
"installdir": steam_store_game_name,
|
"Universe" "1"
|
||||||
"StateFlags": "0"
|
"name" "{steam_store_game_name}"
|
||||||
}
|
"StateFlags" "0"
|
||||||
}
|
"installdir" "{steam_store_game_name}"
|
||||||
|
}}
|
||||||
|
"""
|
||||||
|
|
||||||
# Write the manifest to the file
|
# Write the manifest to the file
|
||||||
with open(appmanifest_path, 'w') as file:
|
with open(appmanifest_path, 'w') as file:
|
||||||
json.dump(app_manifest_data, file, indent=2)
|
file.write(app_manifest_data.strip())
|
||||||
|
|
||||||
print(f"Created appmanifest file at: {appmanifest_path}")
|
print(f"Created appmanifest file at: {appmanifest_path}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user