mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
73d3b145ad | ||
|
|
ac60dbd5ee | ||
|
|
e99ba830d8 | ||
|
|
a6b4e7fa82 | ||
|
|
8453be3e9d |
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
os: macos-latest
|
os: macos-latest
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
- buid: macos
|
- build: macos
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
arch: aarch64
|
arch: aarch64
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
|
|||||||
@@ -464,7 +464,7 @@ pub fn tray_handler(handle: &AppHandle, event: SystemTrayEvent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if let Some(tray_win) = handle.get_window("tray") {
|
if let Some(tray_win) = handle.get_window("tray") {
|
||||||
tray_win.move_window(Position::TrayCenter).unwrap();
|
tray_win.move_window(Position::TrayFixedCenter).unwrap();
|
||||||
|
|
||||||
if tray_win.is_visible().unwrap() {
|
if tray_win.is_visible().unwrap() {
|
||||||
tray_win.hide().unwrap();
|
tray_win.hide().unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user