Skip to content

Commit

Permalink
fix: build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit Gautam committed Jan 29, 2024
1 parent 6475d2d commit 89f0461
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/run-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ if (process.argv.length < 3) main(0, '');
else {
const { spawnSync } = require('child_process');
const path = require('path');
spawnSync('npm', ['install'], {
cwd: path.join(__dirname, '..'),
shell: true,
stdio: 'inherit',
});

spawnSync('npm', ['run', 'build:electron'], {
cwd: path.join(__dirname, '..'),
shell: true,
Expand Down

0 comments on commit 89f0461

Please sign in to comment.