mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-05 23:40:10 +00:00
cleanup and checkbox addition
This commit is contained in:
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -19,4 +19,4 @@
|
||||
## Checklist
|
||||
- [ ] My code adheres to the coding and style guidelines of the project.
|
||||
- [ ] I have commented my code, particularly in hard-to-understand areas.
|
||||
- [ ] I have made corresponding changes to the documentation.
|
||||
- [ ] I have made corresponding changes to the documentation.
|
||||
|
||||
6
.github/workflows/label-pr.yaml
vendored
6
.github/workflows/label-pr.yaml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
script: |
|
||||
const prBody = context.payload.pull_request.body || '';
|
||||
const labelsToAdd = [];
|
||||
|
||||
|
||||
if (/\[x\]\s*New feature/i.test(prBody)) {
|
||||
labelsToAdd.push('new feature');
|
||||
}
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
if (/\[x\]\s*UI\/UX improvement/i.test(prBody)) {
|
||||
labelsToAdd.push('ui update');
|
||||
}
|
||||
|
||||
|
||||
if (labelsToAdd.length > 0) {
|
||||
await github.rest.issues.addLabels({
|
||||
owner: context.repo.owner,
|
||||
@@ -42,4 +42,4 @@ jobs:
|
||||
issue_number: context.payload.pull_request.number,
|
||||
labels: labelsToAdd
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"shared":{
|
||||
"AppEntryWidth": "130",
|
||||
"AppEntryWidth": "200",
|
||||
"AppEntryFontSize": "11",
|
||||
"AppEntryMargin": "1,1,1,1",
|
||||
"AppEntryMargin": "1,0,1,0",
|
||||
"AppEntryBorderThickness": "0",
|
||||
"CustomDialogFontSize": "12",
|
||||
"CustomDialogFontSizeHeader": "14",
|
||||
|
||||
@@ -546,5 +546,5 @@ Outputs `winutil.ps1` in the root directory.
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: January 2026
|
||||
**Maintainers**: Chris Titus Tech and contributors
|
||||
**Last Updated**: January 2026
|
||||
**Maintainers**: Chris Titus Tech and contributors
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"powercfg.exe /hibernate on"
|
||||
],
|
||||
```
|
||||
|
||||
|
||||
## Registry Changes
|
||||
Applications and System Components store and retrieve configuration data to modify windows settings, so we can use the registry to change many settings in one place.
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
Write-Host \"Uninstalling OneDrive...\"
|
||||
Start-Process 'C:\\Windows\\System32\\OneDriveSetup.exe' -ArgumentList '/uninstall' -Wait
|
||||
|
||||
|
||||
# Some of OneDrive files use explorer, and OneDrive uses FileCoAuth
|
||||
Write-Host \"Removing leftover OneDrive Files...\"
|
||||
Stop-Process -Name FileCoAuth,Explorer
|
||||
|
||||
@@ -297,5 +297,5 @@ Can't find your answer? Try these resources:
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: January 2026
|
||||
**Last Updated**: January 2026
|
||||
**Found this helpful?** Consider starring the project on [GitHub](https://github.com/ChrisTitusTech/winutil)!
|
||||
|
||||
@@ -54,7 +54,7 @@ Apply optimizations for performance, privacy, and usability. Choose from preset
|
||||
|
||||
Quick fixes for common Windows problems:
|
||||
- Reset network settings
|
||||
- Fix Windows Update issues
|
||||
- Fix Windows Update issues
|
||||
- Repair system files
|
||||
- Access legacy Windows panels
|
||||
|
||||
@@ -152,7 +152,7 @@ This User Guide covers everything you need to know:
|
||||
|
||||
1. **[Getting Started](getting-started/)** - Installation, first run, basic usage
|
||||
2. **[Application Store](store/)** - Installing software, using presets
|
||||
3. **[Tweaks](tweaks/)** - System optimizations and customizations
|
||||
3. **[Tweaks](tweaks/)** - System optimizations and customizations
|
||||
4. **[Features & Fixes](features/)** - Troubleshooting tools and utilities
|
||||
5. **[MicroWin](microwin/)** - Creating custom Windows ISOs
|
||||
6. **[Updates](updates/)** - Managing Windows Update behavior
|
||||
|
||||
@@ -44,7 +44,7 @@ function Initialize-InstallCategoryAppList {
|
||||
foreach ($category in $($appsByCategory.Keys | Sort-Object)) {
|
||||
Add-Category -Category $category -TargetElement $TargetElement
|
||||
$wrapPanel = New-Object Windows.Controls.WrapPanel
|
||||
$wrapPanel.Orientation = "Horizontal"
|
||||
$wrapPanel.Orientation = "Vertical"
|
||||
$wrapPanel.HorizontalAlignment = "Stretch"
|
||||
$wrapPanel.VerticalAlignment = "Center"
|
||||
$wrapPanel.Margin = New-Object Windows.Thickness(0, 0, 0, 20)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource BorderColor}"/>
|
||||
<Setter Property="MaxWidth" Value="{DynamicResource ToolTipWidth}"/>
|
||||
<Setter Property="BorderThickness" Value="1"/>
|
||||
<Setter Property="Padding" Value="5"/>
|
||||
<Setter Property="Padding" Value="2"/>
|
||||
<Setter Property="FontSize" Value="{DynamicResource FontSize}"/>
|
||||
<Setter Property="FontFamily" Value="{DynamicResource FontFamily}"/>
|
||||
<!-- This ContentTemplate ensures that the content of the ToolTip wraps text properly for better readability -->
|
||||
@@ -85,7 +85,7 @@
|
||||
<Style x:Key="AppEntryBorderStyle" TargetType="Border">
|
||||
<Setter Property="BorderBrush" Value="Gray"/>
|
||||
<Setter Property="BorderThickness" Value="{DynamicResource AppEntryBorderThickness}"/>
|
||||
<Setter Property="CornerRadius" Value="5"/>
|
||||
<Setter Property="CornerRadius" Value="2"/>
|
||||
<Setter Property="Padding" Value="{DynamicResource AppEntryMargin}"/>
|
||||
<Setter Property="Width" Value="{DynamicResource AppEntryWidth}"/>
|
||||
<Setter Property="VerticalAlignment" Value="Top"/>
|
||||
@@ -101,10 +101,30 @@
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="CheckBox">
|
||||
<ContentPresenter Content="{TemplateBinding Content}"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Left"
|
||||
Margin="{TemplateBinding Padding}"/>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Grid Width="16" Height="16" Margin="0,0,8,0">
|
||||
<Border x:Name="CheckBoxBorder"
|
||||
BorderBrush="{DynamicResource MainForegroundColor}"
|
||||
Background="{DynamicResource ButtonBackgroundColor}"
|
||||
BorderThickness="1"
|
||||
Width="16"
|
||||
Height="16"
|
||||
CornerRadius="2"/>
|
||||
<Path x:Name="CheckMark"
|
||||
Stroke="{DynamicResource ToggleButtonOnColor}"
|
||||
StrokeThickness="2"
|
||||
Data="M 2 8 L 6 12 L 14 4"
|
||||
Visibility="Collapsed"/>
|
||||
</Grid>
|
||||
<ContentPresenter Content="{TemplateBinding Content}"
|
||||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Left"/>
|
||||
</StackPanel>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsChecked" Value="True">
|
||||
<Setter TargetName="CheckMark" Property="Visibility" Value="Visible"/>
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
@@ -164,6 +184,7 @@
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
||||
|
||||
</Style>
|
||||
<Style TargetType="Button" x:Key="HoverButtonStyle">
|
||||
<Setter Property="Foreground" Value="{DynamicResource MainForegroundColor}" />
|
||||
@@ -532,7 +553,7 @@
|
||||
BorderThickness="1"
|
||||
Width="{DynamicResource CheckBoxBulletDecoratorSize *0.85}"
|
||||
Height="{DynamicResource CheckBoxBulletDecoratorSize *0.85}"
|
||||
Margin="2"
|
||||
Margin="1"
|
||||
SnapsToDevicePixels="True"/>
|
||||
<Viewbox x:Name="CheckMarkContainer"
|
||||
Width="{DynamicResource CheckBoxBulletDecoratorSize}"
|
||||
|
||||
Reference in New Issue
Block a user