1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-21 20:52:11 +01:00
This commit is contained in:
rhysd 2017-04-19 17:19:01 +09:00
parent d5e3194025
commit 2b6b6c14eb

View File

@ -24,6 +24,13 @@ export class App {
this.setupHotkey();
}
start() {
const a = this.switcher.current;
const url = `https://${a.host}${a.default_page}`;
this.win.open(url);
log.debug('Application started', a, url);
}
private setupHotkey() {
if (!this.config.hot_key) {
return;
@ -46,13 +53,6 @@ export class App {
log.debug('Hot key was set to:', this.config.hot_key);
}
start() {
const a = this.switcher.current;
const url = `https://${a.host}${a.default_page}`;
this.win.open(url);
log.debug('Application started', a, url);
}
private setupTray() {
if (this.win.menubar) {
// Note: