diff --git a/README.md b/README.md index a206096..48c4999 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,28 @@ +# NF.Tool.UnityPackage ![Test](https://github.com/netpyoung/NF.Tool.UnityPackage/workflows/Test/badge.svg?branch=master) -https://github.com/TwoTenPvP/UnityPackager -https://github.com/MirrorNG/unity-packer -https://github.com/ogxd/unity-packer -https://github.com/marketplace/actions/create-unitypackage -https://github.com/Cobertos/unitypackage_extractor +## example -dotnet publish -c Release -r win10-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimUnusedDependencies=true +``` cmd +> NF.Tool.UnityPackage.Console.exe pack -i sample -o sample.unitypackage +> NF.Tool.UnityPackage.Console.exe unpack -i sample.unitypackage +``` -7z a -tzip release.zip %CD%/bin/Release/netcoreapp3.1/win10-x64/publish/* +## develop -https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on -windows-latest +``` cmd +> cd src +> dotnet test +> cd NF.Tool.UnityPackage.Console +> dotnet publish -c Release -r win10-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimUnusedDependencies=true +> 7z a -tzip release.zip %CD%/bin/Release/netcoreapp3.1/win10-x64/publish/NF.Tool.UnityPackage.Console.exe +``` +## Ref -https://github.com/actions/setup-dotnet -3.1.300 - -https://github.com///workflows//badge.svg - - -src>dotnet run --project NF.Tool.UnityPackage -- unpack -i NF.Tool.UnityPackage.Test\test.unitypackage \ No newline at end of file +- +- +- +- +- \ No newline at end of file