mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-08 22:21:27 +03:00
https://github.com/rustdesk/rustdesk/issues/77 mac tray, still no find good way to open rustdesk from finder after tray
shown
This commit is contained in:
@@ -744,11 +744,12 @@ $(body).content(<App />);
|
||||
function self.closing() {
|
||||
// return false; // can prevent window close
|
||||
var (x, y, w, h) = view.box(#rectw, #border, #screen);
|
||||
handler.save_size(x, y, w, h);
|
||||
if (is_osx) {
|
||||
handler.closing(x, y, w, h);
|
||||
if (is_osx && handler.get_local_option("service-as-tray") != "Y") {
|
||||
view.windowState = View.WINDOW_HIDDEN;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function self.ready() {
|
||||
|
||||
Reference in New Issue
Block a user