wip: migrate to desktop2

This commit is contained in:
2024-02-12 09:08:35 +07:00
parent c809ab6b4e
commit 1950cb59a2
25 changed files with 347 additions and 51 deletions

View File

@@ -13,7 +13,7 @@ import { type VListHandle } from "virtua";
import { LumeStorage } from "./storage";
const platformName = await platform();
const osLocale = await locale();
const osLocale = (await locale()).slice(0, 2);
const store = new Store("lume.dat");
const storage = new LumeStorage(store, platformName, osLocale);