From 8e8c429662abd05a2ecb624aa5fb5b41b931a58d Mon Sep 17 00:00:00 2001 From: Zijian Zhang Date: Fri, 12 Jan 2024 22:23:30 +0800 Subject: [PATCH] feat: support lip install in source repo --- CHANGELOG.md | 10 +++++++++- tooth.json | 38 ++++++++++++++++++++++---------------- 2 files changed, 31 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9cc5cdaee..717fab900e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.2] - 2024-01-12 + +### Added + +- lip install support in source repo. + ## [0.4.1] - 2024-01-12 ### Added @@ -55,7 +61,9 @@ First preview release. For lip and tooth-hub test only. -[unreleased]: https://github.com/LiteLDev/LeviLamina/compare/v0.3.0...HEAD +[unreleased]: https://github.com/LiteLDev/LeviLamina/compare/v0.4.2...HEAD +[0.4.2]: https://github.com/LiteLDev/LeviLamina/compare/v0.4.1...v0.4.2 +[0.4.1]: https://github.com/LiteLDev/LeviLamina/compare/v0.4.0...v0.4.1 [0.4.0]: https://github.com/LiteLDev/LeviLamina/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/LiteLDev/LeviLamina/compare/v0.2.2...v0.3.0 [0.2.2]: https://github.com/LiteLDev/LeviLamina/compare/v0.2.1...v0.2.2 diff --git a/tooth.json b/tooth.json index f0e9faa627..7380e93e15 100644 --- a/tooth.json +++ b/tooth.json @@ -1,22 +1,14 @@ { "format_version": 2, - "tooth": "github.com/tooth-hub/levilamina", - "version": "0.4.1", + "tooth": "github.com/LiteLDev/LeviLamina", + "version": "0.4.2", "info": { "name": "LeviLamina", "description": "A lightweight, modular and versatile plugin loader for Minecraft Bedrock Server BDS, formerly known as LiteLoaderBDS", "author": "LiteLDev", - "tags": [], - "source": "github.com/LiteLDev/LeviLamina" - }, - "commands": { - "post_install": [ - ".\\PeEditor.exe -mb" - ], - "post_uninstall": [ - "move bedrock_server.exe.bak bedrock_server.exe" - ] + "tags": [] }, + "asset_url": "https://github.com/LiteLDev/LeviLamina/releases/download/v0.4.2/levilamina-windows-x64.zip", "dependencies": { "github.com/tooth-hub/bds": "1.20.50 || 1.20.51", "github.com/tooth-hub/peeditor": "3.5.x", @@ -25,16 +17,30 @@ "files": { "place": [ { - "src": "LeviLamina.dll", + "src": "lib/LeviLamina.dll", "dest": "LeviLamina.dll" }, { - "src": "LeviLamina.pdb", + "src": "lib/LeviLamina.pdb", "dest": "LeviLamina.pdb" } ], "remove": [ "bedrock_server_mod.exe" ] - } -} \ No newline at end of file + }, + "platforms": [ + { + "goos": "windows", + "goarch": "amd64", + "commands": { + "post_install": [ + ".\\PeEditor.exe -mb" + ], + "post_uninstall": [ + "move bedrock_server.exe.bak bedrock_server.exe" + ] + } + } + ] +}