mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-12 11:30:01 -04:00
Attempt Windows and PM2 fix again
This commit is contained in:
parent
20a32288ad
commit
976513b851
2 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ for (let i = 2; i < process.argv.length; i++)
|
|||
// Handle setup on Windows differently from platforms with POSIX-compliant shells.
|
||||
// This should run the server as a background process.
|
||||
else if (process.platform === "win32")
|
||||
exec('START /MIN "" "node backend.js"', (error, stdout) => {
|
||||
exec('START /MIN "" node backend.js', (error, stdout) => {
|
||||
if (error) throw error;
|
||||
console.log(stdout);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue