Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
netpyoung committed Jul 26, 2020
1 parent dd841a5 commit b080775
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/<OWNER>/<REPOSITORY>/workflows/<WORKFLOW_FILE_PATH>/badge.svg


src>dotnet run --project NF.Tool.UnityPackage -- unpack -i NF.Tool.UnityPackage.Test\test.unitypackage
- <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>

0 comments on commit b080775

Please sign in to comment.