From 3e1ad4eb5d2d13b1e0a5eedaf7fe7bfd8db58771 Mon Sep 17 00:00:00 2001 From: Fritz Lin Date: Sun, 5 Jun 2016 09:18:42 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E7=A6=81=E6=AD=A2=E5=A4=96=E5=B1=82?= =?UTF-8?q?=E7=BD=91=E9=A1=B5=E6=BB=9A=E5=8A=A8=20=E5=BD=B1=E5=93=8D?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=20-=20=E8=A1=A5=E5=85=85package.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 ++++++- preload.js | 10 ++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4745853..22e3039 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,18 @@ { "name": "wxbot", - "version": "0.0.6", + "version": "0.0.7", + "description": "普通个人号 微信机器人/外挂", "repository": "git@github.com:fritx/wxbot.git", + "homepage": "https://github.com/fritx/wxbot", "keywords": [ "weixin", "wx", "qq", "bot" ], + "scripts": { + "start": "electron ." + }, "dependencies": { "bytes": "^2.1.0", "fs-extra": "^0.24.0", diff --git a/preload.js b/preload.js index c2c0804..08e1e49 100644 --- a/preload.js +++ b/preload.js @@ -12,6 +12,12 @@ function debug(/*args*/){ _console.log(args) } +// 禁止外层网页滚动 影响使用 +document.addEventListener('DOMContentLoaded', () => { + // document.body.style.height = '100%' + document.body.style.overflow = 'hidden' +}) + var free = true // setTimeout(function(){ @@ -232,8 +238,8 @@ function onReddot($chat_item){ reset() } - - + + }, 100) }