Aptivi - Deprecated Manuals
ProjectsWebsiteBlog
RuntimeTrim - Manual
RuntimeTrim - Manual
  • 👋Welcome!
  • Installation and Usage
    • 📀Installation
      • 🪟Windows
      • 🐧Linux
    • 💻How to use
  • Advanced usage
    • 🏗️Building
      • 🪟Building on Windows
      • 🐧Building on Linux
    • ⚒️How it works
  • Report an issue
  • Source code
  • Our projects
Powered by GitBook
On this page
  1. Advanced usage

How it works

How does it work?

When RuntimeTrim is run on a build output directory, it first checks for the runtimes folder for existence.

If RuntimeTrim detects that this folder exists, it attempts to get the runtime identifier (RID) graph from the current RID based on the current operating system and architecture.

It then makes a list of all the architecture-based folders to be kept and the second list, which is called a blacklist, of the remaining folders to be removed. RuntimeTrim then deletes every single folder listed in the "blacklist."

Last updated 1 year ago

⚒️