Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@noidexe
Last active May 11, 2017 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noidexe/819f4e2fa4760f7f63bd4239f22a39be to your computer and use it in GitHub Desktop.
Save noidexe/819f4e2fa4760f7f63bd4239f22a39be to your computer and use it in GitHub Desktop.
Pyxel Edit License Fix (Windows)
@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
@noidexe
Copy link
Author

noidexe commented May 11, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment