CoronaRuntimeRunInDirectory Method |
Starts the Corona runtime by using the given path as the resource directory and executing the "resource.car" or "main.lua" file found it it.
If the runtime is currently executing a Corona project, then it will be terminated before running a new one.
Namespace: CoronaLabs.Corona.WinRT
Absolute path to the directory that Corona should use as the resource directory.
Cannot be null or empty string or else an exception will be thrown.
Returns a success result if the Corona runtime was able to start up.
Returns a failure result if unable to start. In this case, the result object's "Message" property will provide an error message indicating why the failure occurred.