From a5dd6edcc423fab8a6794d66129ea1b4048a0009 Mon Sep 17 00:00:00 2001 From: "Robert C. Maehl" Date: Sat, 26 Jun 2021 20:47:21 -0400 Subject: [PATCH] #48, #50 Add Social Icons Fix SQ1 / SQ2 Detection Update Lists to mark EOF --- WhyNotWin11.au3 | 28 ++++++++++++++++------- includes/Em.ico | Bin 0 -> 4286 bytes includes/Git.ico | Bin 0 -> 4286 bytes includes/PP.ico | Bin 0 -> 4286 bytes includes/SupportedProcessorsAMD.txt | 5 ++-- includes/SupportedProcessorsIntel.txt | 5 ++-- includes/SupportedProcessorsQualcomm.txt | 4 +++- includes/Web.ico | Bin 0 -> 4286 bytes 8 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 includes/Em.ico create mode 100644 includes/Git.ico create mode 100644 includes/PP.ico create mode 100644 includes/Web.ico diff --git a/WhyNotWin11.au3 b/WhyNotWin11.au3 index 9ead98dd..9107b89e 100644 --- a/WhyNotWin11.au3 +++ b/WhyNotWin11.au3 @@ -12,6 +12,7 @@ #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator #AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/so +#AutoIt3Wrapper_Res_Icon_Add=includes\freeze_small.ico #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Global $sVersion = "2.2.1.0" @@ -21,6 +22,7 @@ Global $sVersion = "2.2.1.0" #include #include #include +#include #include #include #include @@ -54,7 +56,7 @@ Func Main() $hGUI = GUICreate("WhyNotWin11", 800, 600, -1, -1, $WS_POPUP+$WS_BORDER) GUISetBkColor($BKC - 0x070707) - GUISetFont(8.5,"","","Arial") + GUISetFont(8.5,$FW_BOLD,"","Arial") GUICtrlSetDefColor(_WinAPI_GetSysColor($COLOR_WINDOWTEXT)) GUICtrlSetDefBKColor($BKC - 0x070707) @@ -62,10 +64,11 @@ Func Main() ; Top Most Interaction for Update Text $hUpdate = GUICtrlCreateLabel("", 5, 560, 90, 40, $SS_CENTER+$SS_CENTERIMAGE) GUICtrlSetBkColor(-1, $BKC - 0x191919) + GUICtrlSetCursor(-1, 0) ; Top Most Interaction for Closing Window $hExit = GUICtrlCreateLabel("", 760, 10, 30, 30, $SS_CENTER+$SS_CENTERIMAGE) - GUICtrlSetFont(-1, 24, 400) + GUICtrlSetFont(-1, 24, $FW_MEDIUM) ; Allow Dragging of Window GUICtrlCreateLabel("", 0, 0, 800, 30, -1, $GUI_WS_EX_PARENTDRAG) @@ -73,8 +76,17 @@ Func Main() GUICtrlCreateLabel("", 0, 0, 100, 600) GUICtrlSetBkColor(-1, $BKC - 0x191919) + If @Compiled Then + ;;; + Else + GUICtrlCreateIcon(".\includes\Git.ico", -1, 12, 100, 32, 32) + GUICtrlCreateIcon(".\includes\PP.ico", -1, 56, 100, 32, 32, "", $WS_EX_TRANSPARENT) + GUICtrlCreateIcon(".\includes\EM.ico", -1, 12, 144, 32, 32) + GUICtrlCreateIcon(".\includes\Web.ico", -1, 56, 144, 32, 32, "", $WS_EX_TRANSPARENT) + EndIf + GUICtrlCreateLabel("Check for Updates", 5, 560, 90, 40, $SS_CENTER+$SS_CENTERIMAGE) - GUICtrlSetFont(-1, 8.5, 400) + GUICtrlSetFont(-1, 8.5, $FW_NORMAL, $GUI_FONTUNDER) GUICtrlSetBkColor(-1, $BKC - 0x191919) GUICtrlCreateLabel("WhyNotWin11", 10, 10, 80, 20, $SS_CENTER+$SS_CENTERIMAGE) @@ -86,13 +98,13 @@ Func Main() GUICtrlSetBkColor(-1, $BKC - 0x0D0D0D) GUICtrlCreateLabel("Your Windows 11 Compatibility Results are Below", 130, 30, 640, 40, $SS_CENTER+$SS_CENTERIMAGE) - GUICtrlSetFont(-1, 18, 600, "", "", $CLEARTYPE_QUALITY) + GUICtrlSetFont(-1, 18, $FW_SEMIBOLD, "", "", $CLEARTYPE_QUALITY) GUICtrlCreateLabel("* Results Based on Currently Known Requirements!", 130, 70, 640, 20, $SS_CENTER+$SS_CENTERIMAGE) GUICtrlSetColor(-1, 0xE20012) GUICtrlSetFont(-1, 10) GUICtrlCreateLabel("X", 760, 10, 30, 30, $SS_CENTER+$SS_CENTERIMAGE) - GUICtrlSetFont(-1, 24, 400) + GUICtrlSetFont(-1, 24, $FW_NORMAL) Local $hCheck[11][3] Local $hLabel[11] = ["Architecture (CPU + OS)", "Boot Method", "CPU Compatibility", "CPU Core Count", "CPU Frequency", "DirectX + WDDM2", "Disk Partition Type", "RAM Installed", "Secure Boot", "Storage Available", "TPM Version"] @@ -101,9 +113,9 @@ Func Main() $hCheck[$iRow][0] = GUICtrlCreateLabel("?", 130, 110 + $iRow * 40, 40, 40, $SS_CENTER+$SS_SUNKEN+$SS_CENTERIMAGE) GUICtrlSetBkColor(-1, 0xE6E6E6) $hCheck[$iRow][1] = GUICtrlCreateLabel(" " & $hLabel[$iRow], 170, 110 + $iRow * 40, 300, 40, $SS_CENTERIMAGE) - GUICtrlSetFont(-1, 18, 400) + GUICtrlSetFont(-1, 18, $FW_NORMAL) $hCheck[$iRow][2] = GUICtrlCreateLabel("Checking...", 470, 110 + $iRow * 40, 300, 40, $SS_CENTER+$SS_SUNKEN+$SS_CENTERIMAGE) - GUICtrlSetFont(-1, 8.5, 600) + GUICtrlSetFont(-1, 8.5, $FW_SEMIBOLD) Next GUISetState(@SW_SHOW, $hGUI) @@ -179,7 +191,7 @@ Func Main() ExitLoop EndIf Next - Case StringInStr(_GetCPUInfo(2), "SnapDragon") + Case StringInStr(_GetCPUInfo(2), "SnapDragon") Or StringInStr(_GetCPUInfo(2), "Microsoft") $iLines = _FileCountLines(@TempDir & "\SupportedProcessorsQualcomm.txt") If @error Then GUICtrlSetData($hCheck[2][0], "?") diff --git a/includes/Em.ico b/includes/Em.ico new file mode 100644 index 0000000000000000000000000000000000000000..daef5fe8a9f0b5c3938903654002ee40ce6a5964 GIT binary patch literal 4286 zcmd^@KS&%w6oG!ERWFId479Y#{IWZg$_!yx-2e`E#5x4SY%^qi-|c zV$5S>Oc&rXeIWl0*2l92ScEU|6~4iDScVl?g|&or%8i6g%B_TLO0ko$OPR9AwToi* zBz{X-1nS$5g0$7&!-DlI1?!&{tgqY`ng6W5)=qaIv~D&3vie%rp-gN4f7aK&+F8k1anTNEkVk)*YmOy9Pi?aS6 ysA7?|v6rifIJ%sTqhDunbaoL(`@iGp3%XJ$9avL1eFwanky z^qwpm%(844aAjklzru#7pMrU4z#=Te3VepuHnFcUjAhIQsBs_E)J#7?v&*O%=G|@W zpyxWg@AABZwyDozt84#(KEGfNzJYPxg1#Sl8f%p08?;}5vNmbm71|$xlW+j)P|MT9 zq>dx))2i&AT-ri=9f^MRl>yHGK_F-~y<7DNkelQ~2V3ReA3RDQoBY9E8|*P;eYO!F{kFM!>O@#Y*c| zX)mciE{{_`23O%090RR)BU#@Ij%OQ8Lfp41U!^}oyyFnx5w9q#Rb*2*t2E>KGW`W& z-GKP{=z9qJAT`Hy4W7dq#5%3=W%_ZSH^g(@)!2-=AD%)SqbR=_{l~;{pKa9~>jNm# z4Zc+0wf6bW<#^uupj~s1x(*?pvDIj$@4Mh7ya3ydL#K9{0O}i0;`dED|1hqQ4%5C< z8zVr7m!?(v{hf-_-@7Z-4dpU@&rt6_&>wA6-!XcQI<<2I2=h(TviaNA`=nEwCP1ni z%Ie4GA^1bOLj6z&191I(cZPUrs=gYjKQ8;;Y1d}x7{^NU&V9L}jnA)Ldq&4pGcG&# zrHVF_)CcoUoq*#o0yWqRe)swAPw$I4e6e1dckT-nZSLlAFO$BjX#11;N8tEs@Euak zxV%Vxd>_Vj-N-l4kH0Otp&4t;qkj)#UpMo9FAc)S|1buhd$?O1gX`e_ax4vSZ+JG` zqn;DbYQTG=h){28ANz{2+~>yjc{}fQ?b$5bUiV)Fu?_HN#ICO!43J)jFL1N5;XAs9 d?>A4ane{ZA^#a!GvZifvCjb6~s-roJ_8;~T{S^QJ literal 0 HcmV?d00001 diff --git a/includes/PP.ico b/includes/PP.ico new file mode 100644 index 0000000000000000000000000000000000000000..71478cfe35d90c0e1b9b342f04f62b68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