diff --git a/CHANGELOG.md b/CHANGELOG.md index 3871cad..81e71fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ------ +### 2019-12-16 + +#### 新功能 ++ 3136352472 [10:32:14] :sleep一下;影响的范围(代码逻辑) + +------ + ### 2019-11-15 #### 新功能 diff --git a/index.js b/index.js index 3b5dd21..c6ca4e1 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -const {app, BrowserWindow} = require('electron') +const {app, BrowserWindow} = require('electron'); function createWindow() { // 创建浏览器窗口 @@ -6,8 +6,8 @@ function createWindow() { width: 1024, height: 600, kiosk: true, - frame: true - }) + frame: false + }); // 加载index.html文件 win.loadFile('index.html') diff --git a/xwebstart.sh b/xwebstart.sh index 75ed042..4eebe47 100644 --- a/xwebstart.sh +++ b/xwebstart.sh @@ -1,7 +1,7 @@ #!/bin/sh - +sleep 1 xset dpms 0 0 0 xset s off - +sleep 1 # 将electron换成绝对路径 /electron/electron --disable-http-cache --no-sandbox /web/index.js