Compare commits

...

6 Commits

Author SHA1 Message Date
Chris Titus
7ceb303f00 chore: Update generated dev docs (#4138) 2026-03-02 13:08:27 -06:00
Paweł Gwozdowski
30c9812d37 Fix typos and inconsistent punctuation in tweaks & apps descriptions (#4136)
* Update tweaks.json

* Update applications.json

* Update feature.json

* Update tweaks.json

* Update tweaks.json

* more typos

* Update applications.json
2026-03-02 13:07:54 -06:00
KamaleiZestri
ddc10b0935 Unite preferences (#4133)
* One preference file

* Set default before converting types
2026-03-02 13:05:43 -06:00
Chris Titus
a2e2395ce9 chore: Update generated dev docs (#4137) 2026-03-02 13:05:08 -06:00
Gabi
ce5e407a76 Add WPFToggleStandbyFix (#4132)
* Add WPFToggleStandbyFix

* Update config/tweaks.json

Co-authored-by: Paweł Gwozdowski <kernea.g@proton.me>

---------

Co-authored-by: Paweł Gwozdowski <kernea.g@proton.me>
2026-03-02 13:04:34 -06:00
Eren
3fb5c04693 Fix import/export functionality (#4131)
* fix: cast selections to string to prevent PSCustomObject type issues

* fix(presets): clear existing selections before importing to replace state instead of merging

* refactor(impex): warn user when exporting empty selections or importing empty config
2026-03-02 13:02:48 -06:00
61 changed files with 348 additions and 255 deletions

View File

@@ -36,7 +36,7 @@
"category": "Document",
"choco": "na",
"content": "AFFiNE",
"description": "AFFiNE is an open source alternative to Notion. Write, draw, plan all at once. Selfhost it to sync across devices.",
"description": "AFFiNE is an open-source alternative to Notion. Write, draw, plan all at once. Selfhost it to sync across devices.",
"link": "https://affine.pro/",
"winget": "ToEverything.AFFiNE",
"foss": true
@@ -105,7 +105,7 @@
"category": "Microsoft Tools",
"choco": "autoruns",
"content": "Autoruns",
"description": "This utility shows you what programs are configured to run during system bootup or login",
"description": "This utility shows you what programs are configured to run during system bootup or login.",
"link": "https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns",
"winget": "Microsoft.Sysinternals.Autoruns"
},
@@ -156,7 +156,7 @@
"category": "Communications",
"choco": "na",
"content": "Beeper",
"description": "All your chats in one app",
"description": "All your chats in one app.",
"link": "https://www.beeper.com/",
"winget": "Beeper.Beeper"
},
@@ -173,7 +173,7 @@
"category": "Utilities",
"choco": "bleachbit",
"content": "BleachBit",
"description": "Clean Your System and Free Disk Space",
"description": "Clean Your System and Free Disk Space.",
"link": "https://www.bleachbit.org/",
"winget": "BleachBit.BleachBit",
"foss": true
@@ -593,7 +593,7 @@
"category": "Utilities",
"choco": "espanso",
"content": "Espanso",
"description": "Cross-platform and open-source Text Expander written in Rust",
"description": "Cross-platform and open-source Text Expander written in Rust.",
"link": "https://espanso.org/",
"winget": "Espanso.Espanso",
"foss": true
@@ -620,7 +620,7 @@
"category": "Utilities",
"choco": "na",
"content": "Fastfetch",
"description": "Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way",
"description": "Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way.",
"link": "https://github.com/fastfetch-cli/fastfetch/",
"winget": "Fastfetch-cli.Fastfetch",
"foss": true
@@ -646,7 +646,7 @@
"category": "Utilities",
"choco": "file-converter",
"content": "File-Converter",
"description": "File Converter is a very simple tool which allows you to convert and compress one or several file(s) using the context menu in windows explorer.",
"description": "File Converter is a very simple tool which allows you to convert and compress one or several file(s) using the context menu in Windows Explorer.",
"link": "https://file-converter.io/",
"winget": "AdrienAllard.FileConverter",
"foss": true
@@ -699,7 +699,7 @@
"category": "Multimedia Tools",
"choco": "lightshot",
"content": "Lightshot (Screenshots)",
"description": "Ligthshot is an Easy-to-use, light-weight screenshot software tool, where you can optionally edit your screenshots using different tools, share them via Internet and/or save to disk, and customize the available options.",
"description": "Ligthshot is an easy-to-use, light-weight screenshot software tool, where you can optionally edit your screenshots using different tools, share them via Internet and/or save to disk, and customize the available options.",
"link": "https://app.prntscr.com/",
"winget": "Skillbrains.Lightshot"
},
@@ -775,7 +775,7 @@
"category": "Utilities",
"choco": "fzf",
"content": "Fzf",
"description": "A command-line fuzzy finder",
"description": "A command-line fuzzy finder.",
"link": "https://github.com/junegunn/fzf/",
"winget": "junegunn.fzf",
"foss": true
@@ -895,7 +895,7 @@
"category": "Utilities",
"choco": "googledrive",
"content": "Google Drive",
"description": "File syncing across devices all tied to your google account",
"description": "File syncing across devices all tied to your Google account.",
"link": "https://www.google.com/drive/",
"winget": "Google.GoogleDrive"
},
@@ -955,7 +955,7 @@
"category": "Development",
"choco": "helix",
"content": "Helix",
"description": "Helix is a neovim alternative built in rust.",
"description": "Helix is a neovim alternative built in Rust.",
"link": "https://helix-editor.com/",
"winget": "Helix.Helix",
"foss": true
@@ -1147,7 +1147,7 @@
"category": "Utilities",
"choco": "jpegview",
"content": "JPEG View",
"description": "JPEGView is a lean, fast and highly configurable viewer/editor for JPEG, BMP, PNG, WEBP, TGA, GIF, JXL, HEIC, HEIF, AVIF and TIFF images with a minimal GUI",
"description": "JPEGView is a lean, fast and highly configurable viewer/editor for JPEG, BMP, PNG, WEBP, TGA, GIF, JXL, HEIC, HEIF, AVIF and TIFF images with a minimal GUI.",
"link": "https://github.com/sylikc/jpegview",
"winget": "sylikc.JPEGView",
"foss": true
@@ -1209,7 +1209,7 @@
"category": "Development",
"choco": "lazygit",
"content": "Lazygit",
"description": "Simple terminal UI for git commands",
"description": "Simple terminal UI for git commands.",
"link": "https://github.com/jesseduffield/lazygit/",
"winget": "JesseDuffield.lazygit",
"foss": true
@@ -1262,7 +1262,7 @@
"category": "Utilities",
"choco": "localsend.install",
"content": "LocalSend",
"description": "An open source cross-platform alternative to AirDrop.",
"description": "An open-source cross-platform alternative to AirDrop.",
"link": "https://localsend.org/",
"winget": "LocalSend.LocalSend",
"foss": true
@@ -1323,7 +1323,7 @@
"category": "Multimedia Tools",
"choco": "na",
"content": "Modern Flyouts",
"description": "An open source, modern, Fluent Design-based set of flyouts for Windows.",
"description": "An open-source, modern, Fluent Design-based set of flyouts for Windows.",
"link": "https://github.com/ModernFlyouts-Community/ModernFlyouts/",
"winget": "ModernFlyouts.ModernFlyouts",
"foss": true
@@ -1377,7 +1377,7 @@
"category": "Utilities",
"choco": "msedgeredirect",
"content": "MSEdgeRedirect",
"description": "A Tool to Redirect News, Search, Widgets, Weather, and More to Your Default Browser.",
"description": "A Tool to Redirect News, Search, Widgets, Weather, and More to your default browser.",
"link": "https://github.com/rcmaehl/MSEdgeRedirect",
"winget": "rcmaehl.MSEdgeRedirect",
"foss": true
@@ -1473,7 +1473,7 @@
"category": "Multimedia Tools",
"choco": "tagscanner",
"content": "TagScanner (Tag Scanner)",
"description": "TagScanner is a powerful tool for organizing and managing your music collection",
"description": "TagScanner is a powerful tool for organizing and managing your music collection.",
"link": "https://www.xdlab.ru/en/",
"winget": "SergeySerkov.TagScanner"
},
@@ -1490,7 +1490,7 @@
"category": "Pro Tools",
"choco": "netbird",
"content": "NetBird",
"description": "NetBird is a Open Source alternative comparable to TailScale that can be connected to a selfhosted Server.",
"description": "NetBird is a open-source alternative comparable to TailScale that can be connected to a selfhosted Server.",
"link": "https://netbird.io/",
"winget": "netbird",
"foss": true
@@ -1895,7 +1895,7 @@
"category": "Games",
"choco": "prismlauncher",
"content": "Prism Launcher",
"description": "Prism Launcher is an Open Source Minecraft launcher with the ability to manage multiple instances, accounts and mods.",
"description": "Prism Launcher is an open-source Minecraft launcher with the ability to manage multiple instances, accounts and mods.",
"link": "https://prismlauncher.org/",
"winget": "PrismLauncher.PrismLauncher",
"foss": true
@@ -1929,7 +1929,7 @@
"category": "Utilities",
"choco": "orcaslicer",
"content": "OrcaSlicer",
"description": "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)",
"description": "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.).",
"link": "https://github.com/SoftFever/OrcaSlicer",
"winget": "SoftFever.OrcaSlicer",
"foss": true
@@ -1982,7 +1982,7 @@
"category": "Utilities",
"choco": "transmission",
"content": "Transmission",
"description": "Transmission is a cross-platform BitTorrent client that is open source, easy, powerful, and lean.",
"description": "Transmission is a cross-platform BitTorrent client that is open-source, easy, powerful, and lean.",
"link": "https://transmissionbt.com/",
"winget": "Transmission.Transmission",
"foss": true
@@ -2008,7 +2008,7 @@
"category": "Utilities",
"choco": "quicklook",
"content": "Quicklook",
"description": "Bring macOS \u201cQuick Look\u201d feature to Windows",
"description": "Bring macOS \u201cQuick Look\u201d feature to Windows.",
"link": "https://github.com/QL-Win/QuickLook",
"winget": "QL-Win.QuickLook",
"foss": true
@@ -2051,7 +2051,7 @@
"category": "Utilities",
"choco": "ripgrep",
"content": "Ripgrep",
"description": "Fast and powerful commandline search tool",
"description": "Fast and powerful commandline search tool.",
"link": "https://github.com/BurntSushi/ripgrep/",
"winget": "BurntSushi.ripgrep.MSVC",
"foss": true
@@ -2209,7 +2209,7 @@
"category": "Utilities",
"choco": "spacesniffer",
"content": "SpaceSniffer",
"description": "A tool application that lets you understand how folders and files are structured on your disks",
"description": "A tool application that lets you understand how folders and files are structured on your disks.",
"link": "http://www.uderzo.it/main_products/space_sniffer/",
"winget": "UderzoSoftware.SpaceSniffer"
},
@@ -2277,7 +2277,7 @@
"category": "Document",
"choco": "na",
"content": "PDFgear",
"description": "PDFgear is a piece of full-featured PDF management software for Windows, Mac, and mobile, and it's completely free to use.",
"description": "PDFgear is a piece of full-featured PDF management software for Windows, macOS, and mobile, and it's completely free to use.",
"link": "https://www.pdfgear.com/",
"winget": "PDFgear.PDFgear"
},
@@ -2312,7 +2312,7 @@
"category": "Utilities",
"choco": "synctrayzor",
"content": "SyncTrayzor",
"description": "Windows tray utility / filesystem watcher / launcher for Syncthing",
"description": "Windows tray utility / filesystem watcher / launcher for Syncthing.",
"link": "https://github.com/GermanCoding/SyncTrayzor",
"winget": "GermanCoding.SyncTrayzor",
"foss": true
@@ -2329,7 +2329,7 @@
"category": "Utilities",
"choco": "tabby",
"content": "Tabby.sh",
"description": "Tabby is a highly configurable terminal emulator, SSH and serial client for Windows, macOS and Linux",
"description": "Tabby is a highly configurable terminal emulator, SSH and serial client for Windows, macOS and Linux.",
"link": "https://tabby.sh/",
"winget": "Eugeny.Tabby",
"foss": true
@@ -2389,7 +2389,7 @@
"category": "Communications",
"choco": "na",
"content": "Unigram",
"description": "Unigram - Telegram for Windows",
"description": "Unigram - Telegram for Windows.",
"link": "https://unigramdev.github.io/",
"winget": "Telegram.Unigram",
"foss": true
@@ -2416,7 +2416,7 @@
"category": "Development",
"choco": "na",
"content": "Code With Mu (Mu Editor)",
"description": "Mu is a Python code editor for beginner programmers",
"description": "Mu is a Python code editor for beginner programmers.",
"link": "https://codewith.mu/",
"winget": "Mu.Mu",
"foss": true
@@ -2425,7 +2425,7 @@
"category": "Browsers",
"choco": "thorium",
"content": "Thorium Browser AVX2",
"description": "Browser built for speed over vanilla chromium. It is built with AVX2 optimizations and is the fastest browser on the market.",
"description": "Browser built for speed over vanilla Chromium. It is built with AVX2 optimizations and is the fastest browser on the market.",
"link": "https://thorium.rocks/",
"winget": "Alex313031.Thorium.AVX2",
"foss": true
@@ -2485,7 +2485,7 @@
"category": "Utilities",
"choco": "translucenttb",
"content": "TranslucentTB",
"description": "TranslucentTB is a tool that allows you to customize the transparency of the Windows taskbar.",
"description": "TranslucentTB is a tool that allows you to customize the transparency of the Windows Taskbar.",
"link": "https://github.com/TranslucentTB/TranslucentTB",
"winget": "9PF4KZ2VN4W9",
"foss": true
@@ -2673,7 +2673,7 @@
"category": "Development",
"choco": "wezterm",
"content": "Wezterm",
"description": "WezTerm is a powerful cross-platform terminal emulator and multiplexer",
"description": "WezTerm is a powerful cross-platform terminal emulator and multiplexer.",
"link": "https://wezfurlong.org/wezterm/index.html",
"winget": "wez.wezterm",
"foss": true
@@ -2768,7 +2768,7 @@
"category": "Utilities",
"choco": "TeraCopy",
"content": "TeraCopy",
"description": "Copy your files faster and more securely",
"description": "Copy your files faster and more securely.",
"link": "https://codesector.com/teracopy",
"winget": "CodeSector.TeraCopy"
},
@@ -2792,7 +2792,7 @@
"category": "Utilities",
"choco": "xdm",
"content": "Xtreme Download Manager",
"description": "Xtreme Download Manager is an advanced download manager with support for various protocols and browsers.*Browser integration deprecated by google store. No official release.*",
"description": "Xtreme Download Manager is an advanced download manager with support for various protocols and browsers. *Browser integration deprecated by google store. No official release.*",
"link": "https://xtremedownloadmanager.com/",
"winget": "subhra74.XtremeDownloadManager",
"foss": true
@@ -2896,7 +2896,7 @@
"category": "Utilities",
"choco": "na",
"content": "ZoomIt",
"description": "A screen zoom, annotation, and recording tool for technical presentations and demos",
"description": "A screen zoom, annotation, and recording tool for technical presentations and demos.",
"link": "https://learn.microsoft.com/en-us/sysinternals/downloads/zoomit",
"winget": "Microsoft.Sysinternals.ZoomIt"
},
@@ -2931,7 +2931,7 @@
"category": "Utilities",
"choco": "syncthingtray",
"content": "Syncthingtray",
"description": "Might be the alternative for Synctrayzor. Windows tray utility / filesystem watcher / launcher for Syncthing",
"description": "Might be the alternative for Synctrayzor. Windows tray utility / filesystem watcher / launcher for Syncthing.",
"link": "https://github.com/Martchus/syncthingtray",
"winget": "Martchus.syncthingtray",
"foss": true
@@ -2958,7 +2958,7 @@
"category": "Development",
"choco": "temurin",
"content": "Eclipse Temurin",
"description": "Eclipse Temurin is the open source Java SE build based upon OpenJDK.",
"description": "Eclipse Temurin is the open-source Java SE build based upon OpenJDK.",
"link": "https://adoptium.net/temurin/",
"winget": "EclipseAdoptium.Temurin.21.JDK",
"foss": true
@@ -2985,7 +2985,7 @@
"category": "Utilities",
"choco": "TightVNC",
"content": "TightVNC",
"description": "TightVNC is a free and Open Source remote desktop software that lets you access and control a computer over the network. With its intuitive interface, you can interact with the remote screen as if you were sitting in front of it. You can open files, launch applications, and perform other actions on the remote desktop almost as if you were physically there",
"description": "TightVNC is a free and open-source remote desktop software that lets you access and control a computer over the network. With its intuitive interface, you can interact with the remote screen as if you were sitting in front of it. You can open files, launch applications, and perform other actions on the remote desktop almost as if you were physically there.",
"link": "https://www.tightvnc.com/",
"winget": "GlavSoft.TightVNC",
"foss": true
@@ -3019,7 +3019,7 @@
"category": "Utilities",
"choco": "auto-dark-mode",
"content": "Windows Auto Dark Mode",
"description": "Automatically switches between the dark and light theme of Windows 10 and Windows 11",
"description": "Automatically switches between the dark and light theme of Windows 10 and Windows 11.",
"link": "https://github.com/AutoDarkMode/Windows-Auto-Night-Mode",
"winget": "Armin2208.WindowsAutoNightMode",
"foss": true
@@ -3037,7 +3037,7 @@
"category": "Utilities",
"choco": "magic-wormhole",
"content": "Magic Wormhole",
"description": "get things from one computer to another, safely",
"description": "get things from one computer to another, safely.",
"link": "https://github.com/magic-wormhole/magic-wormhole",
"winget": "magic-wormhole.magic-wormhole",
"foss": true
@@ -3055,7 +3055,7 @@
"category": "Multimedia Tools",
"choco": "qgis",
"content": "QGIS",
"description": "QGIS (Quantum GIS) is an open-source Geographic Information System (GIS) software that enables users to create, edit, visualize, analyze, and publish geospatial information on Windows, Mac, and Linux platforms.",
"description": "QGIS (Quantum GIS) is an open-source Geographic Information System (GIS) software that enables users to create, edit, visualize, analyze, and publish geospatial information on Windows, macOS, and Linux platforms.",
"link": "https://qgis.org/en/site/",
"winget": "OSGeo.QGIS",
"foss": true
@@ -3073,7 +3073,7 @@
"category": "Utilities",
"choco": "na",
"content": "GlazeWM",
"description": "GlazeWM is a tiling window manager for Windows inspired by i3 and Polybar",
"description": "GlazeWM is a tiling window manager for Windows inspired by i3 and Polybar.",
"link": "https://github.com/glzr-io/glazewm",
"winget": "glzr-io.glazewm",
"foss": true
@@ -3091,7 +3091,7 @@
"category": "Development",
"choco": "fnm",
"content": "Fast Node Manager",
"description": "Fast Node Manager (fnm) allows you to switch your Node version by using the Terminal",
"description": "Fast Node Manager (fnm) allows you to switch your Node version by using the terminal.",
"link": "https://github.com/Schniz/fnm",
"winget": "Schniz.fnm",
"foss": true
@@ -3100,7 +3100,7 @@
"category": "Utilities",
"choco": "windhawk",
"content": "Windhawk",
"description": "The customization marketplace for Windows programs",
"description": "The customization marketplace for Windows programs.",
"link": "https://windhawk.net",
"winget": "RamenSoftware.Windhawk"
},
@@ -3108,7 +3108,7 @@
"category": "Utilities",
"choco": "na",
"content": "ForceAutoHDR",
"description": "ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry",
"description": "ForceAutoHDR simplifies the process of adding games to the AutoHDR list in the Windows Registry.",
"link": "https://github.com/7gxycn08/ForceAutoHDR",
"winget": "ForceAutoHDR.7gxycn08",
"foss": true
@@ -3117,7 +3117,7 @@
"category": "Utilities",
"choco": "joytokey",
"content": "JoyToKey",
"description": "enables PC game controllers to emulate the keyboard and mouse input",
"description": "Enables PC game controllers to emulate the keyboard and mouse input.",
"link": "https://joytokey.net/en/",
"winget": "JTKsoftware.JoyToKey"
},
@@ -3159,7 +3159,7 @@
"category": "Browsers",
"choco": "paleMoon",
"content": "PaleMoon",
"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.",
"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.",
"link": "https://www.palemoon.org/download.shtml",
"winget": "MoonchildProductions.PaleMoon",
"foss": true
@@ -3168,7 +3168,7 @@
"category": "Multimedia Tools",
"choco": "na",
"content": "Shotcut",
"description": "Shotcut is a free, open source, cross-platform video editor.",
"description": "Shotcut is a free, open-source, cross-platform video editor.",
"link": "https://shotcut.org/",
"winget": "Meltytech.Shotcut",
"foss": true
@@ -3195,7 +3195,7 @@
"category": "Development",
"choco": "aegisub",
"content": "Aegisub",
"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.",
"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.",
"link": "https://github.com/Aegisub/Aegisub",
"winget": "Aegisub.Aegisub",
"foss": true
@@ -3204,7 +3204,7 @@
"category": "Multimedia Tools",
"choco": "na",
"content": "Subtitle Edit",
"description": "Subtitle Edit is a free and open source editor for video subtitles.",
"description": "Subtitle Edit is a free and open-source editor for video subtitles.",
"link": "https://github.com/SubtitleEdit/subtitleedit",
"winget": "Nikse.SubtitleEdit",
"foss": true
@@ -3221,7 +3221,7 @@
"category": "Browsers",
"choco": "na",
"content": "Zen Browser",
"description": "The modern, privacy-focused, performance-driven browser built on Firefox",
"description": "The modern, privacy-focused, performance-driven browser built on Firefox.",
"link": "https://zen-browser.app/",
"winget": "Zen-Team.Zen-Browser",
"foss": true

