|
|
@ -22,3 +22,31 @@ if(CheckForChromeUpdates(ChromeFilepath)){
|
|
|
|
ChromeUpdateAvailable := 1
|
|
|
|
ChromeUpdateAvailable := 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Return
|
|
|
|
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
|