Commit 892a682
authored
π [Major]: ElvUI addon installation and update from PowerShell (#4)
ElvUI can now be installed and updated directly from PowerShell. The
module provides two commands β `Install-ElvUI` for fresh installations
and `Update-ElvUI` for checking and applying updates β both supporting
custom WoW installation paths and game flavors (retail, classic, classic
era).
- Fixes #3
## New: Install ElvUI from PowerShell
`Install-ElvUI` downloads the latest ElvUI release from the [Tukui
API](https://api.tukui.org/v1/addons) and installs it to the WoW AddOns
folder.
```powershell
Install-ElvUI
Install-ElvUI -WoWPath 'D:\Games\World of Warcraft' -Flavor '_classic_'
```
## New: Update ElvUI with version checking
`Update-ElvUI` compares the locally installed version against the latest
available release. If an update is available, it downloads and installs
the new version. Use `-Force` to reinstall even when already up to date.
```powershell
Update-ElvUI
Update-ElvUI -Force
Update-ElvUI -Flavor '_classic_'
```
If ElvUI is not installed, `Update-ElvUI` performs a fresh install
automatically.
## Technical Details
- **Private functions:** `Get-WoWAddOnsPath` (path resolution),
`Get-TukuiAddon` (API client), `Get-TukuiInstalledVersion` (.toc file
reader), `Install-TukuiAddon` (download/extract/install)
- **Public functions:** `Install-ElvUI`, `Update-ElvUI`
- All template placeholder files from the module scaffold have been
removed (functions, classes, variables, formats, types, modules,
init/scripts/finally, examples, tests)
- Data files (`Config.psd1`, `Settings.psd1`) cleared of placeholder
values
- README updated with actual module documentation and usage examples
- Pester tests verify both public functions are available with the
expected parameters
- **Implementation plan progress:** All 5 tasks from issue #3 completed
(remove placeholders, create private functions, create public functions,
clean up data files, update README)1 parent a3810b2 commit 892a682
41 files changed
Lines changed: 504 additions & 659 deletions
File tree
- examples
- src
- assemblies
- classes
- private
- public
- data
- formats
- functions
- private
- public
- PSModule
- SomethingElse
- init
- modules
- scripts
- types
- variables
- private
- public
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
21 | | - | |
| 28 | + | |
22 | 29 | | |
23 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | | - | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | | - | |
29 | | - | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
33 | 45 | | |
34 | | - | |
| 46 | + | |
35 | 47 | | |
36 | 48 | | |
37 | | - | |
| 49 | + | |
38 | 50 | | |
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
43 | 55 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
This file was deleted.
Binary file not shown.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments