Refactor Windows scripts to run as TrustedInstaller using PowerShell instead of batch files. This improves code reuse and enables more complex logic for system modifications. Key changes: - Add function to run any PowerShell script as TrustedInstaller - Refactor existing functions to use new TrustedInstaller capability - Enable soft deletion of protected registry keys and files (#412). - Resolve issues with renaming Defender files (#128). Other supporting changes: - Enhance service disabling to handle dependent services - Use base64 encoding of 'privacy.sexy' to avoid Defender alerts (#421). - Add comments to generated code for better documentation
Collections
This directory contains the collection files, which are the central source of truth for scripts and categories within privacy.sexy.
In addition to the collection files, this folder contains two special files:
.schema.yaml: Provides the schema definition for collection files.collection.yaml.d.ts: Defines TypeScript typings for the collection files.
Additional documentation
- Refer to
collection-files.mdfor details on the structure of these files. - To validate these files, use the
validate-collections-yamlscript. For instructions, see itsREADME.md.