Skip to content

Commit 7b36da3

Browse files
committed
Moved config logic to a unified codebase, shared between several addons
1 parent ef22a04 commit 7b36da3

30 files changed

+94
-1026
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,23 @@ jobs:
1717
- name: Replace toc-versions
1818
uses: NumyAddon/ToCVersions@v1
1919

20+
- name: Grab NumyConfig Config Directory
21+
uses: actions/checkout@v4
22+
with:
23+
repository: NumyAddon/NumyConfig
24+
path: 'Config'
25+
sparse-checkout: 'Config'
26+
sparse-checkout-cone-mode: false
27+
28+
- name: Namespace config addon placeholders
29+
run: |
30+
mv Config/Config/* Config
31+
grep -rl __NUMY_CONFIG_ADDON_PLACEHOLDER__ Config/*.{xml,lua} | xargs sed -i "s/__NUMY_CONFIG_ADDON_PLACEHOLDER__/TalentTreeTweaks/g"
32+
rm -rf Config/.git
33+
rm -rf Config/Config
34+
git add Config/*
35+
shell: bash
36+
2037
- name: Update Locale
2138
run: |
2239
sudo apt-get install lua5.3

TalentTreeTweaks.toc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ core.lua
2828
ImportExportUtilV2.lua
2929
SharedUtil.lua
3030

31-
settingsTemplates.xml
32-
config.lua
31+
config.xml
3332

3433
modules\reduceTaint.lua
3534

0 commit comments

Comments
 (0)