Skip to content

Commit b080775

Browse files
committed
update README.md
1 parent dd841a5 commit b080775

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

README.md

+20-16
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
1+
# NF.Tool.UnityPackage
12

23
![Test](https://github.com/netpyoung/NF.Tool.UnityPackage/workflows/Test/badge.svg?branch=master)
34

4-
https://github.com/TwoTenPvP/UnityPackager
5-
https://github.com/MirrorNG/unity-packer
6-
https://github.com/ogxd/unity-packer
7-
https://github.com/marketplace/actions/create-unitypackage
8-
https://github.com/Cobertos/unitypackage_extractor
5+
## example
96

10-
dotnet publish -c Release -r win10-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimUnusedDependencies=true
7+
``` cmd
8+
> NF.Tool.UnityPackage.Console.exe pack -i sample -o sample.unitypackage
9+
> NF.Tool.UnityPackage.Console.exe unpack -i sample.unitypackage
10+
```
1111

12-
7z a -tzip release.zip %CD%/bin/Release/netcoreapp3.1/win10-x64/publish/*
12+
## develop
1313

14-
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
15-
windows-latest
14+
``` cmd
15+
> cd src
16+
> dotnet test
17+
> cd NF.Tool.UnityPackage.Console
18+
> dotnet publish -c Release -r win10-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true -p:TrimUnusedDependencies=true
19+
> 7z a -tzip release.zip %CD%/bin/Release/netcoreapp3.1/win10-x64/publish/NF.Tool.UnityPackage.Console.exe
20+
```
1621

22+
## Ref
1723

18-
https://github.com/actions/setup-dotnet
19-
3.1.300
20-
21-
https://github.com/<OWNER>/<REPOSITORY>/workflows/<WORKFLOW_FILE_PATH>/badge.svg
22-
23-
24-
src>dotnet run --project NF.Tool.UnityPackage -- unpack -i NF.Tool.UnityPackage.Test\test.unitypackage
24+
- <https://github.com/TwoTenPvP/UnityPackager>
25+
- <https://github.com/MirrorNG/unity-packer>
26+
- <https://github.com/ogxd/unity-packer>
27+
- <https://github.com/marketplace/actions/create-unitypackage>
28+
- <https://github.com/Cobertos/unitypackage_extractor>

0 commit comments

Comments
 (0)