forgor to add tsconfig

This commit is contained in:
Vendicated
2023-04-05 16:56:33 +02:00
parent 9d144a11be
commit f357ee4260
4 changed files with 19 additions and 3 deletions

8
src/renderer/utils.ts Normal file
View File

@@ -0,0 +1,8 @@
export const localStorage = window.localStorage;
export const isFirstRun = (() => {
const key = "VCD_FIRST_RUN";
if (localStorage.getItem(key) !== null) return false;
localStorage.setItem(key, "false");
return true;
})();