diff --git a/example/index.html b/example/index.html index 36db9422..6f3c603f 100644 --- a/example/index.html +++ b/example/index.html @@ -5,7 +5,7 @@ PhoneGap - + diff --git a/lib/classic.rb b/lib/classic.rb index a80cf656..9e2b2dfc 100755 --- a/lib/classic.rb +++ b/lib/classic.rb @@ -93,7 +93,7 @@ class Classic app_res_dir = File.join(@path, "res") # copies in the jar FileUtils.mkdir_p File.join(@path, "libs") - FileUtils.cp File.join(@framework_dir, "phonegap.#{ version }.jar"), File.join(@path, "libs") + FileUtils.cp File.join(@framework_dir, "phonegap-#{ version }.jar"), File.join(@path, "libs") # copies in the strings.xml FileUtils.mkdir_p File.join(app_res_dir, "values") FileUtils.cp File.join(framework_res_dir, "values","strings.xml"), File.join(app_res_dir, "values", "strings.xml") @@ -128,7 +128,7 @@ class Classic phonegapjs << IO.read(File.join(js_dir, script)) phonegapjs << "\n\n" end - File.open(File.join(@path, "assets", "www", @app_js_dir, "phonegap.#{ version }.js"), 'w') {|f| f.write(phonegapjs) } + File.open(File.join(@path, "assets", "www", @app_js_dir, "phonegap-#{ version }.js"), 'w') {|f| f.write(phonegapjs) } end # puts app name in strings diff --git a/lib/update.rb b/lib/update.rb index 23e57a70..fa960add 100755 --- a/lib/update.rb +++ b/lib/update.rb @@ -35,7 +35,7 @@ class Update puts "Copying over libraries and assets..." version = IO.read(File.join(@framework_dir, '../VERSION')) - FileUtils.cp File.join(@framework_dir, "phonegap.#{ version }.jar"), File.join(@path, "libs") + FileUtils.cp File.join(@framework_dir, "phonegap-#{ version }.jar"), File.join(@path, "libs") # concat JS and put into www folder. this can be overridden in the config.xml via @app_js_dir js_dir = File.join(@framework_dir, "assets", "js") @@ -45,7 +45,7 @@ class Update phonegapjs << IO.read(File.join(js_dir, script)) phonegapjs << "\n\n" end - File.open(File.join(@path, "assets", "www", "phonegap.#{ version }.js"), 'w') {|f| f.write(phonegapjs) } + File.open(File.join(@path, "assets", "www", "phonegap-#{ version }.js"), 'w') {|f| f.write(phonegapjs) } end # end \ No newline at end of file