Title: Webapp Manifest icons are generated with invalid paths · Issue #1179 · angular/angular-cli · GitHub
Open Graph Title: Webapp Manifest icons are generated with invalid paths · Issue #1179 · angular/angular-cli
X Title: Webapp Manifest icons are generated with invalid paths · Issue #1179 · angular/angular-cli
Description: Mac OS-X El Capitan Versions. angular-cli: 1.0.0-beta.6 node: 4.4.3 os: darwin x64 Repro steps. ng new myApp --mobile The log given by the failure. N/A. Mention any other details that might be useful. The icon section of the manifest cur...
Open Graph Description: Mac OS-X El Capitan Versions. angular-cli: 1.0.0-beta.6 node: 4.4.3 os: darwin x64 Repro steps. ng new myApp --mobile The log given by the failure. N/A. Mention any other details that might be usef...
X Description: Mac OS-X El Capitan Versions. angular-cli: 1.0.0-beta.6 node: 4.4.3 os: darwin x64 Repro steps. ng new myApp --mobile The log given by the failure. N/A. Mention any other details that might be usef...
Opengraph URL: https://github.com/angular/angular-cli/issues/1179
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Webapp Manifest icons are generated with invalid paths","articleBody":"1. Mac OS-X El Capitan\n2. Versions. \n angular-cli: 1.0.0-beta.6\n node: 4.4.3\n os: darwin x64\n3. Repro steps. \n `ng new myApp --mobile`\n4. The log given by the failure. \n N/A.\n5. Mention any other details that might be useful.\n The icon section of the manifest currently generated by the angular-cli looks like this:\n\n```\n \"icons\": [\n {\n \"src\": \"/android-chrome-36x36.png\",\n \"sizes\": \"36x36\",\n \"type\": \"image/png\",\n \"density\": 0.75\n },\n {\n \"src\": \"/android-chrome-48x48.png\",\n \"sizes\": \"48x48\",\n \"type\": \"image/png\",\n \"density\": 1\n },\n {\n \"src\": \"/android-chrome-72x72.png\",\n \"sizes\": \"72x72\",\n \"type\": \"image/png\",\n \"density\": 1.5\n },\n {\n \"src\": \"/android-chrome-96x96.png\",\n \"sizes\": \"96x96\",\n \"type\": \"image/png\",\n \"density\": 2\n },\n {\n \"src\": \"/android-chrome-144x144.png\",\n \"sizes\": \"144x144\",\n \"type\": \"image/png\",\n \"density\": 3\n },\n {\n \"src\": \"/android-chrome-192x192.png\",\n \"sizes\": \"192x192\",\n \"type\": \"image/png\",\n \"density\": 4\n }\n ],\n```\n\nThis doesn't work since the icons are bundled into `dist/icons` and not just in `dist/`. To fix this, it needs to define the icon `src` like this:\n\n```\n \"icons\": [\n {\n \"src\": \"icons/android-chrome-36x36.png\",\n \"sizes\": \"36x36\",\n \"type\": \"image/png\"\n },\n {\n \"src\": \"icons/android-chrome-48x48.png\",\n \"sizes\": \"48x48\",\n \"type\": \"image/png\"\n },\n {\n \"src\": \"icons/android-chrome-72x72.png\",\n \"sizes\": \"72x72\",\n \"type\": \"image/png\"\n },\n {\n \"src\": \"icons/android-chrome-96x96.png\",\n \"sizes\": \"96x96\",\n \"type\": \"image/png\"\n },\n {\n \"src\": \"icons/android-chrome-144x144.png\",\n \"sizes\": \"144x144\",\n \"type\": \"image/png\"\n },\n {\n \"src\": \"icons/android-chrome-192x192.png\",\n \"sizes\": \"192x192\",\n \"type\": \"image/png\"\n }\n ],\n```\n","author":{"url":"https://github.com/Splaktar","@type":"Person","name":"Splaktar"},"datePublished":"2016-06-23T05:16:33Z","url":"https://github.com/angular/angular-cli/issues/1179"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8757d261-efbc-b80a-cdeb-f034c2ea4b9b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D54:EDA7A:2D991FD:39EF20C:6B01BADA |
| html-safe-nonce | 5ae7bdf899cc59cdbc9c0658207184389efc3ac9d898da064e0306d6f3ae50aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDU0OkVEQTdBOjJEOTkxRkQ6MzlFRjIwQzo2QjAxQkFEQSIsInZpc2l0b3JfaWQiOiI0MjQwNTA5NDE4ODc5NDMzNDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 94a73b09b6141bcf57869883fee36c6b78ea70475bdc63e69e6e2acff248f062 |
| hovercard-subject-tag | issue:161841759 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/1179/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4082eb1616210507e5ea4674aa50e73319ebfc86758c0fd72dd845acf57c4e83/angular/angular-cli/issues/1179 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4082eb1616210507e5ea4674aa50e73319ebfc86758c0fd72dd845acf57c4e83/angular/angular-cli/issues/1179 |
| og:image:alt | Mac OS-X El Capitan Versions. angular-cli: 1.0.0-beta.6 node: 4.4.3 os: darwin x64 Repro steps. ng new myApp --mobile The log given by the failure. N/A. Mention any other details that might be usef... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Splaktar |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width