mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(monorepo/server): fix db asset path
This commit is contained in:
parent
6543d6c362
commit
2aad162f8e
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
@ -3,7 +3,7 @@ import path from "path";
|
||||
import fs from "fs";
|
||||
|
||||
import { fileURLToPath } from "url";
|
||||
export const RESOURCE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
|
||||
export const RESOURCE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../assets");
|
||||
|
||||
// where the "trilium" executable is
|
||||
const ELECTRON_APP_ROOT_DIR = path.resolve(RESOURCE_DIR, "../..");
|
||||
|
Loading…
x
Reference in New Issue
Block a user