Struct FireOptions

Options to pass to fireDesktopFile.

struct FireOptions ;

Fields

NameTypeDescription
allowMultipleInstances boolAllow to run multiple instances of application if it does not support opening multiple urls in one instance.
flags intFlags By default is set to use all flags.
locale stringLocale of environment. Empty by default.
opener void delegate(string)Delegate that will be used to open url if desktop file is link. To set static function use std.functional.toDelegate. If it's null fireDesktopFile will use xdg-open.
terminalDetector const(string)[] delegate()Delegate that will be used to get terminal command if desktop file is application and needs to ran in terminal. To set static function use std.functional.toDelegate. If it's null, fireDesktopFile will use getTerminalCommand.
urls const(string)[]Urls to pass to the program is desktop file points to application. Empty by default.