Update mod_ac_loadout_puller.py

This commit is contained in:
Shredmetal 2023-12-19 18:44:01 +08:00 committed by GitHub
parent 2108fc4b26
commit c29a368e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
import os
# save DCS.openbeta\\mods\\aircraft path as variable (you will need to put in the path to your own directory)
path = "C:\\Users\\USERNAME\\Saved Games\\DCS.openbeta\\Mods\\aircraft"
path = f"{os.environ['UserProfile']}\\Saved Games\\DCS.openbeta\\Mods\\aircraft"
# write everything to a working file - to be deleted after getting rid of unnecessary trailing commas
with open('working_file.lua', mode='w') as payload_file: