()
| 59 | const sessions = new Map<string, Session>(); |
| 60 | |
| 61 | const updateBackgroundColor = () => { |
| 62 | const cfg_ = app.plugins.getDecoratedConfig(); |
| 63 | window.setBackgroundColor(toElectronBackgroundColor(cfg_.backgroundColor || '#000')); |
| 64 | }; |
| 65 | |
| 66 | // set working directory |
| 67 | let argPath = process.argv[1]; |