Struct relaunch::Application
source · pub struct Application {
pub name: String,
pub ident: String,
pub bundle_path: PathBuf,
pub bundle: Retained<NSBundle>,
pub app: Retained<NSApplication>,
}Expand description
The application, including pointers to the [NSBundle mainBundle] and
[NSApplication sharedApplication] instances for the relaunched app
bundle.
Fields§
§name: StringThe name of the application, as shown in the Dock and menubar.
ident: StringThe bundle identifier of the application, which should be a reverse-DNS style unique string identifier using only alpha-numeric characters, the ‘.’ dot, and ‘-’ hyphen.
bundle_path: PathBufThe path to the app bundle on the filesytem from which this process is running. Note that if the app was already running from an application bundle, this might not be the same directory in which the app bundle would have been generated.
bundle: Retained<NSBundle>A reference to the [NSBundle mainBundle] instance for the app
bundle.
app: Retained<NSApplication>A reference to the [NSApplication sharedApplication] instance for
the application.