mirror of
https://github.com/rhysd/Mstdn.git
synced 2025-01-21 20:52:11 +01:00
12 lines
390 B
TypeScript
12 lines
390 B
TypeScript
import {Config, Account} from '../main/config';
|
|
import * as Ipc from './ipc';
|
|
import setupKeymaps from './key_handler';
|
|
import PluginsLoader from './plugins';
|
|
|
|
Ipc.on('mstdn:config', (c: Config, a: Account) => {
|
|
const loader = new PluginsLoader(c, a);
|
|
loader.loadAfterAppPrepared();
|
|
setupKeymaps(c, a, loader);
|
|
document.title = `${document.title} @${a.name}@${a.host}`;
|
|
});
|