Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

290 B
Raw Blame
import { browser } from '#imports';
import { UPDATE_NOTICE_KEY } from './constants';

export async function recordUpdate(reason: string): Promise<void> {
  if (reason !== 'update') return;
  await browser.storage.local.set({ [UPDATE_NOTICE_KEY]: browser.runtime.getManifest().version });
}