@@ -40,23 +40,22 @@ global APP_SHORTCUT_BOTTOMRIGHT := IniRead(APP_INI_FILE, APP_INI_SECTION_SHORTCU
40
40
A_IconTip := APP_NAME
41
41
42
42
; -- Register global error logging
43
- ; OnError(LogError)
43
+ OnError(LogError)
44
44
45
45
; -- On startup check for version update
46
- ; CheckForUpdate()
46
+ CheckForUpdate()
47
47
48
48
; -- Context Menu
49
49
tray := A_TrayMenu
50
50
tray.Delete ()
51
51
tray.Add(" Help" , ShowHelp)
52
52
tray.Add(" Version" , ShowVersion)
53
- ; tray.Add("Check for Updates", CheckForUpdate)
53
+ tray.Add(" Check for Updates" , CheckForUpdate)
54
54
tray.Add(" Feedback" , SubmitFeedback)
55
55
tray.Add(" Restart" , Restart)
56
56
tray.Add(" Exit" , Terminate)
57
57
tray.Default := " Version"
58
58
59
- /*
60
59
LogError(exception, mode)
61
60
{
62
61
; Get the user's application data folder
@@ -81,7 +80,6 @@ LogError(exception, mode)
81
80
82
81
return true
83
82
}
84
- */
85
83
86
84
Toast(Message, r, l, t, b)
87
85
{
@@ -133,7 +131,6 @@ Toast(Message, r, l, t, b)
133
131
}
134
132
}
135
133
136
- /*
137
134
ParseVersionString(version)
138
135
{
139
136
regex := " v(\d+)\.(\d+)\.(\d+)"
@@ -201,7 +198,6 @@ GetLatestGitHubRelease(owner, repo)
201
198
return htmlfile.parentWindow.JSON.parse(str)
202
199
}
203
200
}
204
- */
205
201
206
202
SubmitFeedback(* )
207
203
{
0 commit comments