Skip to content

Commit 200abcb

Browse files
authored
Merge branch 'ChrisTitusTech:main' into Close-Issue-Action
2 parents 75179ed + ce787a9 commit 200abcb

24 files changed

+806
-139
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,23 @@ about: Create a report to help us improve
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

10-
**Describe the bug**
9+
## Describe the bug
1110
A clear and concise description of what the bug is.
1211

13-
**To Reproduce**
12+
## To Reproduce
1413
Steps to reproduce the behavior:
1514
1. Go to '...'
1615
2. Click on '....'
1716
3. Scroll down to '....'
1817
4. See error
1918

20-
**Expected behavior**
19+
## Expected behavior
2120
A clear and concise description of what you expected to happen.
2221

23-
**Screenshots**
22+
## Screenshots
2423
If applicable, add screenshots to help explain your problem.
2524

26-
**Additional context**
25+
## Additional context
2726
Add any other context about the problem here.

.github/workflows/createchangelog.yml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,40 @@
1-
name: On release published
1+
name: Update update.mb on Release
2+
23
on:
34
release:
45
types: [published]
56

67
jobs:
7-
changelog:
8-
name: Update changelog
8+
update-file:
99
runs-on: ubuntu-latest
10+
1011
steps:
11-
- uses: actions/checkout@v3
12-
with:
13-
ref: main
14-
- uses: rhysd/changelog-from-release/action@v3
15-
with:
16-
file: /docs/updates.md
17-
github_token: ${{ secrets.GITHUB_TOKEN }}
12+
- name: Checkout Repository
13+
uses: actions/checkout@v2
14+
15+
- name: Get latest release and update update.mb file
16+
run: |
17+
# Fetch the latest release using GitHub CLI
18+
latest_release=$(gh release view --json tagName,name,body --jq '{tag: .tagName, name: .name, body: .body}')
19+
20+
# Extract details
21+
tag=$(echo "$latest_release" | jq -r '.tag')
22+
name=$(echo "$latest_release" | jq -r '.name')
23+
body=$(echo "$latest_release" | jq -r '.body')
24+
version_numeric=$(echo "$tag" | grep -o -E '[0-9.]+')
25+
26+
# Append to update.mb
27+
echo "## $version_numeric" >> docs/update.mb
28+
echo "Release name: $name" >> docs/update.mb
29+
echo "Release body: $body" >> docs/update.mb
30+
echo "" >> docs/update.mb
31+
32+
- name: Commit and Push Changes
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
run: |
36+
git config --global user.name 'github-actions[bot]'
37+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
38+
git add docs/update.mb
39+
git commit -m "Update update.mb with latest release"
40+
git push

.github/workflows/ci.yml renamed to .github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: GitHub Pages Deploy
22
on:
33
push:
44
branches:

.github/workflows/pre-release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
with:
4141
tag_name: ${{ steps.extract_version.outputs.version }}
4242
name: Pre-Release ${{ steps.extract_version.outputs.version }}
43+
body: "![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/winutil/${{ steps.extract_version.outputs.version }}/winutil.ps1)"
44+
append_body: true
4345
files: ./winutil.ps1
4446
prerelease: true
4547
env:

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
with:
3737
tag_name: ${{ steps.extract_version.outputs.version }}
3838
name: Release ${{ steps.extract_version.outputs.version }}
39+
body: "![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/winutil/${{ steps.extract_version.outputs.version }}/winutil.ps1)"
40+
append_body: true
3941
files: ./winutil.ps1
4042
prerelease: false
4143
make_latest: "true"

.github/workflows/sponsors.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Generate Sponsors README
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: 30 15 * * 0-6
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout 🛎️
13+
uses: actions/checkout@v2
14+
15+
- name: Generate Sponsors 💖
16+
uses: JamesIves/github-sponsors-readme-action@v1
17+
with:
18+
token: ${{ secrets.PAT }}
19+
file: 'README.md'
20+
21+
- name: Deploy to GitHub Pages 🚀
22+
uses: JamesIves/github-pages-deploy-action@v4
23+
with:
24+
branch: main
25+
folder: '.'

Compile.ps1

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,10 @@ Get-ChildItem .\config | Where-Object {$psitem.extension -eq ".json"} | ForEach-
5656

5757
# Replace every XML Special Character so it'll render correctly in final build
5858
# Only do so if json files has content to be displayed (for example the applications, tweaks, features json files)
59-
# Some Type Convertion using Casting and Cleaning Up of the convertion result using 'Replace' Method
59+
# Make an Array List containing every name at first level of Json File
6060
$jsonAsObject = $json | convertfrom-json
61-
$firstLevelJsonList = ([System.String]$jsonAsObject).split('=;') | ForEach-Object {
62-
$_.Replace('=}','').Replace('@{','').Replace(' ','')
63-
}
64-
61+
$firstLevelJsonList = [System.Collections.ArrayList]::new()
62+
$jsonAsObject.PSObject.Properties.Name | ForEach-Object {$null = $firstLevelJsonList.Add($_)}
6563
# Note:
6664
# Avoid using HTML Entity Codes, for example '”' (stands for "Right Double Quotation Mark"),
6765
# Use **HTML decimal/hex codes instead**, as using HTML Entity Codes will result in XML parse Error when running the compiled script.

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Chris Titus Tech's Windows Utility
22

