Skip to content

Commit

Permalink
Disable settings for update
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl committed Jul 3, 2021
1 parent 38cb18b commit 3402d3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ Func Main()
Local $hToggle = GUICtrlCreateLabel("", 34, 518, 32, 32)
GUICtrlSetTip(-1, "Settings")
GUICtrlSetCursor(-1, 0)
GUICtrlSetState(-1, $GUI_HIDE)

; Allow Dragging of Window
GUICtrlCreateLabel("", 0, 0, 800, 30, -1, $GUI_WS_EX_PARENTDRAG)
Expand All @@ -451,6 +452,7 @@ Func Main()
EndIf
GUICtrlCreateIcon("", -1, 34, 518, 32, 32)
_SetBkSelfIcon(-1, 0xE6E6E6, @ScriptFullPath, 206, 32, 32)
GUICtrlSetState(-1, $GUI_HIDE)
Else
GUICtrlCreateIcon("", -1, 34, 110, 32, 32)
_SetBkIcon(-1, 0xE6E6E6, @ScriptDir & "\assets\git.ico", -1, 32, 32)
Expand All @@ -466,6 +468,7 @@ Func Main()
EndIf
GUICtrlCreateIcon("", -1, 34, 518, 32, 32)
_SetBkIcon(-1, 0xE6E6E6, @ScriptDir & ".\assets\set.ico", -1, 32, 32)
GUICtrlSetState(-1, $GUI_HIDE)
EndIf
_GDIPlus_Shutdown()

Expand Down

0 comments on commit 3402d3a

Please sign in to comment.