Skip to content

Commit

Permalink
fix: include MediaPipeUnity.framework in unitypackage (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Mar 28, 2023
1 parent 31de77b commit 7c43b75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/MediaPipeUnity/Editor/PackageExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public static void Export()
var fileName = string.IsNullOrEmpty(version) ? "MediaPipeUnity.unitypackage" : $"MediaPipeUnity.{version}.unitypackage";
var exportPath = "./" + fileName;

var pluginAssets = EnumerateAssets(Path.Combine("Packages", "com.github.homuler.mediapipe")); // export all the files
var pluginAssets = EnumerateAssets(Path.Combine("Packages", "com.github.homuler.mediapipe"))
.Append(Path.Combine("Packages", "com.github.homuler.mediapipe", "Runtime", "Plugins", "iOS", "MediaPipeUnity.framework"));
var sampleAssets = EnumerateAssets(Path.Combine("Assets", "MediaPipeUnity", "Samples"), new string[] { ".cs", ".unity" })
.Where(x => Path.GetFileName(x) != "Start Scene.unity"); // exclude the 'Start Scene'
var tutorialAssets = EnumerateAssets(Path.Combine("Assets", "MediaPipeUnity", "Tutorial")); // export all the files
Expand Down

0 comments on commit 7c43b75

Please sign in to comment.