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 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 MISC_FOLDER=%PISKEL_HOME%\misc
|
2015-04-26 20:46:40 +00:00
|
|
|
set RELEASES_FOLDER=%PISKEL_HOME%\dest\desktop
|
2015-04-29 02:00:46 +00:00
|
|
|
set DEST_FOLDER=%RELEASES_FOLDER%\piskel\win32
|
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
|