mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: migrating level to classic-level
This commit is contained in:
parent
2aff983dec
commit
f387560836
4 changed files with 7 additions and 21 deletions
|
@ -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",
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue