fluxy-bot 0.1.44 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxy-bot",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "Self-hosted AI bot — run your own AI assistant from anywhere",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -13,8 +13,8 @@ export function getVitePort(basePort: number): number {
13
13
 
14
14
  export function spawnVite(port: number): Promise<void> {
15
15
  return new Promise((resolve) => {
16
- const viteBin = path.join(PKG_DIR, 'node_modules', '.bin', 'vite');
17
- child = spawn(viteBin, ['--port', String(port), '--strictPort'], {
16
+ const viteCli = path.join(PKG_DIR, 'node_modules', 'vite', 'bin', 'vite.js');
17
+ child = spawn(process.execPath, [viteCli, '--port', String(port), '--strictPort'], {
18
18
  cwd: PKG_DIR,
19
19
  stdio: ['ignore', 'pipe', 'pipe'],
20
20
  env: { ...process.env },