2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 18:48:55 +00:00

Fix infer icon url #529

This commit is contained in:
Goh Jia Hao 2018-03-29 19:38:04 -07:00
parent 46d381481c
commit bb67448328

View File

@ -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);