Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

Symlinking AddOn folders

Last wiki revision 2022-02-27

Instead of having git repositories directly in your AddOns folders or copying them around, consider symlinking them. (Windows: New-Item for PowerShell or mklink for cmd) New-Item -ItemType SymbolicLink -Path <font color="#ecbc2a">"D:\Game\World of Warcraft\_retail_\Interface\AddOns\HelloWorld" -Value <font color="#4ec9b0">"D:\Repo\HelloWorld"

This example symlinks the PTR and Beta clients to the Retail AddOns folder. New-Item -ItemType SymbolicLink -Path "D:\Game\World of Warcraft\<font color="#ecbc2a">_ptr_ \Interface\AddOns" -Value "D:\Game\World of Warcraft\<font color="#4ec9b0">_retail_ \Interface\AddOns" New-Item -ItemType SymbolicLink -Path "D:\Game\World of Warcraft\<font color="#ecbc2a">_beta_ \Interface\AddOns" -Value "D:\Game\World of Warcraft\<font color="#4ec9b0">_retail_ \Interface\AddOns"

  • You might have to delete the Path folder first. You can also append to the command if the Path folder already exists but is an empty folder.

If your addon is soft embedding libraries (e.g. Ace3) with .pkgmeta, a solution is to put those libraries as standalone addons in your AddOns folder and making sure they're listed in your TOC. Alternatively you can create even more symlinks for the libs.

  • 1) OptionalDeps: Ace3

If your addon consists of multiple folders by using move-folders you can create symlinks to the subfolders, for example: New-Item -ItemType SymbolicLink -Path "D:\Game\World of Warcraft\_retail_\Interface\AddOns\WardrobeSort" -Value "D:\Repo\WardrobeSort" New-Item -ItemType SymbolicLink -Path "D:\Game\World of Warcraft\_retail_\Interface\AddOns\WardrobeSortData" -Value "D:\Repo\WardrobeSort\Data"

Source

https://warcraft.wiki.gg/wiki/Symlinking_AddOn_folders · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.