mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
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:
parent
b9e1b1d280
commit
53bdf2dd6b
@ -21,7 +21,7 @@ class Classic
|
|||||||
def setup
|
def setup
|
||||||
@android_dir = File.expand_path(File.dirname(__FILE__).gsub('lib',''))
|
@android_dir = File.expand_path(File.dirname(__FILE__).gsub('lib',''))
|
||||||
@framework_dir = File.join(@android_dir, "framework")
|
@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 = ''
|
@app_js_dir = ''
|
||||||
@content = 'index.html'
|
@content = 'index.html'
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user