From 481f1cd45a21a73b3c5ab3ae88d9a488e1a1be0e Mon Sep 17 00:00:00 2001 From: Knack117 Date: Sat, 31 Jan 2026 02:40:54 -0500 Subject: [PATCH] v1.0.2.1: Fix release zip - include Assets, Colourful, Newtonsoft.Json, SixLabors.ImageSharp Co-authored-by: Cursor --- HSUI.csproj | 6 +++--- HSUI.json | 2 +- README.md | 7 ++++--- changelog.md | 3 +++ create-release.ps1 | 29 +++++++++++++++++++++++++++++ pluginmaster.json | 8 ++++---- 6 files changed, 44 insertions(+), 11 deletions(-) create mode 100644 create-release.ps1 diff --git a/HSUI.csproj b/HSUI.csproj index 54214d3..42e0846 100644 --- a/HSUI.csproj +++ b/HSUI.csproj @@ -9,9 +9,9 @@ HSUI - 1.0.2.0 - 1.0.2.0 - 1.0.2.0 + 1.0.2.1 + 1.0.2.1 + 1.0.2.1 diff --git a/HSUI.json b/HSUI.json index 15b3e48..55578e7 100644 --- a/HSUI.json +++ b/HSUI.json @@ -2,7 +2,7 @@ "Author": "Knack117", "Name": "HSUI", "InternalName": "HSUI", - "AssemblyVersion": "1.0.2.0", + "AssemblyVersion": "1.0.2.1", "Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.", "ApplicableVersion": "any", "RepoUrl": "https://github.com/Knack117/HSUI", diff --git a/README.md b/README.md index 71fbca4..55cb921 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,10 @@ HSUI provides a highly configurable HUD replacement, recreated from DelvUI using To make HSUI available via the custom plugin repository: 1. Build: `dotnet build -c Release` -2. Create a [GitHub Release](https://github.com/Knack117/HSUI/releases/new) (e.g. tag `v1.0.0.0`) -3. Upload `bin/Release/HSUI/latest.zip` as a release asset -4. Update `pluginmaster.json` if the version changed, then commit and push +2. Create the release zip: `.\create-release.ps1` (includes Assets, DLLs — required for hotbars and config) +3. Create a [GitHub Release](https://github.com/Knack117/HSUI/releases/new) (e.g. tag `v1.0.2.1`) +4. Upload `bin/Release/HSUI/latest.zip` as a release asset +5. Update `pluginmaster.json` if the version changed, then commit and push FC members add this custom repo in XIVLauncher → Dalamud Settings → Experimental → Custom Plugin Repositories: ``` diff --git a/changelog.md b/changelog.md index 4cefc8e..b3033bb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +# 1.0.2.1 +- **Release fix**: Include all required files in release zip (Assets, Colourful, Newtonsoft.Json, SixLabors.ImageSharp). Fixes hotbars and other features not working when installed from release vs dev plugin. + # 1.0.2.0 - **Hotbars**: Restore Hotbar Layout button (Hotbars → General) to recover hotbars after updates. Game hotbars shown as fallback when all HSUI hotbars disabled. - **Config**: Fixed right-click Export/Reset context menu so it works on all sections and tabs (not just Unit Frames). diff --git a/create-release.ps1 b/create-release.ps1 new file mode 100644 index 0000000..30bb89d --- /dev/null +++ b/create-release.ps1 @@ -0,0 +1,29 @@ +# Creates a complete HSUI release zip with all required files. +# Run after: dotnet build -c Release +# Output: bin/Release/HSUI/latest.zip + +$ErrorActionPreference = "Stop" +$ReleaseDir = "$PSScriptRoot\bin\Release" +$ZipPath = "$ReleaseDir\HSUI\latest.zip" + +# Required files - must match what dev plugin loads from +$Files = @( + "$ReleaseDir\HSUI.dll", + "$ReleaseDir\HSUI.json", + "$ReleaseDir\changelog.md", + "$ReleaseDir\KamiToolKit.dll", + "$ReleaseDir\Colourful.dll", + "$ReleaseDir\Newtonsoft.Json.dll", + "$ReleaseDir\SixLabors.ImageSharp.dll", + "$ReleaseDir\Media", + "$ReleaseDir\Assets" +) + +foreach ($f in $Files) { + if (-not (Test-Path $f)) { throw "Missing: $f" } +} + +if (Test-Path $ZipPath) { Remove-Item $ZipPath -Force } + +Compress-Archive -Path $Files -DestinationPath $ZipPath -CompressionLevel Optimal +Write-Host "Created: $ZipPath" diff --git a/pluginmaster.json b/pluginmaster.json index 523902a..fe7dafe 100644 --- a/pluginmaster.json +++ b/pluginmaster.json @@ -4,9 +4,9 @@ "Name": "HSUI", "Punchline": "A modern HUD replacement built for customization.", "Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.", - "Changelog": "Restore Hotbar Layout button. Fixed config right-click Export/Reset for all sections. Hotbar fallback when all disabled.", + "Changelog": "Hotfix: Complete release zip (Assets, DLLs). Restore Hotbar Layout, config right-click fix.", "InternalName": "HSUI", - "AssemblyVersion": "1.0.2.0", + "AssemblyVersion": "1.0.2.1", "RepoUrl": "https://github.com/Knack117/HSUI", "ApplicableVersion": "any", "Tags": ["UI", "HUD", "Unit Frames", "Nameplates", "Party Frames", "Hotbars"], @@ -17,7 +17,7 @@ "DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.0/latest.zip", "IsHide": false, "IsTestingExclusive": false, - "DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.0/latest.zip", - "DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.0/latest.zip" + "DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.1/latest.zip", + "DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.1/latest.zip" } ]