Skip to content

Commit eca1869

Browse files
authored
Update .gitignore and patch packaging script (#641)
* Update .gitignore Ignore downloaded NDK Ignore downloaded EDM4U * Fix how package tool find EDM4U When scanning through "*_unity" folders, also check if EDM4U are under those folders.
1 parent 7b45300 commit eca1869

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ vcpkg
3030

3131
# Visual Studio Code
3232
.vscode/
33+
34+
# Downloaded NDK
35+
ndk/
36+
ndk_zip
37+
38+
# Downloaded EDM4U
39+
unity_jar_resolver/

scripts/build_scripts/build_package.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ def find_pack_script():
116116
built_folder = None
117117
resolver_root_folder = "unity-jar-resolver"
118118
for folder in os.listdir("."):
119-
if folder.endswith(built_folder_ext):
119+
if (folder.endswith(built_folder_ext) and
120+
os.path.exists(os.path.join(folder, built_folder_postion))):
120121
built_folder = folder
121122
break
122123

0 commit comments

Comments
 (0)