Skip to content
Browse files

Merge pull request #195 from paullewis/master

Added default 128px logo for Chrome Apps
  • Loading branch information...
2 parents 0eed495 + 4363550 commit 67a65c49cf4ff153ccbd18762b2e4e3831d161ea @addyosmani addyosmani committed Aug 9, 2012
View
BIN cli/lib/generators/chromeapps/assets/icon-128.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1 cli/lib/generators/chromeapps/bootstrap/index.js
@@ -43,6 +43,7 @@ Generator.prototype.writeFiles = function createManifest() {
this.template('manifest.json', path.join('app', 'manifest.json'), data);
this.template('index.html', path.join('app', 'index.html'), data);
this.template('main.js', path.join('app', 'main.js'), data);
+ this.copy('../assets/icon-128.png', path.join('app', 'icon-128.png'));
};
View
3 cli/lib/generators/chromeapps/templates/manifest.json
@@ -7,5 +7,8 @@
"scripts": ["main.js"]
}
},
+ "icons": {
+ "128": "icon-128.png"
+ },
"permissions": [<%= appPermissions %>]
}

0 comments on commit 67a65c4

Please sign in to comment.
Something went wrong with that request. Please try again.