Skip to content

Commit 0cee2e2

Browse files
committed
chore: update tray_manager to version 0.4.0
1 parent ade70c3 commit 0cee2e2

File tree

7 files changed

+13
-4
lines changed

7 files changed

+13
-4
lines changed

README-ZH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies:
7272

7373
```yaml
7474
dependencies:
75-
tray_manager: ^0.3.1
75+
tray_manager: ^0.4.0
7676
```
7777

7878

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Add this to your package's pubspec.yaml file:
7272

7373
```yaml
7474
dependencies:
75-
tray_manager: ^0.3.1
75+
tray_manager: ^0.4.0
7676
```
7777

7878
Or

packages/tray_manager/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.4.0
2+
3+
* fix: resolve memory leak issue when update menu on macOS (#66)
4+
15
## 0.3.1
26

37
* [macos] Support setting the icon size on macOS. (#60)

packages/tray_manager/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022-2024 LiJianying <[email protected]>
3+
Copyright (c) 2022-present LiJianying <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

packages/tray_manager/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
ignoresPersistentStateOnLaunch = "NO"
4949
debugDocumentVersioning = "YES"
5050
debugServiceExtension = "internal"
51+
enableGPUValidationMode = "1"
5152
allowLocationSimulation = "YES">
5253
<BuildableProductRunnable
5354
runnableDebuggingMode = "0">

packages/tray_manager/example/macos/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ class AppDelegate: FlutterAppDelegate {
66
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
77
return true
88
}
9+
10+
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
11+
return true
12+
}
913
}

packages/tray_manager/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: tray_manager
22
description: This plugin allows Flutter desktop apps to defines system tray.
3-
version: 0.3.2
3+
version: 0.4.0
44
homepage: https://github.com/leanflutter/tray_manager
55

66
platforms:

0 commit comments

Comments
 (0)