• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.
  Resource requires running a bat file. Make sure you trust the creator and apply your own security measures.

Private Hub Dependencies​

Keep large private VAR libraries outside your active VaM setup and copy only the dependencies you actually need.

A performance-focused extension of AutoGetDependencies by everlaster.

Overview​

PrivateHubDependencies is an extension of AutoGetDependencies that adds support for private and local package sources. The original plugin detects missing dependencies and helps resolve them through the Hub, while this version can also copy matching packages from private local archives when needed. This makes it possible to keep large private VAR collections outside your active VaM setup and only bring required packages into AddonPackages when they are actually needed.

How It Works​

The plugin uses a helper bridge structure based on junctions / SymLinks.

Because VaM plugins are sandboxed, the plugin cannot directly access arbitrary external folders.
Instead, it works through a prepared helper structure inside PluginData to:

  • access one or more private/local source folders
  • copy matching .var files into AddonPackages
  • let VaM detect the copied packages after a package rescan
1777321601174.png

Features​

  • copying of missing private dependencies
  • support for multiple private/local source folders
  • cleaner active AddonPackages setup
  • works alongside normal Hub dependency handling

Setup​

  1. Install the plugin as a VaM session plugin
  2. Run CreatePrivateHubDependenciesSymLinks.bat
  3. Add one or more private source folders when prompted
  4. Load flurol.PrivateHubDependencies in VaM
  5. Scan dependencies in the plugin UI
  6. Click Copy local missing dependencies from local path
  7. Click Rescan packages so VaM detects the copied .var files

Notes​

  • Source files are copied, not moved
  • The plugin does not create the junctions automatically
  • The helper setup can be removed again with RemovePrivateHubDependenciesSymLinks.bat
  • Remove the SymLinks helper structure before packaging the plugin into a .var

Credits & License​

Adapted from AutoGetDependencies by everlaster
Original license: CC BY 4.0
Original resource:
https://hub.virtamate.com/resources/autogetdependencies.51304/

Additional credits:
  • SymLinks / junction workflow inspired by BrowserAssist by JayJayWon
  • Includes MacGruber_Utils by MacGruber
  • Modified and extended by flurol

1777321703583.png


1777321907386.png
  Resource requires running a bat file. Make sure you trust the creator and apply your own security measures.
Images and attachments
  • 1777321491565.png
    1777321491565.png
    307.7 KB · Views: 0
  • 1777321874096.png
    1777321874096.png
    113.4 KB · Views: 0
React to this content...

Share this resource

Back
Top Bottom