From 6ce866ecac971c053474fb9cbe5475c682205bf4 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Mon, 9 Dec 2024 23:10:20 +0800 Subject: [PATCH] fix prebuild --- .github/prebuild.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/prebuild.js b/.github/prebuild.js index 55ec9a29..2f63c885 100644 --- a/.github/prebuild.js +++ b/.github/prebuild.js @@ -4,7 +4,7 @@ import { fileURLToPath } from "node:url"; import { exec as execCb } from "node:child_process"; import { env } from "node:process"; import { promisify } from "node:util"; -import { createTauriPlatformConfigs } from "../apps/desktop/scripts/prepare"; +import { createTauriPlatformConfigs } from "../apps/desktop/scripts/prepare.js"; const exec = promisify(execCb); const signId = env.APPLE_SIGNING_IDENTITY || "-"; @@ -73,7 +73,6 @@ rustflags = [ }); } else if (os === "windows") { // const binFiles = await fs.readdir(path.join(nativeDeps, "bin")); - // await fs.writeFile( // `${srcTauri}/tauri.windows.conf.json`, // JSON.stringify(