From f71def45421489eaed54231a6852d8b5bb6cb819 Mon Sep 17 00:00:00 2001 From: Yuriy Date: Fri, 17 May 2024 23:32:09 -0400 Subject: [PATCH] added chrome goto --- Update-Functions.ahk | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Update-Functions.ahk b/Update-Functions.ahk index f891022..1352e48 100644 --- a/Update-Functions.ahk +++ b/Update-Functions.ahk @@ -21,4 +21,32 @@ if(CheckForChromeUpdates(ChromeFilepath)){ GuiControl,,ChromeUpdateAvailable, Chrome Update Available! ChromeUpdateAvailable := 1 } -Return \ No newline at end of file +Return + + + + +UpdateChrome: + +if(CheckForChromeUpdates = "") +Status := CheckForChromeUpdates(ChromeFilepath) + +if(!status){ + OnMessage(0x44, "OnMsgBoxConfirmChromiumOverwrite") + MsgBox 0x41, Already Up-to-Date, Yor current Chromium version is already up to date. `nDo you want to download and overwrite it? + OnMessage(0x44, "") + + IfMsgBox OK, { + Return + } Else IfMsgBox Cancel, { + + } + } + + + Status := DownloadLatestChromium() + if(Status) + GuiControl,,ChromeUpdateAvailable, Chrome Up-to-Date + + + Return \ No newline at end of file