Skip to content

pytauri_plugins.autostart

tauri_plugin_autostart::self

Modules:

Name Description
ffi

Original FFI interface module.

Classes:

Name Description
MacosLauncher

Functions:

Name Description
init

__all__ module-attribute

__all__ = ['MacosLauncher', 'init']

MacosLauncher

Bases: Enum

tauri_plugin_autostart::MacosLauncher

Attributes:

Name Type Description
LaunchAgent
AppleScript

LaunchAgent class-attribute instance-attribute

LaunchAgent = auto()

AppleScript class-attribute instance-attribute

AppleScript = auto()

init

init(macos_launcher: MacosLauncher = LaunchAgent, args: Optional[Sequence[str]] = None) -> Plugin

tauri_plugin_autostart::init

Source code in python/pytauri/src/pytauri_plugins/autostart/ffi.py
def init(
    macos_launcher: MacosLauncher = MacosLauncher.LaunchAgent,
    args: Optional[Sequence[str]] = None,
) -> Plugin:
    """[tauri_plugin_autostart::init](https://docs.rs/tauri-plugin-autostart/latest/tauri_plugin_autostart/fn.init.html)"""
    ...