3-
[![Version](https://img.shields.io/github/v/release/ChrisTitusTech/winutil?color=7a39fb)](https://github.com/ChrisTitusTech/winutil/releases/latest)
4-
![GitHub Downloads (all assets, latest release)](https://img.shields.io/github/downloads/ChrisTitusTech/winutil/latest/total)
5-
[![](https://dcbadge.limes.pink/api/server/https://discord.gg/RUbZUZyByQ)](https://discord.gg/RUbZUZyByQ)
3+
[![Version](https://img.shields.io/github/v/release/ChrisTitusTech/winutil?color=%230567ff&label=Latest%20Release&style=for-the-badge)](https://github.com/ChrisTitusTech/winutil/releases/latest)
4+
![GitHub Downloads (specific asset, all releases)](https://img.shields.io/github/downloads/ChrisTitusTech/winutil/winutil.ps1?label=Total%20Downloads&style=for-the-badge)
5+
[![](https://dcbadge.limes.pink/api/server/https://discord.gg/RUbZUZyByQ?theme=default-inverted&style=for-the-badge)](https://discord.gg/RUbZUZyByQ)
66

77
This utility is a compilation of Windows tasks I perform on each Windows system I use. It is meant to streamline *installs*, debloat with *tweaks*, troubleshoot with *config*, and fix Windows *updates*. I am extremely picky about any contributions to keep this project clean and efficient.
88

@@ -41,9 +41,7 @@ If you have Issues, refer to [Known Issues](https://christitustech.github.io/win
4141

4242
### [WinUtil Official Documentation](https://christitustech.github.io/winutil/)
4343

44-
### YouTube Tutorial
45-
46-
[![Watch the video](https://img.youtube.com/vi/6UQZ5oQg8XA/hqdefault.jpg)](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
44+
### [YouTube Tutorial](https://www.youtube.com/watch?v=6UQZ5oQg8XA)
4745

4846
### [ChrisTitus.com Article](https://christitus.com/windows-tool/)
4947

@@ -52,6 +50,12 @@ If you have Issues, refer to [Known Issues](https://christitustech.github.io/win
5250
- To morally and mentally support the project, make sure to leave a ⭐️!
5351
- EXE Wrapper for $10 @ https://www.cttstore.com/windows-toolbox
5452

53+
## 💖 Sponsors
54+
55+
These are the sponsors that help keep this project alive with monthly contributions.
56+
57+
<!-- sponsors --><a href="https://github.com/GregoryNavasarkian"><img src="https://github.com/GregoryNavasarkian.png" width="60px" alt="Gregory Navasarkian" /></a><a href="https://github.com/ysaito8015"><img src="https://github.com/ysaito8015.png" width="60px" alt="Yusuke Saito" /></a><a href="https://github.com/TriHydera"><img src="https://github.com/TriHydera.png" width="60px" alt="TriHydera" /></a><a href="https://github.com/jozozovko"><img src="https://github.com/jozozovko.png" width="60px" alt="" /></a><a href="https://github.com/DelDongo"><img src="https://github.com/DelDongo.png" width="60px" alt="" /></a><a href="https://github.com/markamos"><img src="https://github.com/markamos.png" width="60px" alt="Mark Amos" /></a><a href="https://github.com/dwelfusius"><img src="https://github.com/dwelfusius.png" width="60px" alt="" /></a><a href="https://github.com/mews-se"><img src="https://github.com/mews-se.png" width="60px" alt="" /></a><a href="https://github.com/jdiegmueller"><img src="https://github.com/jdiegmueller.png" width="60px" alt="Jason A. Diegmueller" /></a><a href="https://github.com/AlanTristar"><img src="https://github.com/AlanTristar.png" width="60px" alt="" /></a><a href="https://github.com/JennJones89"><img src="https://github.com/JennJones89.png" width="60px" alt="" /></a><a href="https://github.com/broganbranstetter"><img src="https://github.com/broganbranstetter.png" width="60px" alt="Brogan Branstetter" /></a><a href="https://github.com/zepled112"><img src="https://github.com/zepled112.png" width="60px" alt="wyatt" /></a><a href="https://github.com/TDWillingham"><img src="https://github.com/TDWillingham.png" width="60px" alt="MetalliDan28" /></a><a href="https://github.com/frankolivares"><img src="https://github.com/frankolivares.png" width="60px" alt="" /></a><a href="https://github.com/Cube707"><img src="https://github.com/Cube707.png" width="60px" alt="Jan Wille" /></a><a href="https://github.com/Owen-3456"><img src="https://github.com/Owen-3456.png" width="60px" alt="Owen" /></a><a href="https://github.com/altugtekiner"><img src="https://github.com/altugtekiner.png" width="60px" alt="" /></a><a href="https://github.com/getsmor"><img src="https://github.com/getsmor.png" width="60px" alt="" /></a><a href="https://github.com/robertsandrock"><img src="https://github.com/robertsandrock.png" width="60px" alt="" /></a><a href="https://github.com/jeffnesbit"><img src="https://github.com/jeffnesbit.png" width="60px" alt="" /></a><a href="https://github.com/mmomega"><img src="https://github.com/mmomega.png" width="60px" alt="" /></a><a href="https://github.com/KenichiQaz"><img src="https://github.com/KenichiQaz.png" width="60px" alt="Stefan" /></a><!-- sponsors -->
58+
5559
## 🏅 Thanks to all Contributors
5660
Thanks a lot for spending your time helping Winutil grow. Thanks a lot! Keep rocking 🍻.
5761

config/applications.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2639,6 +2639,14 @@
26392639
"link": "https://zoom.us/",
26402640
"winget": "Zoom.Zoom"
26412641
},
2642+
"zoomit": {
2643+
"category": "Utilities",
2644+
"choco": "na",
2645+
"content": "ZoomIt",
2646+
"description": "A screen zoom, annotation, and recording tool for technical presentations and demos",
2647+
"link": "https://learn.microsoft.com/en-us/sysinternals/downloads/zoomit",
2648+
"winget": "Microsoft.Sysinternals.ZoomIt"
2649+
},
26422650
"zotero": {
26432651
"category": "Document",
26442652
"choco": "zotero",
@@ -2879,12 +2887,60 @@
28792887
"link": "https://github.com/xM4ddy/OFGB",
28802888
"winget": "xM4ddy.OFGB"
28812889
},
2890+
"PaleMoon": {
2891+
"category": "Browsers",
2892+
"choco": "paleMoon",
2893+
"content": "PaleMoon",
2894+
"description":"Pale Moon is an Open Source, Goanna-based web browser available for Microsoft Windows and Linux (with other operating systems in development), focusing on efficiency and ease of use.",
2895+
"link": "https://www.palemoon.org/download.shtml",
2896+
"winget": "MoonchildProductions.PaleMoon"
2897+
},
28822898
"Shotcut": {
28832899
"category": "Multimedia Tools",
28842900
"choco": "na",
28852901
"content": "Shotcut",
28862902
"description": "Shotcut is a free, open source, cross-platform video editor.",
28872903
"link": "https://shotcut.org/",
28882904
"winget": "Meltytech.Shotcut"
2905+
},
2906+
"LenovoLegionToolkit": {
2907+
"category": "Utilities",
2908+
"choco": "na",
2909+
"content": "Lenovo Legion Toolkit",
2910+
"description": "Lenovo Legion Toolkit (LLT) is a open-source utility created for Lenovo Legion (and similar) series laptops, that allows changing a couple of features that are only available in Lenovo Vantage or Legion Zone. It runs no background services, uses less memory, uses virtually no CPU, and contains no telemetry. Just like Lenovo Vantage, this application is Windows only.",
2911+
"link": "https://github.com/BartoszCichecki/LenovoLegionToolkit",
2912+
"winget": "BartoszCichecki.LenovoLegionToolkit"
2913+
},
2914+
"PulsarEdit": {
2915+
"category": "Development",
2916+
"choco": "pulsar",
2917+
"content": "Pulsar",
2918+
"description": "A Community-led Hyper-Hackable Text Editor",
2919+
"link": "https://pulsar-edit.dev/",
2920+
"winget": "Pulsar-Edit.Pulsar"
2921+
},
2922+
"Aegisub": {
2923+
"category": "Development",
2924+
"choco": "aegisub",
2925+
"content": "Aegisub",
2926+
"description": "Aegisub is a free, cross-platform open source tool for creating and modifying subtitles. Aegisub makes it quick and easy to time subtitles to audio, and features many powerful tools for styling them, including a built-in real-time video preview.",
2927+
"link": "https://github.com/Aegisub/Aegisub",
2928+
"winget": "Aegisub.Aegisub"
2929+
},
2930+
"SubtitleEdit": {
2931+
"category": "Multimedia Tools",
2932+
"choco": "na",
2933+
"content": "Subtitle Edit",
2934+
"description": "Subtitle Edit is a free and open source editor for video subtitles.",
2935+
"link": "https://github.com/SubtitleEdit/subtitleedit",
2936+
"winget": "Nikse.SubtitleEdit"
2937+
},
2938+
"Fork": {
2939+
"category": "Development",
2940+
"choco": "git-fork",
2941+
"content": "Fork",
2942+
"description": "Fork - a fast and friendly git client.",
2943+
"link": "https://git-fork.com/",
2944+
"winget": "Fork.Fork"
28892945
}
28902946
}

config/tweaks.json

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,19 +2294,35 @@
22942294
"panel": "1",
22952295
"Order": "a006_",
22962296
"InvokeScript": [
2297-
"
2298-
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\" -Name \"TaskbarEndTask\" -Type \"DWord\" -Value \"1\"
2299-
"
2297+
"$path = \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\"
2298+
$name = \"TaskbarEndTask\"
2299+
$value = 1
2300+
2301+
# Ensure the registry key exists
2302+
if (-not (Test-Path $path)) {
2303+
New-Item -Path $path -Force | Out-Null
2304+
}
2305+
2306+
# Set the property, creating it if it doesn't exist
2307+
New-ItemProperty -Path $path -Name $name -PropertyType DWord -Value $value -Force | Out-Null"
23002308
],
23012309
"UndoScript": [
2302-
"
2303-
Set-ItemProperty -Path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\" -Name \"TaskbarEndTask\" -Type \"DWord\" -Value \"0\"
2304-
"
2310+
"$path = \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\TaskbarDeveloperSettings\"
2311+
$name = \"TaskbarEndTask\"
2312+
$value = 0
2313+
2314+
# Ensure the registry key exists
2315+
if (-not (Test-Path $path)) {
2316+
New-Item -Path $path -Force | Out-Null
2317+
}
2318+
2319+
# Set the property, creating it if it doesn't exist
2320+
New-ItemProperty -Path $path -Name $name -PropertyType DWord -Value $value -Force | Out-Null"
23052321
]
23062322
},
23072323
"WPFTweaksPowershell7": {
2308-
"Content": "Replace Default Powershell 5 to Powershell 7",
2309-
"Description": "This will edit the config file of the Windows Terminal Replacing the Powershell 5 to Powershell 7 and install Powershell 7 if necessary",
2324+
"Content": "Change Windows Terminal default: PowerShell 5 -> PowerShell 7",
2325+
"Description": "This will edit the config file of the Windows Terminal replacing PowerShell 5 with PowerShell 7 and installing PS7 if necessary",
23102326
"category": "Essential Tweaks",
23112327
"panel": "1",
23122328
"Order": "a009_",
@@ -3067,36 +3083,52 @@
30673083
"Order": "a108_",
30683084
"Type": "Toggle"
30693085
},
3086+
"WPFToggleHiddenFiles": {
3087+
"Content": "Show Hidden Files",
3088+
"Description": "If Enabled then Hidden Files will be shown.",
3089+
"category": "Customize Preferences",
3090+
"panel": "2",
3091+
"Order": "a200_",
3092+
"Type": "Toggle"
3093+
},
30703094
"WPFToggleShowExt": {
30713095
"Content": "Show File Extensions",
30723096
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
30733097
"category": "Customize Preferences",
30743098
"panel": "2",
3075-
"Order": "a200_",
3099+
"Order": "a201_",
30763100
"Type": "Toggle"
30773101
},
30783102
"WPFToggleTaskbarSearch": {
30793103
"Content": "Show Search Button in Taskbar",
30803104
"Description": "If Enabled Search Button will be on the taskbar.",
30813105
"category": "Customize Preferences",
30823106
"panel": "2",
3083-
"Order": "a201_",
3107+
"Order": "a202_",
30843108
"Type": "Toggle"
30853109
},
30863110
"WPFToggleTaskView": {
30873111
"Content": "Show Task View Button in Taskbar",
30883112
"Description": "If Enabled then Task View Button in Taskbar will be shown.",
30893113
"category": "Customize Preferences",
30903114
"panel": "2",
3091-
"Order": "a202_",
3115+
"Order": "a203_",
30923116
"Type": "Toggle"
30933117
},
30943118
"WPFToggleTaskbarWidgets": {
30953119
"Content": "Show Widgets Button in Taskbar",
30963120
"Description": "If Enabled then Widgets Button in Taskbar will be shown.",
30973121
"category": "Customize Preferences",
30983122
"panel": "2",
3099-
"Order": "a203_",
3123+
"Order": "a204_",
3124+
"Type": "Toggle"
3125+
},
3126+
"WPFToggleTaskbarAlignment": {
3127+
"Content": "Switch Taskbar Items between Center & Left",
3128+
"Description": "[Windows 11] If Enabled then the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
3129+
"category": "Customize Preferences",
3130+
"panel": "2",
3131+
"Order": "a204_",
31003132
"Type": "Toggle"
31013133
},
31023134
"WPFOOSUbutton": {

0 commit comments

Comments
 (0)