From 4c7936b019cd710dc9665d12316b1a617894b99d Mon Sep 17 00:00:00 2001 From: MasutaYunikon Date: Fri, 20 Mar 2026 16:59:58 +0100 Subject: [PATCH] fix: export _isBunBinary --- server/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/config.ts b/server/config.ts index e19c0a2..a4f47b1 100644 --- a/server/config.ts +++ b/server/config.ts @@ -1,7 +1,7 @@ import fs from 'fs' import path from 'path' -const _isBunBinary = typeof (globalThis as any).Bun !== 'undefined' +export const _isBunBinary = typeof (globalThis as any).Bun !== 'undefined' && path.dirname((process as any).execPath) !== process.cwd() export const BASE_DIR = _isBunBinary