From 98f2dae6c9e8553de5d515b575a9cc9aa614e3bb Mon Sep 17 00:00:00 2001 From: liying2008 Date: Tue, 26 Nov 2019 22:22:22 +0800 Subject: [PATCH] update manifest.json --- build.sh | 4 ++-- css/custom.css | 4 +++- manifest.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index 1957c12..82ec94f 100755 --- a/build.sh +++ b/build.sh @@ -27,9 +27,9 @@ for html in $html_files; do sed -i 's/src="js\/libs\/vue.js"/src="js\/libs\/vue.min.js"/' $html done -# 将 browser-polyfill.js 替换为 browser-polyfill.min.js -sed -i 's/"js\/libs\/jquery.js"/"js\/libs\/jquery.min.js"/' manifest.json # 将 jquery.js 替换为 jquery.min.js +sed -i 's/"js\/libs\/jquery.js"/"js\/libs\/jquery.min.js"/' manifest.json +# 将 browser-polyfill.js 替换为 browser-polyfill.min.js sed -i 's/"js\/libs\/browser-polyfill.js"/"js\/libs\/browser-polyfill.min.js"/' manifest.json # 删除 Chrome 不兼容的 application 属性 sed -i.bak '/ "applications": {/,/ },/d' manifest.json diff --git a/css/custom.css b/css/custom.css index 441c936..8754405 100644 --- a/css/custom.css +++ b/css/custom.css @@ -5,7 +5,9 @@ body { div#app { min-height: 200px; - min-width: 700px; + /*设置 min-width 之后,Firefox上会有横向滚动条*/ + /*min-width: 700;*/ + width: 700px; margin: auto; } diff --git a/manifest.json b/manifest.json index 67783ba..8ebe10b 100644 --- a/manifest.json +++ b/manifest.json @@ -21,7 +21,7 @@ "browser_style": false, "default_icon": "img/icon.png", "default_popup": "popup.html", - "default_title": "__MSG_extName__ - __MSG_extDesc__" + "default_title": "__MSG_extShortName__ - __MSG_extDesc__" }, "icons": { "16": "img/icon16.png",