Skip to content

Commit 9bef26a

Browse files
authored
feat(macos): change "start hidden" to minimize to menubar (localsend#1795)
1 parent 78abc5e commit 9bef26a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/lib/config/init.dart

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ Future<RefenaContainer> preInit(List<String> args) async {
105105
if (args.contains(startHiddenFlag)) {
106106
// keep this app hidden
107107
startHidden = true;
108+
109+
unawaited(hideToTray());
108110
} else {
109111
await WindowManager.instance.show();
110112
}

0 commit comments

Comments
 (0)