Skip to content

Embedding

Adrian L Lange edited this page Nov 1, 2024 · 2 revisions

Here are some ways of including Dashi in your addon.

Warning

Dashi will never be in a stable/consistent state. If you want to use it as-is, please hard-embed it (e.g. using Git subtree/submodule) or cherry-pick what you want. There is no guarantee that anything will stay or even work.

Automatic

Using an automated packager is the preferred method of embedding the library, as it takes out the overhead of maintaining the latest library version with the addon. By either using CurseForge's or BigWigs', you could use some simple metadata markup for retrieving dependencies.

Simply plop the this in to your .pkgmeta file and you're off to the races!

externals:
  libs/Dashi: # required dependency
    url: https://github.com/p3lim-wow/Dashi

See this article for more information.

Manual

Either by using gitmodules, subtrees or manually cloning or downloading the archive and extracting, the library can be handled manually if you prefer that.

TOC

In order for the library to load, it must be loaded from the addon.
Here's an example TOC file:

## Interface: 110000
## Title: MyAddOn

libs\Dashi\embed.xml

...
Clone this wiki locally