@jiahaog looks like your icon repository changed? Getting a 404 from London.
$ nativefier web.whatsapp.com --verbose
Cannot automatically retrieve the app icon: { data: '<!DOCTYPE html>\n<html lang="en">\n\n <head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n\n <title>\n \n 404: Page not found · Jia Hao\n \n </title>\n\n <link rel="stylesheet" href="/assets/css/styles.css">\n <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">\n\n <link rel="shortcut icon" href="/favicon.ico">\n <link rel="alternate" type="application/atom+xml" title="Jia Hao" href="/atom.xml">\n\n \n <!-- Global site tag (gtag.js) - Google Analytics -->\n<script async src="https://www.googletagmanager.com/gtag/js?id=UA-66102276-1"></script>\n<script>\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag(\'js\', new Date());\n\n gtag(\'config\', \'UA-66102276-1\');\n</script>\n\n \n</head>\n\n\n <body>\n\n \n<aside class="sidebar">\n <div class="container sidebar-sticky">\n <div class="sidebar-about">\n <h1><a href="/" title="Home">Jia Hao</a></h1>\n <p class="lead">Hello!</p>\n </div>\n\n <nav class="sidebar-nav">\n <a class="sidebar-nav-item" href="/">Home</a>\n\n \n\n \n \n \n \n <a class="sidebar-nav-item" href="/about.html">About</a>\n \n \n \n \n \n \n \n \n \n \n <!-- <a class="sidebar-nav-item" href="/albums.html">Photography</a> -->\n <a class="sidebar-nav-item" href="/atom.xml" target="_blank">RSS</a>\n </nav>\n\n <nav>\n <a class="profile-link" href="https://github.com/jiahaog" target="_blank"><img class="profile-icon" src="/assets/svg/github.svg" alt="GitHub Profile"/></a>\n <a class="profile-link" href="https://twitter.com/jiahaog" target="_blank"><img class="profile-icon" src="/assets/svg/twitter.svg" alt="Twitter Profile"/></a>\n <a class="profile-link" href="https://keybase.io/jiahaog" target="_blank"><img class="profile-icon" src="/assets/svg/key.svg" alt="Keybase Profile"/></a>\n </nav>\n <small>\n © Jia Hao Goh\n </small>\n </div>\n</aside>\n\n\n <div class="container content">\n <main>\n <div class="page">\n <h1 class="page-title">404: Page not found</h1>\n <p class="lead">Sorry, we\'ve misplaced that URL or it\'s pointing to something that doesn\'t exist. <a href="/">Head back home</a> to try finding it again.</p>\n</div>\n\n </main>\n </div>\n\n </body>\n</html>\n',
status: 404,
statusText: 'Not Found',
headers:
{ 'cache-control': 'public, max-age=0, must-revalidate',
'content-type': 'text/html; charset=utf-8',
date: 'Sun, 28 Jan 2018 22:13:01 GMT',
etag: '1516637542-ssl',
age: '2624',
'content-length': '2419',
connection: 'close',
server: 'Netlify' },
config:
{ transformRequest: { '0': [Function: transformResponseJSON] },
transformResponse: { '0': [Function: transformResponseJSON] },
headers:
{ Accept: 'application/json, text/plain, */*',
'User-Agent': 'axios/0.9.1' },
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
method: 'get',
url: 'http://jiahaog.com/nativefier-icons/',
withCredentials: undefined,
data: undefined } }
Packaging app for platform darwin x64 using electron v1.7.9
App built to /Users/mklaber/tmp/WhatsApp Web-darwin-x64
@mklaber thanks for the feedback 馃憤.
@jiahaog, any recent change with the icons repo?
@ronjouch this may just be a matter of semantics but the _build_ doesn't fail. Just the icon step fails (silently, unless in verbose mode).
I just installed nativefier and the inference seems to be failing for icons and the names. For example nativefier gmail.com just creates APP with generic icon. Is this a recent bug?
Hey @rajuashok thanks for the feedback! Yeah we seem to be having trouble with the icons repo; for now just download a PNG icon locally (e.g. to /tmp/icongmail.png) and nativefy explicitly with --icon /tmp/icongmail.png
@jiahaog any recent change with the icons repo?
Ah, I've just fixed it :)
Most helpful comment
Ah, I've just fixed it :)