Skip to content

Commit

Permalink
0813 close #28 希望能夠儲存上次的位置
Browse files Browse the repository at this point in the history
  • Loading branch information
pulipulichen committed Aug 13, 2019
1 parent f088c38 commit 18bcb91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/libs/CrawlerIconManager.js
Expand Up @@ -180,6 +180,7 @@ let CrawlerIconManager = {
title = title.slice(0, 20).trim()
}
title = host + '-' + title
title = title.split(',').join('')

title = title.split('/').join('')
title = title.split('\\').join('')
Expand Down
4 changes: 3 additions & 1 deletion app/scripts.js
Expand Up @@ -33,7 +33,9 @@ let appConfig = {
if (this._urlWatchLock === undefined && encodeURI(newUrl) !== newUrl) {
this._urlWatchLock = true
setTimeout(() => {
this.url = encodeURI(newUrl)
newUrl = encodeURI(newUrl)
newUrl = newUrl.split('%25').join('%')
this.url = newUrl
setTimeout(() => {
this._urlWatchLock = undefined
}, 100)
Expand Down
2 changes: 1 addition & 1 deletion main.js
Expand Up @@ -86,7 +86,7 @@ function createWindow() {
width: 400,
height: height,
maximizable: false,
icon: './app/imgs/icon.png',
icon: './app/imgs/Apps-Google-Chrome-App-List-icon.ico',
webPreferences: {
nodeIntegration: true
}
Expand Down

0 comments on commit 18bcb91

Please sign in to comment.