forgor to add tsconfig
This commit is contained in:
8
src/renderer/utils.ts
Normal file
8
src/renderer/utils.ts
Normal 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;
|
||||
})();
|
||||
Reference in New Issue
Block a user