diff --git a/src/main/whisper/index.ts b/src/main/whisper/index.ts index 3dc909a..6609d1b 100644 --- a/src/main/whisper/index.ts +++ b/src/main/whisper/index.ts @@ -4,7 +4,7 @@ import { promisify } from "node:util"; const prod = import.meta.env.PROD const resourcesPath = prod ? process.resourcesPath : path.resolve(__dirname, "../../../public/resources") -const { whisper } = require(path.join( +const { whisper } = require(path.resolve( resourcesPath, "whisper-addon.node", ));