diff --git a/CHANGELOG.md b/CHANGELOG.md index 330ab48..d87a0b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.3.0 (2022-05-13) + +- Added possibility to exit the script early - this is useful when an update takes longer than a few seconds and would therefore be paused and resumed continuously by the script + ## v0.2.1 (2022-02-15) - Fixed username input field not being focused in some cases in recent Riot Client versions diff --git a/fass.ahk b/fass.ahk index 121b775..a0c5333 100644 --- a/fass.ahk +++ b/fass.ahk @@ -1,6 +1,6 @@ ;@Ahk2Exe-SetMainIcon fass.ico -global AppVersion := "0.2.1" +global AppVersion := "0.3.0" global IniPath := "settings.ini" ;;; CHOOSE ACCOUNT @@ -166,6 +166,13 @@ Main: ; Login button Send, {Enter} + ; Show skip window to exit early. + SkipPosX := A_ScreenWidth - 300 + SkipPosY := A_ScreenHeight - 140 + Gui, Skip:New,, Update Skip + Gui, Skip:Add, Button, w240 gExit, Exit Early (Update Skip) + Gui, Skip:Show, x%SkipPosX% y%SkipPosY% + ; Press play if the window still exists (sometimes it doesn't launch ; automatically). Loop { @@ -181,4 +188,5 @@ Main: } } +Exit: ExitApp, 0