Skip to content

Commit c5020ec

Browse files
author
Soham Dasgupta
committed
feat: prepare for release
1 parent 2bc1a00 commit c5020ec

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: nukdokplex/[email protected]
2222
if: startsWith(github.ref, 'refs/tags/v')
2323
with:
24-
version: v2.0.9
24+
version: v2.0.10
2525
x64: true
2626
x86: true
2727
compression: upx

polygon.ahk

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,22 @@ global APP_SHORTCUT_BOTTOMRIGHT := IniRead(APP_INI_FILE, APP_INI_SECTION_SHORTCU
4040
A_IconTip := APP_NAME
4141

4242
;-- Register global error logging
43-
; OnError(LogError)
43+
OnError(LogError)
4444

4545
;-- On startup check for version update
46-
; CheckForUpdate()
46+
CheckForUpdate()
4747

4848
;-- Context Menu
4949
tray := A_TrayMenu
5050
tray.Delete()
5151
tray.Add("Help", ShowHelp)
5252
tray.Add("Version", ShowVersion)
53-
; tray.Add("Check for Updates", CheckForUpdate)
53+
tray.Add("Check for Updates", CheckForUpdate)
5454
tray.Add("Feedback", SubmitFeedback)
5555
tray.Add("Restart", Restart)
5656
tray.Add("Exit", Terminate)
5757
tray.Default := "Version"
5858

59-
/*
6059
LogError(exception, mode)
6160
{
6261
; Get the user's application data folder
@@ -81,7 +80,6 @@ LogError(exception, mode)
8180

8281
return true
8382
}
84-
*/
8583

8684
Toast(Message, r, l, t, b)
8785
{
@@ -133,7 +131,6 @@ Toast(Message, r, l, t, b)
133131
}
134132
}
135133

136-
/*
137134
ParseVersionString(version)
138135
{
139136
regex := "v(\d+)\.(\d+)\.(\d+)"
@@ -201,7 +198,6 @@ GetLatestGitHubRelease(owner, repo)
201198
return htmlfile.parentWindow.JSON.parse(str)
202199
}
203200
}
204-
*/
205201

206202
SubmitFeedback(*)
207203
{

polygon.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Remove-Item -Path .\build\* -Recurse -Force
2+
Ahk2Exe.exe /in polygon.ahk /out .\build\polygon-x64.exe /icon logo.ico /base "$HOME\.scoop\apps\autohotkey\current\v2\AutoHotkey64.exe"
3+
Ahk2Exe.exe /in polygon.ahk /out .\build\polygon-x86.exe /icon logo.ico /base "$HOME\.scoop\apps\autohotkey\current\v2\AutoHotkey32.exe"
4+
candle.exe .\polygon.wxs -out .\build\polygon-x86.wixobj -dVersion="0.0.0" -arch x86
5+
candle.exe .\polygon.wxs -out .\build\polygon-x64.wixobj -dVersion="0.0.0" -arch x64
6+
light.exe .\build\polygon-x86.wixobj -ext WixUIExtension -out .\build\polygon-x86.msi
7+
light.exe .\build\polygon-x64.wixobj -ext WixUIExtension -out .\build\polygon-x64.msi

0 commit comments

Comments
 (0)