com.elestrago.unity.package-tools 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CAHNGELOG.md +9 -1
- package/Editor/Tools/FileTools.cs +3 -0
- package/package.json +4 -4
package/CAHNGELOG.md
CHANGED
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
## [2.0.
|
|
5
|
+
## [2.0.10](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.0.10)
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Create destination directory when copy files
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## [2.0.9](https://gitlab.com/elestrago-pkg/package-tool/-/tags/2.0.9)
|
|
6
14
|
|
|
7
15
|
### Removed
|
|
8
16
|
|
|
@@ -248,6 +248,9 @@ namespace PackageTool.Tools
|
|
|
248
248
|
{
|
|
249
249
|
var normalizedSourcePath = Path.GetFullPath(sourcePath);
|
|
250
250
|
var normalizedDestinationPath = Path.GetFullPath(destinationPath);
|
|
251
|
+
if (!Directory.Exists(normalizedDestinationPath))
|
|
252
|
+
Directory.CreateDirectory(normalizedDestinationPath);
|
|
253
|
+
|
|
251
254
|
var directoryInfo = new DirectoryInfo(sourcePath);
|
|
252
255
|
var subDirectoryInfo =
|
|
253
256
|
directoryInfo.GetDirectories(EditorConstants.WILDCARD_FILTER, SearchOption.AllDirectories);
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.elestrago.unity.package-tools",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"displayName": "Package Tool",
|
|
5
5
|
"description": "Tool for create unity packages",
|
|
6
6
|
"category": "unity",
|
|
7
7
|
"unity": "2021.3",
|
|
8
8
|
"homepage": "https://gitlab.com/elestrago-pkg/package-tool",
|
|
9
|
-
"documentationUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.
|
|
10
|
-
"changelogUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.
|
|
11
|
-
"licensesUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.
|
|
9
|
+
"documentationUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.10/README.md",
|
|
10
|
+
"changelogUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.10/CHANGELOG.md",
|
|
11
|
+
"licensesUrl": "https://gitlab.com/elestrago-pkg/package-tool/-/blob/2.0.10/LICENSE",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"unity",
|