Click or drag to resize
CoronaRuntimeLaunchSettingsLaunchFilePath Property

Gets or set a path to the file that the Corona runtime will begin execution on.

Expected to be set to the path to a "main.lua" or "resource.car" file.

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public string LaunchFilePath { get; set; }

Property Value

Type: String

Path to a *.lua or *.car file that the Corona runtime will execute upon startup, such as a path to a "main.lua" or "resource.car" file

Can be set to a file that is not in the "Resource" directory, which is useful if you plan on executing a Lua script that was downloaded form the Internet.

Setting this path to null or empty string causes Corona to attempt to load a "main.lua" or "resource.car" file from the root of the "Resource" directory on startup.

See Also