From 53bdf2dd6b0ccc0997cdd06c66f44380f3ce7b72 Mon Sep 17 00:00:00 2001 From: Fil Maj Date: Sat, 15 Jan 2011 23:12:07 -0800 Subject: [PATCH] Fix for specifying icon in config.xml; the @icon attribute would get overriden by defaults when going from create => classic::build. --- lib/classic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classic.rb b/lib/classic.rb index fec1473b..57409d6a 100755 --- a/lib/classic.rb +++ b/lib/classic.rb @@ -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