Compare commits
4 Commits
cf56ae8136
...
a3d89a9892
| Author | SHA1 | Date | |
|---|---|---|---|
| a3d89a9892 | |||
| a5bc6225b6 | |||
| 4ac3c76641 | |||
| 96a8fb9566 |
BIN
Assets/Icon.png
Normal file
BIN
Assets/Icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
Assets/Icon.xcf
Normal file
BIN
Assets/Icon.xcf
Normal file
Binary file not shown.
BIN
Assets/Share.png
Normal file
BIN
Assets/Share.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -128,6 +128,7 @@ DownloadLatestChromium(){
|
|||||||
IfMsgBox OK, {
|
IfMsgBox OK, {
|
||||||
|
|
||||||
} Else IfMsgBox Cancel, {
|
} Else IfMsgBox Cancel, {
|
||||||
|
ToolTip
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,7 +339,6 @@ CheckForChromeUpdates(ChromeFilepath := ""){
|
|||||||
|
|
||||||
GetInstalledChromeFilepath(){
|
GetInstalledChromeFilepath(){
|
||||||
; ChromeFilepath is global variable
|
; ChromeFilepath is global variable
|
||||||
|
|
||||||
if(ChromeFilepath = ""){
|
if(ChromeFilepath = ""){
|
||||||
|
|
||||||
ChromePortableFilepath = %A_ScriptDir%\Lib\chrome-win64\chrome.exe
|
ChromePortableFilepath = %A_ScriptDir%\Lib\chrome-win64\chrome.exe
|
||||||
@@ -355,15 +355,7 @@ GetInstalledChromeFilepath(){
|
|||||||
SaveOrPostProgress(Message:=Message,PostType:="ErrorLoggingTextFile,DiscordErrorLogging")
|
SaveOrPostProgress(Message:=Message,PostType:="ErrorLoggingTextFile,DiscordErrorLogging")
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
MsgBox 0x10, Chromium Portable not Found, Chromium Portable not found. `nPlease make sure it's located at one of the following paths and then try again.`n`n%ChromePortableFilepath% `nOR`n%ChromePortableFilepath2%
|
MsgBox 0x10, Chrome Not Found, Chrome for Testing not found.`nIf this is your first time running on this computer, please click the "Chrome Up-To-Date" button to download the latest chrome binaries.
|
||||||
|
|
||||||
|
|
||||||
; Leave this in for now, but i don't think we will be going to using the system Chrome in the future.
|
|
||||||
; if(FileExist("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"))
|
|
||||||
; ChromeFilepath = C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
|
|
||||||
|
|
||||||
; if(FileExist("C:\Program Files\Google\Chrome\Application\chrome.exe"))
|
|
||||||
; ChromeFilepath = C:\Program Files\Google\Chrome\Application\chrome.exe
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ToolTip
|
ToolTip
|
||||||
|
|||||||
@@ -8,17 +8,17 @@ CheckForUpdates:
|
|||||||
; GitReleasesAPIURL
|
; GitReleasesAPIURL
|
||||||
; ChromeFilepath
|
; ChromeFilepath
|
||||||
|
|
||||||
Message = Checking for Updates
|
; Message = Checking for Updates
|
||||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
; SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
||||||
|
|
||||||
|
|
||||||
if(CheckForUpdates(GitReleasesAPIURL)){
|
if(CheckForUpdates(GitReleasesAPIURL)){
|
||||||
GuiControl,,UpdateAvailable, Update Available!
|
GuiControl,,UpdateAvailable, %ScriptAbbreviatedName% Update Available!
|
||||||
}
|
}
|
||||||
|
|
||||||
if(CheckForChromeUpdates(ChromeFilepath)){
|
if(CheckForChromeUpdates(ChromeFilepath)){
|
||||||
GuiControl,,ChromeUpdateAvailable, Chrome Update Available!
|
GuiControl,,ChromeUpdateAvailable, Chrome Update Available!
|
||||||
ChromeUpdateAvailable := 1
|
; ChromeUpdateAvailable := 1
|
||||||
}
|
}
|
||||||
ToolTip
|
ToolTip
|
||||||
Return
|
Return
|
||||||
@@ -29,6 +29,14 @@ Return
|
|||||||
|
|
||||||
UpdateChrome:
|
UpdateChrome:
|
||||||
|
|
||||||
|
; if chroem doesn't exist, download it
|
||||||
|
if(ChromeFilepath = ""){
|
||||||
|
Status := DownloadLatestChromium()
|
||||||
|
if(Status)
|
||||||
|
GuiControl,,ChromeUpdateAvailable, Chrome Up-To-Date
|
||||||
|
Return
|
||||||
|
}
|
||||||
|
|
||||||
if(CheckForChromeUpdates = "")
|
if(CheckForChromeUpdates = "")
|
||||||
Status := CheckForChromeUpdates(ChromeFilepath)
|
Status := CheckForChromeUpdates(ChromeFilepath)
|
||||||
|
|
||||||
@@ -40,13 +48,13 @@ if(!status){
|
|||||||
IfMsgBox OK, {
|
IfMsgBox OK, {
|
||||||
Return
|
Return
|
||||||
} Else IfMsgBox Cancel, {
|
} Else IfMsgBox Cancel, {
|
||||||
|
ToolTip
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Status := DownloadLatestChromium()
|
Status := DownloadLatestChromium()
|
||||||
if(Status)
|
if(Status)
|
||||||
GuiControl,,ChromeUpdateAvailable, Chrome Up-to-Date
|
GuiControl,,ChromeUpdateAvailable, Chrome Up-To-Date
|
||||||
|
|
||||||
Return
|
Return
|
||||||
/*
|
/*
|
||||||
@@ -77,3 +85,21 @@ if(A_GuiControl = "PasteClipboardToFLSTags"){
|
|||||||
|
|
||||||
|
|
||||||
Return
|
Return
|
||||||
|
|
||||||
|
OpenErrorLog:
|
||||||
|
run, %ErrorLoggingFilePath%
|
||||||
|
Return
|
||||||
|
|
||||||
|
OpenGiteaPage:
|
||||||
|
if(ScriptAbbreviatedName = "FLS")
|
||||||
|
URL = https://freedomain.dev/yuriy/livestream-scheduler
|
||||||
|
|
||||||
|
if(ScriptAbbreviatedName = "FVU")
|
||||||
|
URL = https://freedomain.dev/yuriy/video-uploader
|
||||||
|
|
||||||
|
if(ScriptAbbreviatedName = "FSMP")
|
||||||
|
URL = https://freedomain.dev/yuriy/social-media-poster
|
||||||
|
|
||||||
|
|
||||||
|
run, %URL%
|
||||||
|
Return
|
||||||
|
|||||||
Reference in New Issue
Block a user