添加linux支持

This commit is contained in:
2020-07-23 21:44:25 +08:00
parent 5f2b0de85b
commit 0b019a42a1
13 changed files with 1223 additions and 256 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ function createMainWindow() {
const win = new BrowserWindow({
width: config.mainWindowWidth,
height: config.mainWindowHeight,
icon: path.resolve(__dirname, './assets/icon.ico'),
icon: path.resolve(__dirname, './assets/icon.png'),
title: 'Google Translate',
show: false,
webPreferences: {