blob: 29aa92b318f05a0aacc2f91879e1b0a5a66c7d00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import ContentMessageListener from './infrastructures/ContentMessageListener';
import SettingController from './controllers/SettingController';
import VersionController from './controllers/VersionController';
new SettingController().reload();
browser.runtime.onInstalled.addListener((details) => {
if (details.reason !== 'install' && details.reason !== 'update') {
return;
}
new VersionController().notify();
});
new ContentMessageListener().run();
|