{"action":"created","issue":{"url":"https://api.github.com/repos/daterre/Cradle/issues/58","repository_url":"https://api.github.com/repos/daterre/Cradle","labels_url":"https://api.github.com/repos/daterre/Cradle/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/daterre/Cradle/issues/58/comments","events_url":"https://api.github.com/repos/daterre/Cradle/issues/58/events","html_url":"https://github.com/daterre/Cradle/issues/58","id":301214981,"number":58,"title":"PhantomJS Linux binary missing","user":{"login":"michaelbianchini","id":10685793,"avatar_url":"https://avatars2.githubusercontent.com/u/10685793?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelbianchini","html_url":"https://github.com/michaelbianchini","followers_url":"https://api.github.com/users/michaelbianchini/followers","following_url":"https://api.github.com/users/michaelbianchini/following{/other_user}","gists_url":"https://api.github.com/users/michaelbianchini/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelbianchini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelbianchini/subscriptions","organizations_url":"https://api.github.com/users/michaelbianchini/orgs","repos_url":"https://api.github.com/users/michaelbianchini/repos","events_url":"https://api.github.com/users/michaelbianchini/events{/privacy}","received_events_url":"https://api.github.com/users/michaelbianchini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-28T22:52:25Z","updated_at":"2018-04-18T19:04:28Z","closed_at":null,"author_association":"NONE","body":"Not sure if this counts as a valid issue since it's sort of a feature request.  I have Unity on Linux and when I drag a Twine HTML file into the Project, I get the following error:\r\nNotSupportedException: Editor platform not supported.\r\nCradle.Editor.Utils.PhantomJS.Run[HarloweStoryData] (System.String url, System.String bridgeScriptFileName, Boolean throwExOnError) (at C:/Projects/(external)/Cradle/unity/Cradle/Assets/Cradle/.src/Cradle.Editor/Editor/Utils/PhantomJS.cs:23)\r\nCradle.Editor.StoryFormats.Harlowe.HarloweTranscoder.Init () (at C:/Projects/(external)/Cradle/unity/Cradle/Assets/Cradle/.src/Cradle.Editor/Editor/StoryFormats/Harlowe/HarloweTranscoder.cs:114)\r\nCradle.Editor.StoryImporter.Transcode () (at C:/Projects/(external)/Cradle/unity/Cradle/Assets/Cradle/.src/Cradle.Editor/Editor/StoryImporter.cs:44)\r\nCradle.Editor.CradleAssetProcessor.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at C:/Projects/(external)/Cradle/unity/Cradle/Assets/Cradle/.src/Cradle.Editor/Editor/CradleAssetProcessor.cs:83)\r\nSystem.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)\r\nRethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.\r\nSystem.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)\r\nSystem.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)\r\nUnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at /home/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)\r\nUnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)\r\nUnityEditor.DockArea:OnGUI()\r\n\r\nI downloaded the PhantomJS Linux 64 bit binary and I am going to try editing the code to add a case for it."},"comment":{"url":"https://api.github.com/repos/daterre/Cradle/issues/comments/382495377","html_url":"https://github.com/daterre/Cradle/issues/58#issuecomment-382495377","issue_url":"https://api.github.com/repos/daterre/Cradle/issues/58","id":382495377,"user":{"login":"daterre","id":1842828,"avatar_url":"https://avatars3.githubusercontent.com/u/1842828?v=4","gravatar_id":"","url":"https://api.github.com/users/daterre","html_url":"https://github.com/daterre","followers_url":"https://api.github.com/users/daterre/followers","following_url":"https://api.github.com/users/daterre/following{/other_user}","gists_url":"https://api.github.com/users/daterre/gists{/gist_id}","starred_url":"https://api.github.com/users/daterre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daterre/subscriptions","organizations_url":"https://api.github.com/users/daterre/orgs","repos_url":"https://api.github.com/users/daterre/repos","events_url":"https://api.github.com/users/daterre/events{/privacy}","received_events_url":"https://api.github.com/users/daterre/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T19:04:28Z","updated_at":"2018-04-18T19:04:28Z","author_association":"OWNER","body":"Hi @michaelbianchini, sorry it took me so long to answer! Yes, totally doable. I don't really have the environment to test it at the moment thought - do you have your fork somewhere I can look at? Maybe it's a simple fix."}}
{"actor":{"display_login":"daterre"}}