Skip to content

Commit 0f77e6f

Browse files
authored
Merge pull request #47 from artoolkitx/phil-assetlist
Fix up asset inclusion.
2 parents 7e0cd7f + cae96c2 commit 0f77e6f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Source/Package/Assets/artoolkitX-Unity/Scripts/Editor/ARToolKitPackager.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using System;
2-
using System.IO;
1+
using System;
2+
using System.IO;
33
using UnityEditor;
44
using UnityEngine;
55

@@ -147,6 +147,10 @@ public static void CreatePackage() {
147147
}
148148
#endif // UNITY_ANDROID
149149

150-
AssetDatabase.ExportPackage(AssetDatabase.GetAllAssetPaths(), packageName, ExportPackageOptions.Recurse);
150+
string[] assets = {
151+
"Assets",
152+
};
153+
154+
AssetDatabase.ExportPackage(assets, packageName, ExportPackageOptions.Recurse);
151155
}
152156
}

0 commit comments

Comments
 (0)