chore: Struct adjust

This commit is contained in:
草鞋没号
2021-02-18 16:11:08 +08:00
parent 48d5a92e6d
commit 7b472f36c6
9 changed files with 40 additions and 73 deletions

View File

@@ -1,11 +1,10 @@
/**
* electron 主文件
*/
require('dotenv').config({ path: join(__dirname, '../../.env') })
import { join } from 'path'
import { app, BrowserWindow } from 'electron'
import dotenv from 'dotenv'
dotenv.config({ path: join(__dirname, '../../.env') })
let win: BrowserWindow