From 30e4c88c65111d765229d128fdedfebaaa3c8e10 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 11 May 2024 14:21:37 -0400 Subject: [PATCH] add WIP modrinth export support --- .gitea/workflows/actions.yaml | 6 ++++++ build/modrinth.index.json | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 build/modrinth.index.json diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 1f405f4..50c40e5 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -67,6 +67,12 @@ jobs: cp -vrT ./build/prism /export/prism cp -v ./unsup.ini /export/prism/.minecraft/ + - name: Create Modrinth export files + run: | + mkdir -vp /export/modrinth/.minecraft/overrides + cp -vrT ./build/modrinth.index.json /export/modrinth/ + cp -vrT /export/atlauncher/.minecraft/galacticfactory-updater.jar /export/modrinth/.minecraft/overrides/ + - name: Upload ATLauncher export artifact uses: actions/upload-artifact@v3 with: diff --git a/build/modrinth.index.json b/build/modrinth.index.json new file mode 100644 index 0000000..d65099d --- /dev/null +++ b/build/modrinth.index.json @@ -0,0 +1,12 @@ +{ + "game": "minecraft", + "formatVersion": 1, + "versionId": "1.0.0", + "name": "GalacticFactory", + "summary": "A", + "files": [], + "dependencies": { + "forge": "47.2.0", + "minecraft": "1.20.1" + } + }