diff --git a/README.md b/README.md index 10dc728..f35cec6 100644 --- a/README.md +++ b/README.md @@ -30,5 +30,8 @@ To use this Features PdBackend should exist in the scene. ## shmem The Unity project access the Arrays in Pd patch via shmem (Shmem) object +## wix heat command +execute following command under bin directory +heat dir . -ag -gg -dr Cylvester -directoryid Cylvester -srd -sreg -cg UnityComponentGroup -out source.wxs -var var.UnityBuildDir diff --git a/UnityProject/Assets/Scripts/PdConnection/PdProcess.cs b/UnityProject/Assets/Scripts/PdConnection/PdProcess.cs index 81ee649..724754b 100644 --- a/UnityProject/Assets/Scripts/PdConnection/PdProcess.cs +++ b/UnityProject/Assets/Scripts/PdConnection/PdProcess.cs @@ -1,5 +1,6 @@ using System; using System.Diagnostics; +using System.IO; using System.Threading; using UnityEngine; using Debug = UnityEngine.Debug; @@ -31,9 +32,8 @@ namespace cylvester pdProcess_.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; pdProcess_.StartInfo.UseShellExecute = false; pdProcess_.StartInfo.FileName = Application.streamingAssetsPath + "/pd/win/pd.com"; - var path = Application.streamingAssetsPath + "/pd/patch/" + mainPatch; - pdProcess_.StartInfo.Arguments = "-nogui -rt " + path; + pdProcess_.StartInfo.Arguments = "-nogui -rt \"" + path + "\""; if (!pdProcess_.Start()) { diff --git a/UnityProject/Assets/StreamingAssets/pd/patch.meta b/UnityProject/Assets/StreamingAssets/pd/patch.meta index df8b7c3..551c3bf 100644 --- a/UnityProject/Assets/StreamingAssets/pd/patch.meta +++ b/UnityProject/Assets/StreamingAssets/pd/patch.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: b2596642a544672408dd90b88c336d3f +guid: da1e5684d82414c44ad4aae17a207af8 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/setup/setup/Product.wxs b/setup/setup/Product.wxs index 851be59..cb492f1 100644 --- a/setup/setup/Product.wxs +++ b/setup/setup/Product.wxs @@ -26,7 +26,7 @@ - + diff --git a/setup/setup/source.wxs b/setup/setup/source.wxs index f8f1fa7..59a1777 100644 --- a/setup/setup/source.wxs +++ b/setup/setup/source.wxs @@ -98,9 +98,15 @@ + + + + + + @@ -131,6 +137,9 @@ + + + @@ -140,6 +149,9 @@ + + + @@ -176,6 +188,12 @@ + + + + + + @@ -197,6 +215,9 @@ + + + @@ -230,6 +251,9 @@ + + + @@ -242,6 +266,12 @@ + + + + + + @@ -260,6 +290,21 @@ + + + + + + + + + + + + + + + @@ -482,6 +527,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -489,6 +588,11 @@ + + + + + @@ -529,6 +633,11 @@ + + + + + @@ -539,6 +648,16 @@ + + + + + + + + + +