Skip to content

Commit

Permalink
Fix Banner Hyperlink
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Jun 27, 2021
1 parent 7d60b16 commit 5d5f66d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,9 @@ Func Main()
EndSelect
FileDelete($hDXFile)

Case $hMsg = $hBanner
ShellExecute($sBannerURL)

Case $hMsg = $hGithub
ShellExecute("https://fcofix.org/WhyNotWin11")

Expand Down Expand Up @@ -508,10 +511,12 @@ Func _SetBannerText($hBannerText, $hBanner)
Case $bLinux
GUICtrlSetData($hBannerText, "i3 BEST WM")
Return "https://archlinux.org/"
GUICtrlSetCursor($hBannerText, 0)
GUICtrlSetCursor($hBanner, 0)
Case @LogonDomain <> @ComputerName
GUICtrlSetData($hBannerText, "I'M FOR HIRE")
Return "https://fcofix.org/rcmaehl/wiki/I'M-FOR-HIRE"
GUICtrlSetCursor($hBannerText, 0)
GUICtrlSetCursor($hBanner, 0)
Case Else
GUICtrlSetCursor($hBanner, 2)
Expand Down

0 comments on commit 5d5f66d

Please sign in to comment.