Skip to content

Commit

Permalink
New justfile recipe for building archives for the 2 icon packs
Browse files Browse the repository at this point in the history
For people who want to download them separately.
  • Loading branch information
ceejbot committed Dec 20, 2023
1 parent ddb81ed commit f1139c6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,26 @@ archive:
cd ..
echo "Mod archive for v${version} ready at releases/${release_name}.7z"
# Make the two icon pack archives.
packs:
#!/usr/bin/env bash
set -e
ar="7z"
if [ -z $(which $ar) ]; then
ar="7zz"
fi
mkdir -p releases/SoulsyHUD_{soulsy,thicc}_icon_pack/SKSE/plugins/resources/icons
rsync -a installer/icon-pack-soulsy/ releases/SoulsyHUD_soulsy_icon_pack/SKSE/plugins/resources/icons
rsync -a installer/icon-pack-thicc/ releases/SoulsyHUD_thicc_icon_pack/SKSE/plugins/resources/icons
cd releases
rm -f SoulsyHUD_thicc_icon_pack.7z
"$ar" a SoulsyHUD_thicc_icon_pack.7z SoulsyHUD_thicc_icon_pack
rm -f SoulsyHUD_soulsy_icon_pack.7z
"$ar" a SoulsyHUD_soulsy_icon_pack.7z SoulsyHUD_soulsy_icon_pack
rm -rf SoulsyHUD_soulsy_icon_pack/ SoulsyHUD_thicc_icon_pack/
echo "Two mod packs archived in releases/"

# Use spriggit to dump the plugin to text.
plugin-ser:
{{SPRIGGIT}} serialize --InputPath ./data/SoulsyHUD.esl --OutputPath ./plugin/ --GameRelease SkyrimSE --PackageName Spriggit.Json
Expand Down

0 comments on commit f1139c6

Please sign in to comment.