2014-06-21 22:05:02 +00:00
|
|
|
@ECHO off
|
2014-06-21 20:39:37 +00:00
|
|
|
|
2014-06-21 22:05:02 +00:00
|
|
|
SETLOCAL
|
2014-06-21 20:39:37 +00:00
|
|
|
|
2014-06-21 22:05:02 +00:00
|
|
|
PUSHD ..\..
|
|
|
|
set PISKEL_HOME=%cd%
|
|
|
|
POPD
|
2014-06-21 20:39:37 +00:00
|
|
|
|
2014-06-21 22:05:02 +00:00
|
|
|
set VBOX_PATH="C:\Program Files (x86)\Enigma Virtual Box"
|
|
|
|
set RESOURCE_HACKER_PATH="C:\Program Files (x86)\Resource Hacker"
|
2014-06-21 20:39:37 +00:00
|
|
|
|
2014-06-21 22:05:02 +00:00
|
|
|
set APP_BIN="%PISKEL_HOME%\dest\desktop\cache\win\0.9.2"
|
|
|
|
set MISC_FOLDER=%PISKEL_HOME%\misc
|
|
|
|
set RELEASES_FOLDER=%PISKEL_HOME%\dest\desktop\releases
|
2014-08-13 23:50:33 +00:00
|
|
|
set DEST_FOLDER=%RELEASES_FOLDER%\piskel\win\piskel
|
2014-06-21 20:39:37 +00:00
|
|
|
|
|
|
|
|
2014-06-21 22:05:02 +00:00
|
|
|
ECHO "Updating Piskel icon -- Using Resource Hacker"
|
2014-08-13 23:50:33 +00:00
|
|
|
%RESOURCE_HACKER_PATH%\ResHacker -addoverwrite "%DEST_FOLDER%\piskel.exe", "%DEST_FOLDER%\piskel-logo.exe", "%MISC_FOLDER%\desktop\logo.ico", ICONGROUP, IDR_MAINFRAME, 1033
|
|
|
|
DEL "%DEST_FOLDER%\piskel.exe"
|
2014-06-21 22:05:02 +00:00
|
|
|
ECHO "DONE"
|
2014-06-21 20:39:37 +00:00
|
|
|
|
|
|
|
|
2014-06-21 22:05:02 +00:00
|
|
|
PAUSE
|
|
|
|
explorer "%DEST_FOLDER%\"
|
2014-06-21 20:39:37 +00:00
|
|
|
|
2014-06-21 22:05:02 +00:00
|
|
|
ENDLOCAL
|