Skip to content

Commit

Permalink
Build now creates zip package
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsmith1968 committed Nov 16, 2019
1 parent 6f33efd commit f4ae149
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _Build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@

SETLOCAL EnableDelayedExpansion

PUSHD "%~dp0"

SET APPNAME=WindowExtensions
SET APPDESCRIPTION=Window Extensions Menu and HotKeys
SET APPFILENAME=%APPNAME%.ahk
SET APPVERSION=1.1.0.0
SET EXEFILENAME=%APPNAME%.exe
SET ICONFILENAME=Icons\windows.ico

SET ZIPFILENAME=%APPNAME%.%APPVERSION%.zip

CALL BuildAHK.cmd -b "%~n0" -a "%APPNAME%" -d "%APPDESCRIPTION%" -f "%APPFILENAME%" -e "%EXEFILENAME%" -i "%ICONFILENAME%" -v "%APPVERSION%" %1

IF EXIST "%ZIPFILENAME%" DEL /Q "%ZIPFILENAME%"

ZIP "%ZIPFILENAME%" "%APPNAME%.exe" "%APPNAME%.icl"

POPD

0 comments on commit f4ae149

Please sign in to comment.