From 27092b396860f9fd3b11fd020777b6110a8f0cba Mon Sep 17 00:00:00 2001 From: MasutaYunikon Date: Fri, 13 Mar 2026 04:16:07 +0100 Subject: [PATCH] fix: worker outside the exe --- .github/workflows/build-binaries.yml | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 4701b47..a276fdc 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -98,7 +98,7 @@ jobs: shell: pwsh - name: Build worker - run: bun build server/organize-worker.ts --target ${{ matrix.bun-target }} --outfile organize-worker.js + run: bun build server/organize-worker.ts --outfile organize-worker.js - name: Package archive (Windows) if: matrix.target == 'windows-x64' diff --git a/package.json b/package.json index bc852e0..8a821c0 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "dev:server": "tsx watch server/index.ts", "dev:client": "vite", "build": "vite build && tsc -p tsconfig.server.json", - "build:bun:linux": "bun build server/index.ts --compile --target bun-linux-x64 --outfile binaries/fankarr-linux-x64 && bun build server/organize-worker.ts --target bun-linux-x64 --outfile binaries/organize-worker.js", - "build:bun:windows": "bun build server/index.ts --compile --target bun-windows-x64 --outfile binaries/fankarr-windows-x64.exe && bun build server/organize-worker.ts --target bun-windows-x64 --outfile binaries/organize-worker.js", - "build:bun:macos": "bun build server/index.ts --compile --target bun-darwin-arm64 --outfile binaries/fankarr-macos && bun build server/organize-worker.ts --target bun-darwin-arm64 --outfile binaries/organize-worker.js", + "build:bun:linux": "bun build server/index.ts --compile --target bun-linux-x64 --outfile binaries/fankarr-linux-x64 && bun build server/organize-worker.ts --outfile binaries/organize-worker.js", + "build:bun:windows": "bun build server/index.ts --compile --target bun-windows-x64 --outfile binaries/fankarr-windows-x64.exe && bun build server/organize-worker.ts --outfile binaries/organize-worker.js", + "build:bun:macos": "bun build server/index.ts --compile --target bun-darwin-arm64 --outfile binaries/fankarr-macos && bun build server/organize-worker.ts --outfile binaries/organize-worker.js", "build:bun:all": "pnpm build:bun:linux && pnpm build:bun:windows && pnpm build:bun:macos", "start": "node dist/server/index.js", "preview": "vite preview"