refactor: Replace Webpack with Vite (#53)
This commit is contained in:
8
src/pages/background/events/onInstall.ts
Normal file
8
src/pages/background/events/onInstall.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { ExtensionStore } from '@shared/storage/ExtensionStore';
|
||||
|
||||
/**
|
||||
* Called when the extension is first installed or synced onto a new machine
|
||||
*/
|
||||
export default async function onInstall() {
|
||||
await ExtensionStore.set('version', chrome.runtime.getManifest().version);
|
||||
}
|
||||
Reference in New Issue
Block a user