Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 0b00c73

Browse files
committed
chore(desktop): adapt to new rebuild script
1 parent 845af54 commit 0b00c73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"cache": true,
5454
"configurations": {
5555
"default": {
56-
"command": "cross-env DEBUG=* tsx scripts/rebuild.ts",
56+
"command": "cross-env DEBUG=* tsx scripts/rebuild.mts",
5757
"cwd": "{projectRoot}"
5858
},
5959
"nixos": {

apps/desktop/scripts/rebuild.ts renamed to apps/desktop/scripts/rebuild.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import { fileURLToPath } from "url";
1010
import { dirname, join } from "path";
11-
import rebuild from "@electron/rebuild"
11+
import { rebuild } from "@electron/rebuild"
1212
import { readFileSync } from "fs";
1313

1414
const scriptDir = dirname(fileURLToPath(import.meta.url));

0 commit comments

Comments
 (0)