Last active
May 11, 2017 15:58
-
-
Save noidexe/819f4e2fa4760f7f63bd4239f22a39be to your computer and use it in GitHub Desktop.
Pyxel Edit License Fix (Windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
echo.================================= | |
echo.PYXEL EDIT LICENSE FIX BY NOIDEXE | |
echo.Gist at https://goo.gl/hXVb7q | |
echo.Remember to run as admin | |
echo.================================= | |
echo. | |
set licensefile="C:\Program Files\PyxelEdit\Settings\LicenseKey.txt" | |
set licensefilex64="C:\Program Files (x86)\PyxelEdit\Settings\LicenseKey.txt" | |
set exepath="C:\Program Files\PyxelEdit\PyxelEdit.exe" | |
set exepathx64="C:\Program Files (x86)\PyxelEdit\PyxelEdit.exe" | |
echo PyxelEdit will be closed. Please save all work before continuing | |
PAUSE | |
taskkill /im PyxelEdit.exe | |
echo Paste your license key on the opened file, save it and close it. | |
echo.%licensefile% | |
if exist %licensefile% (notepad.exe %licensefile%) | |
if exist %licensefilex64% (notepad.exe %licensefilex64%) | |
echo. | |
echo Done. You should now be able to use PyxelEdit without | |
echo Reinserting the license every time | |
echo. | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quick and dirty script for fixing PyxelEdit asking for the license file every time it stats up.
Essentially it's just saving it manually in the LicenseKey.txt
Remember to run as admin