mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
updated create script to remove dashes
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ class Create
|
||||
@path = File.join(path, '..', "#{ name }-android")
|
||||
@www = path
|
||||
@name = path.split('/').last
|
||||
@pkg = "com.phonegap.#{ name }"
|
||||
@pkg = "com.phonegap.#{ name.gsub('-','') }"
|
||||
|
||||
# android sdk discovery ... could be better
|
||||
@android_sdk_path = Dir.getwd[0,1] != "/" ? `android-sdk-path.bat android.bat`.gsub('\\tools','').gsub('\\', '\\\\\\\\') : `which android`.gsub('/tools/android','')
|
||||
|
||||
Reference in New Issue
Block a user