Skip to content

Commit 463a53e

Browse files
committed
Add Version Checker metadata, include in dist, bump to 1.5.10
1 parent 4bcb4f4 commit 463a53e

4 files changed

Lines changed: 17 additions & 2 deletions

File tree

FactionRelationships/COMPILATION.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ To avoid editing `compile.bat` and to keep your local paths out of the repo:
3030
```
3131
FactionRelationships/
3232
├── mod_info.json
33+
├── FactionRelationships.version # Version Checker metadata (optional; copied into dist)
3334
├── config/
3435
│ └── faction_relationships_config.json # deprecated; settings via LunaLib (see data/config)
3536
├── data/
@@ -87,6 +88,7 @@ Set `GAME_DIR` (and optionally `LUNALIB`, `LAZYLIB`) before running (e.g. via `c
8788
```
8889
mods\FactionRelationships\
8990
├── mod_info.json
91+
├── FactionRelationships.version
9092
├── config\
9193
│ └── faction_relationships_config.json
9294
├── data\
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"masterVersionFile": "https://raw.githubusercontent.com/iHateCode/factionRelationships/main/FactionRelationships/FactionRelationships.version",
3+
"modName": "Faction Relationships",
4+
"modThreadId": 35013,
5+
"directDownloadURL": "https://github.com/iHateCode/factionRelationships/releases/download/v1.5.10/FactionRelationships-1.5.10.zip",
6+
"modVersion":
7+
{
8+
"major": 1,
9+
"minor": 5,
10+
"patch": 10
11+
}
12+
}

FactionRelationships/compile.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ if errorlevel 1 (
4949
exit /b 1
5050
)
5151

52-
echo Copying mod_info.json, config, and data to package...
52+
echo Copying mod_info.json, version file, config, and data to package...
5353
copy /Y "mod_info.json" "%DIST%\%PKG%\mod_info.json" >nul
54+
if exist "FactionRelationships.version" copy /Y "FactionRelationships.version" "%DIST%\%PKG%\FactionRelationships.version" >nul
5455
if exist "config" xcopy /E /I /Y "config" "%DIST%\%PKG%\config" >nul
5556
if exist "data" xcopy /E /I /Y "data" "%DIST%\%PKG%\data" >nul
5657

FactionRelationships/mod_info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "factionrelationships",
33
"name": "Faction Relationships",
44
"author": "boop",
5-
"version": "1.5.9",
5+
"version": "1.5.10",
66
"description": "Shows a list of factions and their relationship with the player on the main navigation screen.",
77
"gameVersion": "0.98a-RC8",
88
"jars": ["jars/FactionRelationships.jar"],

0 commit comments

Comments
 (0)