Skip to content

ElectronLoginItemSettings

Unofficial

The app’s login item settings.

Import:

import type { ElectronLoginItemSettings } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronLoginItemSettings

Properties

Property Type Description
executableWillLaunchAtLogin boolean true if app is set to open at login and its run key is not deactivated. Differs from openAtLogin as it ignores the args option. Windows only.
launchItems ElectronLaunchItems[] The list of registry-backed launch items. Windows only.
openAsHidden boolean true if the app is set to open as hidden at login. Not available on MAS builds. macOS only.
openAtLogin boolean true if the app is set to open at login.
restoreState boolean true if the app was opened as a login item that should restore the state from the previous session. Not available on MAS builds. macOS only.
wasOpenedAsHidden boolean true if the app was opened as a hidden login item. Not available on MAS builds. macOS only.
wasOpenedAtLogin boolean true if the app was opened at login automatically. Not available on MAS builds. macOS only.

Links to this page: