mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-22 18:33:56 +00:00
fix: migrating level to classic-level
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { levelDatabasePath } from "@main/constants";
|
||||
import { Level } from "level";
|
||||
import { ClassicLevel } from "classic-level";
|
||||
|
||||
export const db = new Level(levelDatabasePath, { valueEncoding: "json" });
|
||||
export const db = new ClassicLevel(levelDatabasePath, {
|
||||
valueEncoding: "json",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user