File tree 1 file changed +20
-16
lines changed
1 file changed +20
-16
lines changed Original file line number Diff line number Diff line change
1
+ # NF.Tool.UnityPackage
1
2
2
3
![ Test] ( https://github.com/netpyoung/NF.Tool.UnityPackage/workflows/Test/badge.svg?branch=master )
3
4
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
9
6
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
+ ```
11
11
12
- 7z a -tzip release.zip %CD%/bin/Release/netcoreapp3.1/win10-x64/publish/ *
12
+ ## develop
13
13
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
+ ```
16
21
22
+ ## Ref
17
23
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 >
You can’t perform that action at this time.
0 commit comments