From 3aff3734e7f46114addb39345fd01701aa9fd461 Mon Sep 17 00:00:00 2001 From: "Robert C. Maehl" Date: Sun, 27 Jun 2021 00:58:26 -0400 Subject: [PATCH] #55, #48 Add Discord for #48 Add action on click for all icons Set HighDPIAware to No --- WhyNotWin11.au3 | 34 ++++++++++++++++++++++++++++++++-- includes/Dis.ico | Bin 0 -> 4286 bytes 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 includes/Dis.ico diff --git a/WhyNotWin11.au3 b/WhyNotWin11.au3 index 5b9c41e0..8bc5320b 100644 --- a/WhyNotWin11.au3 +++ b/WhyNotWin11.au3 @@ -5,6 +5,7 @@ #AutoIt3Wrapper_Outfile_x64=WhyNotWin11.exe #AutoIt3Wrapper_Compile_Both=y #AutoIt3Wrapper_UseX64=y +#AutoIt3Wrapper_Res_HiDpi=N #AutoIt3Wrapper_Res_Description=Detection Script to help identify the more niche settings for why your PC isn't Windows 11 ready #AutoIt3Wrapper_Res_Fileversion=2.2.2.0 #AutoIt3Wrapper_Res_ProductVersion=2.2.2 @@ -13,8 +14,8 @@ #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/so #AutoIt3Wrapper_Res_Icon_Add=includes\git.ico -#AutoIt3Wrapper_Res_Icon_Add=includes\em.ico #AutoIt3Wrapper_Res_Icon_Add=includes\pp.ico +#AutoIt3Wrapper_Res_Icon_Add=includes\dis.ico #AutoIt3Wrapper_Res_Icon_Add=includes\web.ico #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** @@ -78,6 +79,23 @@ Func Main() $hExit = GUICtrlCreateLabel("", 760, 10, 30, 30, $SS_CENTER+$SS_CENTERIMAGE) GUICtrlSetFont(-1, 24, $FW_MEDIUM) + ; Top Most Interaction for Socials + $hGithub = GUICtrlCreateLabel("", 12, 100, 32, 32) + GUICtrlSetTip(-1, "Github") + GUICtrlSetCursor(-1, 0) + + $hDonate = GUICtrlCreateLabel("", 56, 100, 32, 32) + GUICtrlSetTip(-1, "Donate") + GUICtrlSetCursor(-1, 0) + + $hDiscord = GUICtrlCreateLabel("", 12, 144, 32, 32) + GUICtrlSetTip(-1, "Email Me") + GUICtrlSetCursor(-1, 0) + + $hLTT = GUICtrlCreateLabel("", 56, 144, 32, 32) + GUICtrlSetTip(-1, "LTT Thread") + GUICtrlSetCursor(-1, 0) + ; Allow Dragging of Window GUICtrlCreateLabel("", 0, 0, 800, 30, -1, $GUI_WS_EX_PARENTDRAG) @@ -92,7 +110,7 @@ Func Main() Else GUICtrlCreateIcon(".\includes\Git.ico", -1, 12, 100, 32, 32) GUICtrlCreateIcon(".\includes\PP.ico", -1, 56, 100, 32, 32) - GUICtrlCreateIcon(".\includes\EM.ico", -1, 12, 144, 32, 32) + GUICtrlCreateIcon(".\includes\dis.ico", -1, 12, 144, 32, 32) GUICtrlCreateIcon(".\includes\Web.ico", -1, 56, 144, 32, 32) EndIf @@ -385,6 +403,18 @@ Func Main() EndSelect FileDelete($hDXFile) + Case $hMsg = $hGithub + ShellExecute("https://fcofix.org/WhyNotWin11") + + Case $hMsg = $hDonate + ShellExecute("https://paypal.me/rhsky") + + Case $hMsg = $hDiscord + ShellExecute("https://discord.gg/uBnBcBx") + + Case $hMsg = $hLTT + ShellExecute("https://linustechtips.com/topic/1350354-windows-11-readiness-check-whynotwin11/") + Case $hMsg = $hUpdate Switch _GetLatestRelease($sVersion) Case -1 diff --git a/includes/Dis.ico b/includes/Dis.ico new file mode 100644 index 0000000000000000000000000000000000000000..fb03393fad015c8f2bb251fec719a47eeb24be68 GIT binary patch literal 4286 zcmeH~ze^lJ6vrnbDMUmpEG$HDZigFo+J+J60No$8&WZZIfUf^Z(B7{WpSAusSxH9d$`s3u7eY6Ut z-h+rO_P4nJ-EVpI=Ul#3b)V^uj@L%(B%k^|Lu}eNdG)ovv1#3HoITg6y7?6o+Y%1z zw=!$}&*DL7YmZs}vg=pf{ECU~5Qp_!nWg`m9KVJdQ*G__d1wVQ)wN#gi*vLu8rlDP zPJaeyHe@;vHfLXE&0n#{4Jp1%@@tk?|AC=;Uk;b6)k*XncwMX4Gk?YIgPvgo{F>8D zHEHS$c7x84>BVKe`pP?pX;_8rq@1GE9W?>7unt>EUH62}VXW!fdGsw$`}jLtrHp-z z?*u9-eU|UbM)ZAt(fYgo+xh=T-|a=$GjIN)`)#DNTJOHitCJRgfnJB{C%=*U@g0HA Sn7+sV1)Adl^q4mF|7y=0bF|I? literal 0 HcmV?d00001