chore(desktop): adapt to new rebuild script

This commit is contained in:
Elian Doran 2025-05-02 23:24:32 +03:00
parent 845af5472e
commit 0b00c73ed3
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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": {

View File

@ -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));