fix: ensure process.cwd() correct.

This commit is contained in:
草鞋没号
2021-05-15 20:57:32 +08:00
parent f6f363364d
commit d5f294cd2a
6 changed files with 15 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
/**
* electron 主文件
*/
import '@src/common/patch'
import { join } from 'path'
import { app, BrowserWindow } from 'electron'
import dotenv from 'dotenv'