Skip to content

Commit

Permalink
update manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
liying2008 committed Nov 26, 2019
1 parent 4eaebc8 commit 98f2dae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ body {

div#app {
min-height: 200px;
min-width: 700px;
/*设置 min-width 之后,Firefox上会有横向滚动条*/
/*min-width: 700;*/
width: 700px;
margin: auto;
}

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 98f2dae

Please sign in to comment.