mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-14 20:33:41 +00:00
fix: add mac tray template icon
This commit is contained in:
1 parent
b3e372326f
commit
0e3ca912a7
3 files changed
+18
-14
No files matched your search
@@ -28,13 +28,9 @@ Future<void> init() async {
|
||||
const windowOptions = WindowOptions(
|
||||
size: Size(1024, 768),
|
||||
center: true,
|
||||
backgroundColor: Colors.transparent,
|
||||
skipTaskbar: false,
|
||||
);
|
||||
windowManager.waitUntilReadyToShow(windowOptions, () async {
|
||||
await windowManager.setBrightness(
|
||||
Brightness.light,
|
||||
);
|
||||
await windowManager.show();
|
||||
await windowManager.focus();
|
||||
await windowManager.setPreventClose(true);
|
||||
|
||||
Reference in new issue
Block a user