()
| 56 | } |
| 57 | |
| 58 | #createAppTraySetting() { |
| 59 | const checkbox = gui.Button.create({ |
| 60 | type: 'checkbox', |
| 61 | title: 'Show Tray Icon', |
| 62 | }); |
| 63 | checkbox.setChecked(!!app.tray); |
| 64 | checkbox.onClick = () => app.setHasTray(!app.tray); |
| 65 | return checkbox; |
| 66 | } |
| 67 | |
| 68 | #createDockIconSetting() { |
| 69 | const checkbox = gui.Button.create({ |