-
Notifications
You must be signed in to change notification settings - Fork 11
Compiling from source
Thiago Araújo edited this page Nov 2, 2023
·
1 revision
You dont believe in my .exe files? :(
Go to /DiscordRPC and execute it using pyinstaller:
pyinstaller.exe main.py --name hoi4Presence --noconsole --clean
Don't compile in one file, it wont work.
The batch is for executing the presence without doing it yourself.
In launcher-settings.json
(in your game folder), change exePath:
"exePath": "runRPC.bat",
If the save game folder isn't in your documents folder
change the line in runRPC.bat
manually.
in settings.txt, (in your save folder) change:
save_as_binary=no
and you're done.