temp
This commit is contained in:
parent
8c6416ec87
commit
55af6bd54e
@ -66,8 +66,9 @@ async function startBackend() {
|
||||
}
|
||||
let userHome = process.env.HOME || process.env.USERPROFILE;
|
||||
let dataPath = path.join(userHome, "openRenamer");
|
||||
let exist = fs.existsSync("./openRenamerBackend");
|
||||
const childProcess = spawn('node', [exist ? './' : '../' + 'openRenamerBackend/dist/index.js'], {
|
||||
log.info("start check folder exist", __dirname, __filename)
|
||||
let exist = fs.existsSync("openRenamerBackend");
|
||||
const childProcess = spawn('node', [(exist ? '' : '../') + 'openRenamerBackend/dist/index.js'], {
|
||||
env: {
|
||||
"PORT": port,
|
||||
"DATA_PATH": dataPath
|
||||
|
1705
electron/yarn.lock
Normal file
1705
electron/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user