mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(desktop): adapt to new rebuild script
This commit is contained in:
parent
845af5472e
commit
0b00c73ed3
@ -53,7 +53,7 @@
|
||||
"cache": true,
|
||||
"configurations": {
|
||||
"default": {
|
||||
"command": "cross-env DEBUG=* tsx scripts/rebuild.ts",
|
||||
"command": "cross-env DEBUG=* tsx scripts/rebuild.mts",
|
||||
"cwd": "{projectRoot}"
|
||||
},
|
||||
"nixos": {
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname, join } from "path";
|
||||
import rebuild from "@electron/rebuild"
|
||||
import { rebuild } from "@electron/rebuild"
|
||||
import { readFileSync } from "fs";
|
||||
|
||||
const scriptDir = dirname(fileURLToPath(import.meta.url));
|
Loading…
x
Reference in New Issue
Block a user