Skip to content

Commit

Permalink
zip the relase for ahk files (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcat authored Nov 1, 2022
1 parent 77ce07a commit 1ac5ea5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions AFB.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ ONE_MIN := 1000 * 60
THREE_MINS := 3 * ONE_MIN
FIVE_MINS := 5 * ONE_MIN
SIXTEEN_MINS := 15 * ONE_MIN
DATA_DIR := A_ScriptDir . "\data"
DATA_DIR := A_WorkingDir . "\data"
RECONNECT_BUTTON_IMG := DATA_DIR . "\reconnect-button.png"
RECONNECT_TEXT_IMG := DATA_DIR . "\reconnect-text.png"
RECONNECT_IMG_SEARCH_ARRAY := [RECONNECT_BUTTON_IMG, RECONNECT_TEXT_IMG]

DirCreate(DATA_DIR)
FileInstall("data\reconnect-button.png", RECONNECT_BUTTON_IMG, 1)
FileInstall("data\reconnect-text.png", RECONNECT_TEXT_IMG, 1)

/*
globals
*/
IsRunning := false
DirCreate(DATA_DIR)
FileInstall(RECONNECT_BUTTON_IMG, RECONNECT_BUTTON_IMG, 1)
FileInstall(RECONNECT_TEXT_IMG, RECONNECT_TEXT_IMG, 1)

#MaxThreadsPerHotkey 2
F1:: {
Expand Down

0 comments on commit 1ac5ea5

Please sign in to comment.