Skip to content

Commit a9ee452

Browse files
authored
Update source files for 6.0.2
1 parent 58881c6 commit a9ee452

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

AppControlPolicy.au3

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
#AutoIt3Wrapper_Outfile_x64=AppControlPolicy.exe
77
#AutoIt3Wrapper_UseX64=y
88
#AutoIt3Wrapper_Res_Description=App Control Policy Manager
9-
#AutoIt3Wrapper_Res_Fileversion=6.0.1.0
9+
#AutoIt3Wrapper_Res_Fileversion=6.0.2
1010
#AutoIt3Wrapper_Res_ProductName=AppControlPolicyManager
11-
#AutoIt3Wrapper_Res_ProductVersion=6.0.1
11+
#AutoIt3Wrapper_Res_ProductVersion=6.0.2
1212
#AutoIt3Wrapper_Res_LegalCopyright=@ 2025 WildByDesign
1313
#AutoIt3Wrapper_Res_Language=1033
1414
#AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator
1515
#AutoIt3Wrapper_Res_HiDpi=P
1616
#AutoIt3Wrapper_Res_Icon_Add=AppControl-App.ico
17+
#AutoIt3Wrapper_Res_Icon_Add=unchecked.ico
18+
#AutoIt3Wrapper_Res_Icon_Add=checked.ico
1719
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
1820

1921
; *** Start added Standard Include files by AutoIt3Wrapper ***
@@ -717,6 +719,11 @@ GUICtrlSetState($PolicyStatus, $GUI_HIDE)
717719
$aContent = _GUIListViewEx_ReadToArray($cListView)
718720

719721

722+
If $isDarkMode = True Then
723+
;$hImageList = _GUICtrlListView_GetImageList($hListView, 2)
724+
EndIf
725+
726+
720727
ApplyThemeColor()
721728
Func ApplyThemeColor()
722729
If $isDarkMode = True Then
@@ -728,6 +735,20 @@ Func ApplyThemeColor()
728735
Endfunc
729736

730737

738+
If $isDarkMode = True Then
739+
$hImageList = _GUICtrlListView_GetImageList($hListView, 2)
740+
_GUIImageList_Remove($hImageList)
741+
742+
If @Compiled = 0 Then
743+
_GUIImageList_AddIcon($hImageList, "unchecked.ico")
744+
_GUIImageList_AddIcon($hImageList, "checked.ico")
745+
Else
746+
_GUIImageList_AddIcon($hImageList, @ScriptFullPath, 3)
747+
_GUIImageList_AddIcon($hImageList, @ScriptFullPath, 4)
748+
EndIf
749+
EndIf
750+
751+
731752
; Initiate ListView
732753
$iLV_Index = _GUIListViewEx_Init($cListView, $aContent, 0, Default, False, 1)
733754

checked.ico

3.55 KB
Binary file not shown.

unchecked.ico

3.38 KB
Binary file not shown.

0 commit comments

Comments
 (0)