diff --git a/CHANGELOG.md b/CHANGELOG.md index 90658a9..6a64fee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### 2019-12-16 #### 新功能 ++ 3136352472 [13:23:31] :测试;影响的范围(代码逻辑) + 3136352472 [10:47:07] :延时;影响的范围(代码逻辑) + 3136352472 [10:35:40] :frame改为true;影响的范围(代码逻辑) + 3136352472 [10:32:14] :sleep一下;影响的范围(代码逻辑) diff --git a/index.js b/index.js index c6ca4e1..bf8e7b2 100644 --- a/index.js +++ b/index.js @@ -3,8 +3,8 @@ const {app, BrowserWindow} = require('electron'); function createWindow() { // 创建浏览器窗口 let win = new BrowserWindow({ - width: 1024, - height: 600, + width: 640, + height: 480, kiosk: true, frame: false }); diff --git a/xwebstart.sh b/xwebstart.sh index 02c8aa6..75ed042 100644 --- a/xwebstart.sh +++ b/xwebstart.sh @@ -1,10 +1,7 @@ #!/bin/sh -# 将electron换成绝对路径 - -/electron/electron --disable-http-cache --no-sandbox /web/index.js - -sleep 5 - xset dpms 0 0 0 xset s off + +# 将electron换成绝对路径 +/electron/electron --disable-http-cache --no-sandbox /web/index.js