Allow configuration of whether closing window closes or minimizes to tray
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
150c941340
commit
b02b371250
3 changed files with 51 additions and 3 deletions
|
@ -113,4 +113,29 @@ export default class BasePlatform {
|
|||
reload() {
|
||||
throw new Error("reload not implemented!");
|
||||
}
|
||||
|
||||
supportsAutoLaunch() {
|
||||
return false;
|
||||
}
|
||||
|
||||
// XXX: Surely this should be a setting like any other?
|
||||
async getAutoLaunchEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
async setAutoLaunchEnabled(enabled) {
|
||||
throw new Error("Unimplemented");
|
||||
}
|
||||
|
||||
supportsMinimizeToTray() {
|
||||
return false;
|
||||
}
|
||||
|
||||
async getMinimizeToTrayEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
async setMinimizeToTrayEnabled() {
|
||||
throw new Error("Unimplemented");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue