Fix for specifying icon in config.xml; the @icon attribute would get overriden by defaults when going from create => classic::build.

This commit is contained in:
Fil Maj 2011-01-15 23:12:07 -08:00
parent b9e1b1d280
commit 53bdf2dd6b

View File

@ -21,7 +21,7 @@ class Classic
def setup
@android_dir = File.expand_path(File.dirname(__FILE__).gsub('lib',''))
@framework_dir = File.join(@android_dir, "framework")
@icon = File.join(@www, 'icon.png')
@icon = File.join(@www, 'icon.png') unless File.exists?(@icon)
@app_js_dir = ''
@content = 'index.html'
end