-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add cmds for new cheats (big head, big fist, mirror, no textures, etc) #26
Conversation
python -c "import sysconfig; print(sysconfig.get_path('purelib') + '\\ahk')" > tmpFile | ||
set /p PYSITEPKG_DIR= < tmpFile | ||
DEL tmpFile | ||
pyinstaller --onefile resources\twitchcommands.py --add-data %PYSITEPKG_DIR%;ahk --icon resources\appicon.ico |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My site-packages folder was in a different location, this should be more generic - I needed to make a similar change for the launcher here
DEL /S /Q "%mypath%OPENGOALTWITCHv0.1.backup.exe" | ||
RENAME "%mypath%OPENGOALTWITCHv0.1.exe" "OPENGOALTWITCHv0.1.backup.exe" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it kept failing to overwrite the old exe for me, so I just moved it to a backup file
resources/twitchcommands.py
Outdated
if(exists(".env")): | ||
shutil.remove(".env") | ||
os.replace(".env.txt", ".env") | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think my VSCode must've done some whitespace stuff...
|
||
if PREFIX + "mirror" == str(args[0]).lower() and on_check("mirror") and cd_check("mirror"): | ||
active_check("mirror", | ||
"(begin (logior! (-> *pc-settings* cheats) (pc-cheats mirror)) (logclear! (-> *pc-settings* cheats-known) (pc-cheats mirror)))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this turns on the cheat, and also hides it from the cheat menu so player can't go and turn it off 😈
- Added some commands back i missed
No description provided.