mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-05 04:47:54 +00:00
Fix infer icon url #529
This commit is contained in:
parent
46d381481c
commit
bb67448328
@ -48,7 +48,7 @@ function mapIconWithMatchScore(fileIndex, targetUrl) {
|
|||||||
function inferIconFromStore(targetUrl, platform) {
|
function inferIconFromStore(targetUrl, platform) {
|
||||||
const allowedFormats = new Set(allowedIconFormats(platform));
|
const allowedFormats = new Set(allowedIconFormats(platform));
|
||||||
|
|
||||||
return gitCloud('http://jiahaog.com/nativefier-icons/')
|
return gitCloud('https://jiahaog.github.io/nativefier-icons/')
|
||||||
.then((fileIndex) => {
|
.then((fileIndex) => {
|
||||||
const iconWithScores = mapIconWithMatchScore(fileIndex, targetUrl);
|
const iconWithScores = mapIconWithMatchScore(fileIndex, targetUrl);
|
||||||
const maxScore = getMaxMatchScore(iconWithScores);
|
const maxScore = getMaxMatchScore(iconWithScores);
|
||||||
|
Loading…
Reference in New Issue
Block a user