Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Nov 16, 2024
1 parent 414bc2d commit 767a6fb
Show file tree
Hide file tree
Showing 24 changed files with 1,660 additions and 1,837 deletions.
51 changes: 19 additions & 32 deletions Wrapper/Config/config_Windows_10.json
Original file line number Diff line number Diff line change
Expand Up @@ -572,22 +572,6 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
Expand Down Expand Up @@ -700,6 +684,25 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "TaskbarCombine",
"Arg": {
"Zero": {
"Tag": "Always"
},
"One": {
"Tag": "Full"
},
"Two": {
"Tag": "Never"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Region": "UI & Personalization",
"Control": "chk",
Expand Down Expand Up @@ -1106,22 +1109,6 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "MappedDrivesAppElevatedAccess",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
Expand Down
37 changes: 19 additions & 18 deletions Wrapper/Config/config_Windows_10_LTSC.json
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,25 @@
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "TaskbarCombine",
"Arg": {
"Zero": {
"Tag": "Always"
},
"One": {
"Tag": "Full"
},
"Two": {
"Tag": "Never"
}
},
"Preset": "Zero",
"WindowsDefault": "Zero"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
Expand Down Expand Up @@ -986,24 +1005,6 @@
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "MappedDrivesAppElevatedAccess",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2019": "true",
"LTSC2021": "true"
},
{
"Region": "System",
"Control": "cmb",
Expand Down
32 changes: 0 additions & 32 deletions Wrapper/Config/config_Windows_11.json
Original file line number Diff line number Diff line change
Expand Up @@ -591,22 +591,6 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
Expand Down Expand Up @@ -1029,22 +1013,6 @@
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "MappedDrivesAppElevatedAccess",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One"
},
{
"Region": "System",
"Control": "cmb",
Expand Down
34 changes: 0 additions & 34 deletions Wrapper/Config/config_Windows_11_LTSC.json
Original file line number Diff line number Diff line change
Expand Up @@ -611,23 +611,6 @@
"WindowsDefault": "One",
"LTSC2024": "true"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
"Required": "false",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide"
},
"One": {
"Tag": "Show"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2024": "true"
},
{
"Region": "UI & Personalization",
"Control": "cmb",
Expand Down Expand Up @@ -1045,23 +1028,6 @@
"WindowsDefault": "One",
"LTSC2024": "true"
},
{
"Region": "System",
"Control": "cmb",
"Required": "false",
"Function": "MappedDrivesAppElevatedAccess",
"Arg": {
"Zero": {
"Tag": "Enable"
},
"One": {
"Tag": "Disable"
}
},
"Preset": "Zero",
"WindowsDefault": "One",
"LTSC2024": "true"
},
{
"Region": "System",
"Control": "cmb",
Expand Down
46 changes: 18 additions & 28 deletions Wrapper/Localizations/de-DE/tooltip_Windows_10.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,20 +499,6 @@
}
}
},
{
"Region": "UI & Personalization",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Ausblenden der Schaltfläche Copilot in der Taskleiste."
},
"One": {
"Tag": "Show",
"ToolTip": "Zeigen Sie die Schaltfläche Copilot in der Taskleiste an (Standardeinstellung)."
}
}
},
{
"Region": "UI & Personalization",
"Function": "TaskViewButton",
Expand Down Expand Up @@ -611,6 +597,24 @@
}
}
},
{
"Region": "UI & Personalization",
"Function": "TaskbarCombine",
"Arg": {
"Zero": {
"Tag": "Always",
"ToolTip": "Kombinieren Sie Schaltflächen in der Taskleiste und blenden Sie Beschriftungen immer aus (Standardeinstellung)."
},
"One": {
"Tag": "Full",
"ToolTip": "Taskleistenschaltflächen zusammenfassen und Beschriftungen ausblenden, wenn die Taskleiste voll ist.."
},
"Two": {
"Tag": "Never",
"ToolTip": "Kombinieren Sie die Schaltflächen der Taskleiste und blenden Sie die Beschriftungen nicht aus.."
}
}
},
{
"Region": "UI & Personalization",
"Function": "UnpinTaskbarShortcuts -Shortcuts",
Expand Down Expand Up @@ -970,20 +974,6 @@
}
}
},
{
"Region": "System",
"Function": "MappedDrivesAppElevatedAccess",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Aktiviert den Zugriff auf zugeordnete Laufwerke von einer Anwendung, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt wird."
},
"One": {
"Tag": "Disable",
"ToolTip": "Deaktiviert den Zugriff auf zugeordnete Laufwerke von Anwendungen, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt werden (Standardeinstellung)."
}
}
},
{
"Region": "System",
"Function": "DeliveryOptimization",
Expand Down
28 changes: 0 additions & 28 deletions Wrapper/Localizations/de-DE/tooltip_Windows_11.json
Original file line number Diff line number Diff line change
Expand Up @@ -517,20 +517,6 @@
}
}
},
{
"Region": "UI & Personalization",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Ausblenden der Schaltfläche Copilot in der Taskleiste."
},
"One": {
"Tag": "Show",
"ToolTip": "Zeigen Sie die Schaltfläche Copilot in der Taskleiste an (Standardeinstellung)."
}
}
},
{
"Region": "UI & Personalization",
"Function": "TaskViewButton",
Expand Down Expand Up @@ -918,20 +904,6 @@
}
}
},
{
"Region": "System",
"Function": "MappedDrivesAppElevatedAccess",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Aktiviert den Zugriff auf zugeordnete Laufwerke von einer Anwendung, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt wird."
},
"One": {
"Tag": "Disable",
"ToolTip": "Deaktiviert den Zugriff auf zugeordnete Laufwerke von Anwendungen, die mit erweiterten Berechtigungen und aktiviertem Admin-Genehmigungsmodus ausgeführt werden (Standardeinstellung)."
}
}
},
{
"Region": "System",
"Function": "DeliveryOptimization",
Expand Down
42 changes: 14 additions & 28 deletions Wrapper/Localizations/en-US/tooltip_Windows_10.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,20 +499,6 @@
}
}
},
{
"Region": "UI & Personalization",
"Function": "CopilotButton",
"Arg": {
"Zero": {
"Tag": "Hide",
"ToolTip": "Hide Copilot button on the taskbar."
},
"One": {
"Tag": "Show",
"ToolTip": "Show Copilot button on the taskbar (default value)."
}
}
},
{
"Region": "UI & Personalization",
"Function": "TaskViewButton",
Expand Down Expand Up @@ -611,6 +597,20 @@
}
}
},
{
"Region": "UI & Personalization",
"Function": "SecondsInSystemClock",
"Arg": {
"Zero": {
"Tag": "Show",
"ToolTip": "Show seconds on the taskbar clock."
},
"One": {
"Tag": "Hide",
"ToolTip": "Hide seconds on the taskbar clock (default value)."
}
}
},
{
"Region": "UI & Personalization",
"Function": "UnpinTaskbarShortcuts -Shortcuts",
Expand Down Expand Up @@ -970,20 +970,6 @@
}
}
},
{
"Region": "System",
"Function": "MappedDrivesAppElevatedAccess",
"Arg": {
"Zero": {
"Tag": "Enable",
"ToolTip": "Turn on access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled."
},
"One": {
"Tag": "Disable",
"ToolTip": "Turn off access to mapped drives from app running with elevated permissions with Admin Approval Mode enabled (default value)."
}
}
},
{
"Region": "System",
"Function": "DeliveryOptimization",
Expand Down
Loading

0 comments on commit 767a6fb

Please sign in to comment.