View File

@@ -26,7 +26,7 @@
},
"WPFFeatureslegacymedia": {
"Content": "Legacy Media (WMP, DirectPlay)",
"Description": "Enables legacy programs from previous versions of windows",
"Description": "Enables legacy programs from previous versions of Windows.",
"category": "Features",
"panel": "1",
"feature": [

View File

@@ -1,7 +1,7 @@
{
"WPFTweaksActivity": {
"Content": "Disable Activity History",
"Description": "This erases recent docs, clipboard, and run history.",
"Description": "Erases recent docs, clipboard, and run history.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [
@@ -31,7 +31,7 @@
},
"WPFTweaksHiber": {
"Content": "Disable Hibernation",
"Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used",
"Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the PC off. It really should never be used.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [
@@ -60,7 +60,7 @@
},
"WPFTweaksWidget": {
"Content": "Remove Widgets",
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
"Description": "Removes the annoying widgets in the bottom left of the Taskbar.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [
@@ -89,7 +89,7 @@
},
"WPFTweaksRevertStartMenu": {
"Content": "Revert the new start menu",
"Description": "Uses vivetool to revert the the original start menu from 24h2",
"Description": "Uses vivetool to revert to the original start menu from 24H2.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
@@ -124,7 +124,7 @@
},
"WPFTweaksLocation": {
"Content": "Disable Location Tracking",
"Description": "Disables Location Tracking...DUH!",
"Description": "Disables Location Tracking.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [
@@ -1125,7 +1125,7 @@
},
"WPFTweaksBraveDebloat": {
"Content": "Brave Debloat",
"Description": "Disables various annoyances like Brave Rewards,Leo AI,Crypto Wallet and VPN",
"Description": "Disables various annoyances like Brave Rewards, Leo AI, Crypto Wallet and VPN.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [
@@ -1290,7 +1290,7 @@
},
"WPFTweaksConsumerFeatures": {
"Content": "Disable ConsumerFeatures",
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link).",
"category": "Essential Tweaks",
"panel": "1",
"registry": [
@@ -1306,7 +1306,7 @@
},
"WPFTweaksTelemetry": {
"Content": "Disable Telemetry",
"Description": "Disables Microsoft Telemetry...Duh",
"Description": "Disables Microsoft Telemetry.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [
@@ -1428,7 +1428,7 @@
},
"WPFTweaksRemoveEdge": {
"Content": "Remove Microsoft Edge",
"Description": "Unblocks Microsoft Edge uninstaller restrictions than uses that uninstaller to remove Microsoft Edge",
"Description": "Unblocks Microsoft Edge uninstaller restrictions then uses that uninstaller to remove Microsoft Edge.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
@@ -1460,7 +1460,7 @@
},
"WPFTweaksRemoveOneDrive": {
"Content": "Remove OneDrive",
"Description": "Denys permission to remove onedrive user files than uses its own uninstaller to remove it than brings back permissions",
"Description": "Denies permission to remove OneDrive user files, then uses its own uninstaller to remove it and restores the original permission afterward.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
@@ -1497,7 +1497,7 @@
},
"WPFTweaksRemoveHome": {
"Content": "Remove Home from Explorer",
"Description": "Removes the Home from Explorer and sets This PC as default",
"Description": "Removes the Home from Explorer and sets This PC as default.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
@@ -1516,7 +1516,7 @@
},
"WPFTweaksRemoveGallery": {
"Content": "Remove Gallery from explorer",
"Description": "Removes the Gallery from Explorer and sets This PC as default",
"Description": "Removes the Gallery from Explorer and sets This PC as default.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
@@ -1646,7 +1646,7 @@
},
"WPFTweaksDeBloat": {
"Content": "Remove ALL MS Store Apps - NOT RECOMMENDED",
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps.",
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft Store apps.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"appx": [
@@ -1735,7 +1735,7 @@
},
"WPFTweaksRestorePoint": {
"Content": "Create Restore Point",
"Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications",
"Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications.",
"category": "Essential Tweaks",
"panel": "1",
"Checked": "False",
@@ -1762,7 +1762,7 @@
},
"WPFTweaksEndTaskOnTaskbar": {
"Content": "Enable End Task With Right Click",
"Description": "Enables option to end task when right clicking a program in the taskbar",
"Description": "Enables option to end task when right clicking a program in the taskbar.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [
@@ -1778,7 +1778,7 @@
},
"WPFTweaksPowershell7Tele": {
"Content": "Disable Powershell 7 Telemetry",
"Description": "This will create an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell Powershell 7 to not send Telemetry Data.",
"Description": "Creates an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell PowerShell 7 to not send Telemetry Data.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [
@@ -1891,7 +1891,7 @@
},
"WPFTweaksWPBT": {
"Content": "Disable Windows Platform Binary Table (WPBT)",
"Description": "If enabled then allows your computer vendor to execute a program each time it boots. It enables computer vendors to force install anti-theft software, software drivers, or a software program conveniently. This could also be a security risk.",
"Description": "If enabled, WPBT allows your computer vendor to execute programs at boot time, such as anti-theft software, software drivers, as well as force install software without user consent. Poses potential security risk.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [
@@ -1949,7 +1949,7 @@
},
"WPFTweaksDisableNotifications": {
"Content": "Disable Notification Tray/Calendar",
"Description": "Disables all Notifications INCLUDING Calendar",
"Description": "Disables all Notifications INCLUDING Calendar.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [
@@ -1972,7 +1972,7 @@
},
"WPFTweaksBlockAdobeNet": {
"Content": "Adobe Network Block",
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
"Description": "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
@@ -2001,8 +2001,8 @@
"link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/blockadobenet"
},
"WPFTweaksRightClickMenu": {
"Content": "Set Classic Right-Click Menu ",
"Description": "Great Windows 11 tweak to bring back good context menus when right clicking things in explorer.",
"Content": "Set Classic Right-Click Menu",
"Description": "Restores the classic context menu when right-clicking in File Explorer, replacing the simplified Windows 11 version.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [
@@ -2037,7 +2037,7 @@
},
"WPFTweaksDeleteTempFiles": {
"Content": "Delete Temporary Files",
"Description": "Erases TEMP Folders",
"Description": "Erases TEMP Folders.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [
@@ -2050,7 +2050,7 @@
},
"WPFTweaksIPv46": {
"Content": "Prefer IPv4 over IPv6",
"Description": "To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.",
"Description": "Setting the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [
@@ -2066,7 +2066,7 @@
},
"WPFTweaksTeredo": {
"Content": "Disable Teredo",
"Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games",
"Description": "Teredo network tunneling is a IPv6 feature that can cause additional latency, but may cause problems with some games.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [
@@ -2110,7 +2110,7 @@
},
"WPFTweaksDisableBGapps": {
"Content": "Disable Background Apps",
"Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Win11",
"Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Windows 11.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [
@@ -2126,7 +2126,7 @@
},
"WPFTweaksDisableFSO": {
"Content": "Disable Fullscreen Optimizations",
"Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen",
"Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [
@@ -2184,7 +2184,7 @@
},
"WPFToggleBingSearch": {
"Content": "Bing Search in Start Menu",
"Description": "If enable then includes web search results from Bing in your Start Menu search.",
"Description": "If enabled, Bing web search results will be included in your Start Menu search.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2200,8 +2200,26 @@
],
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/bingsearch"
},
"WPFToggleStandbyFix": {
"Content": "Modern Standby fix",
"Description": "Disable network connection during S0 sleep. If network connectivity is turned on during S0 sleep it could cause overheating on modern laptops",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
"registry": [
{
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Power\\PowerSettings\\f15576e8-98b7-4186-b944-eafa664402d9",
"Name": "ACSettingIndex",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>",
"DefaultState": "true"
}
],
"link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/standbyfix"
},
"WPFToggleNumLock": {
"Content": "NumLock on Startup",
"Content": "Num Lock on Startup",
"Description": "Toggle the Num Lock key state when your computer starts.",
"category": "Customize Preferences",
"panel": "2",
@@ -2246,7 +2264,7 @@
},
"WPFToggleStartMenuRecommendations": {
"Content": "Recommendations in Start Menu",
"Description": "If disabled then you will not see recommendations in the Start Menu. WARNING: This will also disable Windows Spotlight on your Lock Screen as a side effect.",
"Description": "If disabled, then you will not see recommendations in the Start Menu. WARNING: This will also disable Windows Spotlight on your Lock Screen as a side effect.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2290,7 +2308,7 @@
},
"WPFToggleHideSettingsHome": {
"Content": "Remove Settings Home Page",
"Description": "Removes the Home page in the Windows Settings app.",
"Description": "Removes the Home Page in the Windows Settings app.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2308,7 +2326,7 @@
},
"WPFToggleMouseAcceleration": {
"Content": "Mouse Acceleration",
"Description": "If Enabled then Cursor movement is affected by the speed of your physical mouse movements.",
"Description": "If enabled, the Cursor movement is affected by the speed of your physical mouse movements.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2342,7 +2360,7 @@
},
"WPFToggleStickyKeys": {
"Content": "Sticky Keys",
"Description": "If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
"Description": "If enabled, Sticky Keys is activated. Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2360,7 +2378,7 @@
},
"WPFToggleNewOutlook": {
"Content": "New Outlook",
"Description": "If disabled it removes the toggle for new Outlook, disables the new Outlook migration and makes sure the Outlook Application actually uses the old Outlook.",
"Description": "If disabled, it removes the new Outlook toggle, disables the new Outlook migration, and ensures the classic Outlook application is used.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2420,7 +2438,7 @@
},
"WPFToggleHiddenFiles": {
"Content": "Show Hidden Files",
"Description": "If Enabled then Hidden Files will be shown.",
"Description": "If enabled, Hidden Files will be shown.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2448,7 +2466,7 @@
},
"WPFToggleShowExt": {
"Content": "Show File Extensions",
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
"Description": "If enabled, File extensions (e.g., .txt, .jpg) are visible.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2476,7 +2494,7 @@
},
"WPFToggleTaskbarSearch": {
"Content": "Search Button in Taskbar",
"Description": "If Enabled Search Button will be on the taskbar.",
"Description": "If enabled, Search Button will be on the Taskbar.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2494,7 +2512,7 @@
},
"WPFToggleTaskView": {
"Content": "Task View Button in Taskbar",
"Description": "If Enabled then Task View Button in Taskbar will be shown.",
"Description": "If enabled, Task View Button in Taskbar will be shown.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2512,7 +2530,7 @@
},
"WPFToggleTaskbarAlignment": {
"Content": "Center Taskbar Items",
"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.",
"Description": "[Windows 11] If enabled, the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2540,7 +2558,7 @@
},
"WPFToggleDetailedBSoD": {
"Content": "Detailed BSoD",
"Description": "If Enabled then you will see a detailed Blue Screen of Death (BSOD) with more information.",
"Description": "If enabled, you will see a detailed Blue Screen of Death (BSOD) with more information.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2566,7 +2584,7 @@
},
"WPFToggleS3Sleep": {
"Content": "S3 Sleep",
"Description": "Toggles between Modern Standby and S3 sleep.",
"Description": "Toggles between Modern Standby and S3 Sleep.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
@@ -2615,7 +2633,7 @@
},
"WPFTweaksDisableExplorerAutoDiscovery": {
"Content": "Disable Explorer Automatic Folder Discovery",
"Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience. WARNING! Will disable file explorer grouping",
"Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience. WARNING! Will disable File Explorer grouping.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/feature.json",linenos=inline,linenostart=27}
"WPFFeatureslegacymedia": {
"Content": "Legacy Media (WMP, DirectPlay)",
"Description": "Enables legacy programs from previous versions of windows",
"Description": "Enables legacy programs from previous versions of Windows.",
"category": "Features",
"panel": "1",
"feature": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=2185}
"WPFToggleBingSearch": {
"Content": "Bing Search in Start Menu",
"Description": "If enable then includes web search results from Bing in your Start Menu search.",
"Description": "If enabled, Bing web search results will be included in your Start Menu search.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Detailed BSoD"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2541}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2559}
"WPFToggleDetailedBSoD": {
"Content": "Detailed BSoD",
"Description": "If Enabled then you will see a detailed Blue Screen of Death (BSOD) with more information.",
"Description": "If enabled, you will see a detailed Blue Screen of Death (BSOD) with more information.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,7 +3,7 @@ title: "Cross-Device Resume"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2671}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2689}
"WPFToggleDisableCrossDeviceResume": {
"Content": "Cross-Device Resume",
"Description": "This tweak controls the Resume function in Windows 11 24H2 and later, which allows you to resume an activity from a mobile device and vice-versa.",

View File

@@ -3,10 +3,10 @@ title: "Show Hidden Files"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2421}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2439}
"WPFToggleHiddenFiles": {
"Content": "Show Hidden Files",
"Description": "If Enabled then Hidden Files will be shown.",
"Description": "If enabled, Hidden Files will be shown.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Remove Settings Home Page"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2291}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2309}
"WPFToggleHideSettingsHome": {
"Content": "Remove Settings Home Page",
"Description": "Removes the Home page in the Windows Settings app.",
"Description": "Removes the Home Page in the Windows Settings app.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Mouse Acceleration"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2309}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2327}
"WPFToggleMouseAcceleration": {
"Content": "Mouse Acceleration",
"Description": "If Enabled then Cursor movement is affected by the speed of your physical mouse movements.",
"Description": "If enabled, the Cursor movement is affected by the speed of your physical mouse movements.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,7 +3,7 @@ title: "Disable Multiplane Overlay"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2403}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2421}
"WPFToggleMultiplaneOverlay": {
"Content": "Disable Multiplane Overlay",
"Description": "Disable the Multiplane Overlay which can sometimes cause issues with Graphics Cards.",

View File

@@ -3,10 +3,10 @@ title: "New Outlook"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2361}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2379}
"WPFToggleNewOutlook": {
"Content": "New Outlook",
"Description": "If disabled it removes the toggle for new Outlook, disables the new Outlook migration and makes sure the Outlook Application actually uses the old Outlook.",
"Description": "If disabled, it removes the new Outlook toggle, disables the new Outlook migration, and ensures the classic Outlook application is used.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -1,11 +1,11 @@
---
title: "NumLock on Startup"
title: "Num Lock on Startup"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2203}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2221}
"WPFToggleNumLock": {
"Content": "NumLock on Startup",
"Content": "Num Lock on Startup",
"Description": "Toggle the Num Lock key state when your computer starts.",
"category": "Customize Preferences",
"panel": "2",

View File

@@ -3,10 +3,10 @@ title: "S3 Sleep"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2567}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2585}
"WPFToggleS3Sleep": {
"Content": "S3 Sleep",
"Description": "Toggles between Modern Standby and S3 sleep.",
"Description": "Toggles between Modern Standby and S3 Sleep.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Show File Extensions"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2449}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2467}
"WPFToggleShowExt": {
"Content": "Show File Extensions",
"Description": "If enabled then File extensions (e.g., .txt, .jpg) are visible.",
"Description": "If enabled, File extensions (e.g., .txt, .jpg) are visible.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -0,0 +1,29 @@
---
title: "Modern Standby fix"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2203}
"WPFToggleStandbyFix": {
"Content": "Modern Standby fix",
"Description": "Disable network connection during S0 sleep. If network connectivity is turned on during S0 sleep it could cause overheating on modern laptops",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
"registry": [
{
"Path": "HKCU:\\SOFTWARE\\Policies\\Microsoft\\Power\\PowerSettings\\f15576e8-98b7-4186-b944-eafa664402d9",
"Name": "ACSettingIndex",
"Value": "0",
"Type": "DWord",
"OriginalValue": "<RemoveEntry>",
"DefaultState": "true"
}
],
```
## 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.
You can find information about the registry on [Wikipedia](https://www.wikiwand.com/en/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).

View File

@@ -3,10 +3,10 @@ title: "Recommendations in Start Menu"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2247}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2265}
"WPFToggleStartMenuRecommendations": {
"Content": "Recommendations in Start Menu",
"Description": "If disabled then you will not see recommendations in the Start Menu. WARNING: This will also disable Windows Spotlight on your Lock Screen as a side effect.",
"Description": "If disabled, then you will not see recommendations in the Start Menu. WARNING: This will also disable Windows Spotlight on your Lock Screen as a side effect.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Sticky Keys"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2343}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2361}
"WPFToggleStickyKeys": {
"Content": "Sticky Keys",
"Description": "If Enabled then Sticky Keys is activated - Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
"Description": "If enabled, Sticky Keys is activated. Sticky keys is an accessibility feature of some graphical user interfaces which assists users who have physical disabilities or help users reduce repetitive strain injury.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Task View Button in Taskbar"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2495}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2513}
"WPFToggleTaskView": {
"Content": "Task View Button in Taskbar",
"Description": "If Enabled then Task View Button in Taskbar will be shown.",
"Description": "If enabled, Task View Button in Taskbar will be shown.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Center Taskbar Items"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2513}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2531}
"WPFToggleTaskbarAlignment": {
"Content": "Center Taskbar Items",
"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.",
"Description": "[Windows 11] If enabled, the Taskbar Items will be shown on the Center, otherwise the Taskbar Items will be shown on the Left.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,10 +3,10 @@ title: "Search Button in Taskbar"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2477}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2495}
"WPFToggleTaskbarSearch": {
"Content": "Search Button in Taskbar",
"Description": "If Enabled Search Button will be on the taskbar.",
"Description": "If enabled, Search Button will be on the Taskbar.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",

View File

@@ -3,7 +3,7 @@ title: "Verbose Messages During Logon"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2229}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2247}
"WPFToggleVerboseLogon": {
"Content": "Verbose Messages During Logon",
"Description": "Show detailed messages during the login process for troubleshooting and diagnostics.",

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=2}
"WPFTweaksActivity": {
"Content": "Disable Activity History",
"Description": "This erases recent docs, clipboard, and run history.",
"Description": "Erases recent docs, clipboard, and run history.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1291}
"WPFTweaksConsumerFeatures": {
"Content": "Disable ConsumerFeatures",
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link)",
"Description": "Windows will not automatically install any games, third-party apps, or application links from the Windows Store for the signed-in user. Some default Apps will be inaccessible (eg. Phone Link).",
"category": "Essential Tweaks",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=2038}
"WPFTweaksDeleteTempFiles": {
"Content": "Delete Temporary Files",
"Description": "Erases TEMP Folders",
"Description": "Erases TEMP Folders.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [

View File

@@ -3,10 +3,10 @@ title: "Disable Explorer Automatic Folder Discovery"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2616}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2634}
"WPFTweaksDisableExplorerAutoDiscovery": {
"Content": "Disable Explorer Automatic Folder Discovery",
"Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience. WARNING! Will disable file explorer grouping",
"Description": "Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience. WARNING! Will disable File Explorer grouping.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1763}
"WPFTweaksEndTaskOnTaskbar": {
"Content": "Enable End Task With Right Click",
"Description": "Enables option to end task when right clicking a program in the taskbar",
"Description": "Enables option to end task when right clicking a program in the taskbar.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=32}
"WPFTweaksHiber": {
"Content": "Disable Hibernation",
"Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the pc off. It really should never be used",
"Description": "Hibernation is really meant for laptops as it saves what's in memory before turning the PC off. It really should never be used.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=125}
"WPFTweaksLocation": {
"Content": "Disable Location Tracking",
"Description": "Disables Location Tracking...DUH!",
"Description": "Disables Location Tracking.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1779}
"WPFTweaksPowershell7Tele": {
"Content": "Disable Powershell 7 Telemetry",
"Description": "This will create an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell Powershell 7 to not send Telemetry Data.",
"Description": "Creates an Environment Variable called 'POWERSHELL_TELEMETRY_OPTOUT' with a value of '1' which will tell PowerShell 7 to not send Telemetry Data.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1736}
"WPFTweaksRestorePoint": {
"Content": "Create Restore Point",
"Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications",
"Description": "Creates a restore point at runtime in case a revert is needed from WinUtil modifications.",
"category": "Essential Tweaks",
"panel": "1",
"Checked": "False",

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1307}
"WPFTweaksTelemetry": {
"Content": "Disable Telemetry",
"Description": "Disables Microsoft Telemetry...Duh",
"Description": "Disables Microsoft Telemetry.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1892}
"WPFTweaksWPBT": {
"Content": "Disable Windows Platform Binary Table (WPBT)",
"Description": "If enabled then allows your computer vendor to execute a program each time it boots. It enables computer vendors to force install anti-theft software, software drivers, or a software program conveniently. This could also be a security risk.",
"Description": "If enabled, WPBT allows your computer vendor to execute programs at boot time, such as anti-theft software, software drivers, as well as force install software without user consent. Poses potential security risk.",
"category": "Essential Tweaks",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=61}
"WPFTweaksWidget": {
"Content": "Remove Widgets",
"Description": "Removes the annoying widgets in the bottom left of the taskbar",
"Description": "Removes the annoying widgets in the bottom left of the Taskbar.",
"category": "Essential Tweaks",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1973}
"WPFTweaksBlockAdobeNet": {
"Content": "Adobe Network Block",
"Description": "Reduce user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
"Description": "Reduces user interruptions by selectively blocking connections to Adobe's activation and telemetry servers. Credit: Ruddernation-Designs",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1126}
"WPFTweaksBraveDebloat": {
"Content": "Brave Debloat",
"Description": "Disables various annoyances like Brave Rewards,Leo AI,Crypto Wallet and VPN",
"Description": "Disables various annoyances like Brave Rewards, Leo AI, Crypto Wallet and VPN.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1647}
"WPFTweaksDeBloat": {
"Content": "Remove ALL MS Store Apps - NOT RECOMMENDED",
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft store apps.",
"Description": "USE WITH CAUTION!!! This will remove ALL Microsoft Store apps.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"appx": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=2111}
"WPFTweaksDisableBGapps": {
"Content": "Disable Background Apps",
"Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Win11",
"Description": "Disables all Microsoft Store apps from running in the background, which has to be done individually since Windows 11.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=2127}
"WPFTweaksDisableFSO": {
"Content": "Disable Fullscreen Optimizations",
"Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen",
"Description": "Disables FSO in all applications. NOTE: This will disable Color Management in Exclusive Fullscreen.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1950}
"WPFTweaksDisableNotifications": {
"Content": "Disable Notification Tray/Calendar",
"Description": "Disables all Notifications INCLUDING Calendar",
"Description": "Disables all Notifications INCLUDING Calendar.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=2051}
"WPFTweaksIPv46": {
"Content": "Prefer IPv4 over IPv6",
"Description": "To set the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.",
"Description": "Setting the IPv4 preference can have latency and security benefits on private networks where IPv6 is not configured.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1429}
"WPFTweaksRemoveEdge": {
"Content": "Remove Microsoft Edge",
"Description": "Unblocks Microsoft Edge uninstaller restrictions than uses that uninstaller to remove Microsoft Edge",
"Description": "Unblocks Microsoft Edge uninstaller restrictions then uses that uninstaller to remove Microsoft Edge.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1517}
"WPFTweaksRemoveGallery": {
"Content": "Remove Gallery from explorer",
"Description": "Removes the Gallery from Explorer and sets This PC as default",
"Description": "Removes the Gallery from Explorer and sets This PC as default.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1498}
"WPFTweaksRemoveHome": {
"Content": "Remove Home from Explorer",
"Description": "Removes the Home from Explorer and sets This PC as default",
"Description": "Removes the Home from Explorer and sets This PC as default.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=1461}
"WPFTweaksRemoveOneDrive": {
"Content": "Remove OneDrive",
"Description": "Denys permission to remove onedrive user files than uses its own uninstaller to remove it than brings back permissions",
"Description": "Denies permission to remove OneDrive user files, then uses its own uninstaller to remove it and restores the original permission afterward.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=90}
"WPFTweaksRevertStartMenu": {
"Content": "Revert the new start menu",
"Description": "Uses vivetool to revert the the original start menu from 24h2",
"Description": "Uses vivetool to revert to the original start menu from 24H2.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [

View File

@@ -1,12 +1,12 @@
---
title: "Set Classic Right-Click Menu "
title: "Set Classic Right-Click Menu"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2003}
"WPFTweaksRightClickMenu": {
"Content": "Set Classic Right-Click Menu ",
"Description": "Great Windows 11 tweak to bring back good context menus when right clicking things in explorer.",
"Content": "Set Classic Right-Click Menu",
"Description": "Restores the classic context menu when right-clicking in File Explorer, replacing the simplified Windows 11 version.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"InvokeScript": [

View File

@@ -6,7 +6,7 @@ description: ""
```json {filename="config/tweaks.json",linenos=inline,linenostart=2067}
"WPFTweaksTeredo": {
"Content": "Disable Teredo",
"Description": "Teredo network tunneling is a ipv6 feature that can cause additional latency, but may cause problems with some games",
"Description": "Teredo network tunneling is a IPv6 feature that can cause additional latency, but may cause problems with some games.",
"category": "z__Advanced Tweaks - CAUTION",
"panel": "1",
"registry": [

View File

@@ -3,7 +3,7 @@ title: "DNS"
description: ""
---
```json {filename="config/tweaks.json",linenos=inline,linenostart=2592}
```json {filename="config/tweaks.json",linenos=inline,linenostart=2610}
"WPFchangedns": {
"Content": "DNS",
"category": "z__Advanced Tweaks - CAUTION",

View File

@@ -8,20 +8,14 @@ function Invoke-WinutilThemeChange {
modifying various UI elements such as colors, margins, corner radii, font families, etc.
If the '-init' switch is used, it initializes the theme based on the system's current dark mode setting.
.PARAMETER init
A switch parameter. If set to $true, the function initializes the theme based on the systems current dark mode setting.
.EXAMPLE
Invoke-WinutilThemeChange
# Toggles the theme between 'Light' and 'Dark'.
.EXAMPLE
Invoke-WinutilThemeChange -init
# Initializes the theme based on the system's dark mode and applies the shared theme.
#>
param (
[switch]$init = $false,
[string]$theme
[string]$theme = "Auto"
)
function Set-WinutilTheme {
@@ -129,48 +123,30 @@ function Invoke-WinutilThemeChange {
}
}
$LightPreferencePath = "$winutildir\LightTheme.ini"
$DarkPreferencePath = "$winutildir\DarkTheme.ini"
$sync.preferences.theme = $theme
Set-Preferences -save
Set-WinutilTheme -currentTheme "shared"
if ($init) {
Set-WinutilTheme -currentTheme "shared"
if (Test-Path $LightPreferencePath) {
$theme = "Light"
}
elseif (Test-Path $DarkPreferencePath) {
$theme = "Dark"
}
else {
$theme = "Auto"
}
}
switch ($theme) {
switch ($sync.preferences.theme) {
"Auto" {
$systemUsesDarkMode = Get-WinUtilToggleStatus WPFToggleDarkMode
if ($systemUsesDarkMode) {
Set-WinutilTheme -currentTheme "Dark"
$theme = "Dark"
}
else{
Set-WinutilTheme -currentTheme "Light"
$theme = "Light"
}
Set-WinutilTheme -currentTheme $theme
$themeButtonIcon = [char]0xF08C
Remove-Item $LightPreferencePath -Force -ErrorAction SilentlyContinue
Remove-Item $DarkPreferencePath -Force -ErrorAction SilentlyContinue
}
"Dark" {
Set-WinutilTheme -currentTheme $theme
Set-WinutilTheme -currentTheme $sync.preferences.theme
$themeButtonIcon = [char]0xE708
$null = New-Item $DarkPreferencePath -Force
Remove-Item $LightPreferencePath -Force -ErrorAction SilentlyContinue
}
"Light" {
Set-WinutilTheme -currentTheme $theme
Set-WinutilTheme -currentTheme $sync.preferences.theme
$themeButtonIcon = [char]0xE706
$null = New-Item $LightPreferencePath -Force
Remove-Item $DarkPreferencePath -Force -ErrorAction SilentlyContinue
}
}

View File

@@ -1,43 +0,0 @@
function Set-PackageManagerPreference {
<#
.SYNOPSIS
Sets the currently selected package manager to global "ManagerPreference" in sync.
Also persists preference across Winutil restarts via preference.ini.
Reads from preference.ini if no argument sent.
.PARAMETER preferredPackageManager
The PackageManager that was selected.
#>
param(
[Parameter(Position=0, Mandatory=$false)]
[PackageManagers]$preferredPackageManager
)
$preferencePath = "$winutildir\preferences.ini"
$oldChocoPath = "$winutildir\preferChocolatey.ini"
#Try loading from file if no argument given.
if ($null -eq $preferredPackageManager) {
# Backwards compat for preferChocolatey.ini
if (Test-Path -Path $oldChocoPath) {
$preferredPackageManager = [PackageManagers]::Choco
Remove-Item -Path $oldChocoPath
}
elseif (Test-Path -Path $preferencePath) {
$potential = Get-Content -Path $preferencePath -TotalCount 1
$preferredPackageManager = [PackageManagers]$potential
}
else {
Write-Debug "Creating new preference file, defaulting to winget."
$preferredPackageManager = [PackageManagers]::Winget
}
}
$sync["ManagerPreference"] = [PackageManagers]::$preferredPackageManager
Write-Debug "Manager Preference changed to '$($sync["ManagerPreference"])'"
# Write preference to file to persist across restarts.
Out-File -FilePath $preferencePath -InputObject $sync["ManagerPreference"]
}

View File

@@ -0,0 +1,83 @@
function Set-Preferences{
param(
[switch]$save=$false
)
# TODO delete this function sometime later
function Clean-OldPrefs{
if (Test-Path -Path "$winutildir\LightTheme.ini") {
$sync.preferences.theme = "Light"
Remove-Item -Path "$winutildir\LightTheme.ini"
}
if (Test-Path -Path "$winutildir\DarkTheme.ini") {
$sync.preferences.theme = "Dark"
Remove-Item -Path "$winutildir\DarkTheme.ini"
}
# check old prefs, if its first line has no =, then absorb it as pm
if (Test-Path -Path $iniPath) {
$oldPM = Get-Content $iniPath
if ($oldPM -notlike "*=*") {
$sync.preferences.packagemanager = $oldPM
}
}
if (Test-Path -Path "$winutildir\preferChocolatey.ini") {
$sync.preferences.packagemanager = "Choco"
Remove-Item -Path "$winutildir\preferChocolatey.ini"
}
}
function Save-Preferences{
$ini = ""
foreach($key in $sync.preferences.Keys) {
$pref = "$($key)=$($sync.preferences.$key)"
Write-Debug "Saving pref: $($pref)"
$ini = $ini + $pref + "`r`n"
}
$ini | Out-File $iniPath
}
function Load-Preferences{
Clean-OldPrefs
if (Test-Path -Path $iniPath) {
$iniData = Get-Content "$winutildir\preferences.ini"
foreach ($line in $iniData) {
if ($line -like "*=*") {
$arr = $line -split "=",-2
$key = $arr[0] -replace "\s",""
$value = $arr[1] -replace "\s",""
Write-Debug "Preference: Key = '$($key)' Value ='$($value)'"
$sync.preferences.$key = $value
}
}
}
# write defaults in case preferences dont exist
if ($null -eq $sync.preferences.theme) {
$sync.preferences.theme = "Auto"
}
if ($null -eq $sync.preferences.packagemanager) {
$sync.preferences.packagemanager = "Winget"
}
# convert packagemanager to enum
if ($sync.preferences.packagemanager -eq "Choco") {
$sync.preferences.packagemanager = [PackageManagers]::Choco
}
elseif ($sync.preferences.packagemanager -eq "Winget") {
$sync.preferences.packagemanager = [PackageManagers]::Winget
}
}
$iniPath = "$winutildir\preferences.ini"
if ($save) {
Save-Preferences
}
else {
Load-Preferences
}
}

View File

@@ -14,7 +14,9 @@ function Update-WinUtilSelections {
Write-Debug "JSON to import: $($flatJson)"
foreach ($cbkey in $flatJson) {
foreach ($item in $flatJson) {
# Ensure each item is treated as a string to handle PSCustomObject from JSON deserialization
$cbkey = [string]$item
$group = if ($cbkey.StartsWith("WPFInstall")) { "Install" }
elseif ($cbkey.StartsWith("WPFTweaks")) { "Tweaks" }
elseif ($cbkey.StartsWith("WPFToggle")) { "Toggle" }
@@ -26,7 +28,7 @@ function Update-WinUtilSelections {
if (!$sync.selectedApps.Contains($cbkey)) {
$sync.selectedApps.Add($cbkey)
# The List type needs to be specified again, because otherwise Sort-Object will convert the list to a string if there is only a single entry
[System.Collections.Generic.List[pscustomobject]]$sync.selectedApps = $sync.SelectedApps | Sort-Object
[System.Collections.Generic.List[string]]$sync.selectedApps = $sync.SelectedApps | Sort-Object
}
}
"Tweaks" {

View File

@@ -18,7 +18,7 @@ function Invoke-WPFGetInstalled {
if (($sync.ChocoRadioButton.IsChecked -eq $false) -and ((Test-WinUtilPackageManager -winget) -eq "not-installed") -and $checkbox -eq "winget") {
return
}
$managerPreference = $sync["ManagerPreference"]
$managerPreference = $sync.preferences.packagemanager
Invoke-WPFRunspace -ParameterList @(("managerPreference", $managerPreference),("checkbox", $checkbox)) -ScriptBlock {
param (

View File

@@ -44,7 +44,13 @@ function Invoke-WPFImpex {
try {
$Config = ConfigDialog
if ($Config) {
$allConfs = $sync.selectedApps + $sync.selectedTweaks + $sync.selectedToggles + $sync.selectedFeatures
$allConfs = ($sync.selectedApps + $sync.selectedTweaks + $sync.selectedToggles + $sync.selectedFeatures) | ForEach-Object { [string]$_ }
if (-not $allConfs) {
[System.Windows.MessageBox]::Show(
"No settings are selected to export. Please select at least one app, tweak, toggle, or feature before exporting.",
"Nothing to Export", "OK", "Warning")
return
}
$jsonFile = $allConfs | ConvertTo-Json
$jsonFile | Out-File $Config -Force
"iex ""& { `$(irm https://christitus.com/win) } -Config '$Config'""" | Set-Clipboard
@@ -70,6 +76,21 @@ function Invoke-WPFImpex {
# TODO how to handle old style? detected json type then flatten it in a func?
# $flattenedJson = $jsonFile.PSObject.Properties.Where({ $_.Name -ne "Install" }).ForEach({ $_.Value })
$flattenedJson = $jsonFile
if (-not $flattenedJson) {
[System.Windows.MessageBox]::Show(
"The selected file contains no settings to import. No changes have been made.",
"Empty Configuration", "OK", "Warning")
return
}
# Clear all existing selections before importing so the import replaces
# the current state rather than merging with it
$sync.selectedApps = [System.Collections.Generic.List[string]]::new()
$sync.selectedTweaks = [System.Collections.Generic.List[string]]::new()
$sync.selectedToggles = [System.Collections.Generic.List[string]]::new()
$sync.selectedFeatures = [System.Collections.Generic.List[string]]::new()
Update-WinUtilSelections -flatJson $flattenedJson
if (!$PARAM_NOUI) {

View File

@@ -19,7 +19,7 @@ function Invoke-WPFInstall {
return
}
$ManagerPreference = $sync["ManagerPreference"]
$ManagerPreference = $sync.preferences.packagemanager
$handle = Invoke-WPFRunspace -ParameterList @(("PackagesToInstall", $PackagesToInstall),("ManagerPreference", $ManagerPreference)) -ScriptBlock {
param($PackagesToInstall, $ManagerPreference)

View File

@@ -32,17 +32,17 @@ function Invoke-WPFPresets {
$CheckBoxesToCheck = $sync.configs.preset.$preset
}
# clear out the filtered pattern
if (!$preset) {
switch ($checkboxfilterpattern) {
"WPFTweak*" { $sync.selectedTweaks = [System.Collections.Generic.List[string]]::new() }
"WPFInstall*" { $sync.selectedApps = [System.Collections.Generic.List[string]]::new() }
"WPFeatures" { $sync.selectedFeatures = [System.Collections.Generic.List[string]]::new() }
"WPFToggle" { $sync.selectedToggles = [System.Collections.Generic.List[string]]::new() }
default {}
}
# clear out the filtered pattern so applying a preset replaces the current
# state rather than merging with it
switch ($checkboxfilterpattern) {
"WPFTweak*" { $sync.selectedTweaks = [System.Collections.Generic.List[string]]::new() }
"WPFInstall*" { $sync.selectedApps = [System.Collections.Generic.List[string]]::new() }
"WPFeatures" { $sync.selectedFeatures = [System.Collections.Generic.List[string]]::new() }
"WPFToggle" { $sync.selectedToggles = [System.Collections.Generic.List[string]]::new() }
default {}
}
else {
if ($preset) {
Update-WinUtilSelections -flatJson $CheckBoxesToCheck
}

View File

@@ -38,7 +38,7 @@ function Invoke-WPFSelectedCheckboxesUpdate{
if (!$sync.selectedApps.Contains($appKey)) {
$sync.selectedApps.Add($appKey)
# The List type needs to be specified again, because otherwise Sort-Object will convert the list to a string if there is only a single entry
[System.Collections.Generic.List[pscustomobject]]$sync.selectedApps = $sync.SelectedApps | Sort-Object
[System.Collections.Generic.List[string]]$sync.selectedApps = $sync.SelectedApps | Sort-Object
}
}
else{

View File

@@ -30,7 +30,7 @@ function Invoke-WPFUnInstall {
if($confirm -eq "No") {return}
$ManagerPreference = $sync["ManagerPreference"]
$ManagerPreference = $sync.preferences.packagemanager
Invoke-WPFRunspace -ParameterList @(("PackagesToUninstall", $PackagesToUninstall),("ManagerPreference", $ManagerPreference)) -ScriptBlock {
param($PackagesToUninstall, $ManagerPreference)

View File

@@ -66,7 +66,7 @@ $sync.configs.applications.PSObject.Properties | ForEach-Object {
$sync.configs.applicationsHashtable[$_.Name] = $_.Value
}
Set-PackageManagerPreference
Set-Preferences
if ($PARAM_NOUI) {
Show-CTTLogo
@@ -154,7 +154,7 @@ $sync.Form.Add_Loaded({
})
})
Invoke-WinutilThemeChange -init $true
Invoke-WinutilThemeChange -theme $sync.preferences.theme
# Now call the function with the final merged config
@@ -177,10 +177,16 @@ Invoke-WPFUIElements -configVariable $sync.configs.feature -targetGridName "feat
$xaml.SelectNodes("//*[@Name]") | ForEach-Object {$sync["$("$($psitem.Name)")"] = $sync["Form"].FindName($psitem.Name)}
#Persist Package Manager preference across winutil restarts
$sync.ChocoRadioButton.Add_Checked({Set-PackageManagerPreference Choco})
$sync.WingetRadioButton.Add_Checked({Set-PackageManagerPreference Winget})
$sync.ChocoRadioButton.Add_Checked({
$sync.preferences.packagemanager = [PackageManagers]::Choco
Set-Preferences -save
})
$sync.WingetRadioButton.Add_Checked({
$sync.preferences.packagemanager = [PackageManagers]::Winget
Set-Preferences -save
})
switch ($sync["ManagerPreference"]) {
switch ($sync.preferences.packagemanager) {
"Choco" {$sync.ChocoRadioButton.IsChecked = $true; break}
"Winget" {$sync.WingetRadioButton.IsChecked = $true; break}
}

View File

@@ -37,6 +37,7 @@ $sync.PSScriptRoot = $PSScriptRoot
$sync.version = "#{replaceme}"
$sync.configs = @{}
$sync.Buttons = [System.Collections.Generic.List[PSObject]]::new()
$sync.preferences = @{}
$sync.ProcessRunning = $false
$sync.selectedApps = [System.Collections.Generic.List[string]]::new()
$sync.selectedTweaks = [System.Collections.Generic.List[string]]::new()