Skip to content

Add --minimized CLI argument or "minimize on startup" in the options, for silent startup #1285

@pickonedev

Description

@pickonedev

Feature Request: Start minimized / start in tray via CLI argument

Currently, when Internxt Drive is launched (either manually or via Task Scheduler "hidden" / third-party startup managers "hidden"), it always opens its window visibly. There is no way to suppress this behavior.

What I'd like

A CLI argument such as --minimized that tells the app to launch silently, without showing any window, going directly to the tray icon.
Or at least an option inside the app to start the app minimized

Why this matters

Many users (including myself) manage their startup applications via Task Scheduler or custom scripts. In these scenarios, having the app window pop up on every login is disruptive. Other similar apps (like Dropbox, OneDrive, Google, etc.) support this behavior natively.

Expected behavior

Internxt.exe --start-in-tray launches the app with no visible window. The tray icon is present and functional as usual.
Or "Startup minimized" in the options window

Current workaround

There is no clean workaround. Attempts to use ProcessWindowStyle.Hidden from external scripts or Task Scheduler's "Hidden" flag are ignored by Electron, as expected.

Additional context

This would be a small change in the main process — checking process.argv for the flag and skipping the initial window creation if it's present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions