-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change file location in batchFile if setup.py installs in another folder #5
Comments
Pinning due to a higher priority |
Probably rewriting the path using the installer can solve it |
Setting a var and editing in python can solve it. https://stackoverflow.com/questions/66453290/make-changes-to-a-bat-file-using-python set checkUpdatePath="pathtogame"
@REM Start checkupdate
start "hoi4RPC.exe" %checkUpdatePath% But I actually don't know if this is really an Issue, is there a possibility that https://forum.paradoxplaza.com/forum/threads/save-game-problem-with-onedrive.975580/ |
If game is on drive D, the batch file won't execute it. |
start "hoi4RPC.exe" "C:\Users\%USERNAME%\Documents\Paradox Interactive\Hearts of Iron IV\hoi4Presence\checkupdate.exe"
This drive name is fixed and needs to change like setup.py changes the installation.
We fix this issue making setup.py rewrite this line and making it point to the exact location.
Both for presence path and checkupdate path
The text was updated successfully, but these errors were encountered: