diff --git a/README.md b/README.md index 3417e86..361172e 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,12 @@ require 'motion-pixate' ``` 3. Still in the `Rakefile`, set up the `user`, `key` and `framework` variables in your application configuration block. -For the **free** version of the Pixate Engine, `user` and `key` are **not** required. +This **free** key is available at [http://pixate.com/key](http://pixate.com/key). ```ruby Motion::Project::App.setup do |app| # ... - app.pixate.user = 'USER ID' # Not required for free version - app.pixate.key = 'KEY CODE' # Not required for free version + app.pixate.user = 'USER ID' # Valid key removes "splash screen" + app.pixate.key = 'KEY CODE' # Visit pixate.com/key for a free key app.pixate.framework = 'vendor/PXEngine.framework' end ``` diff --git a/lib/motion/project/pixate.rb b/lib/motion/project/pixate.rb index 7ab3da4..3eed32a 100644 --- a/lib/motion/project/pixate.rb +++ b/lib/motion/project/pixate.rb @@ -23,7 +23,7 @@ class PixateConfig def create_code license = "" if @user && @key - license = "PXEngine.initializeFrameworkWithKey('#{@key}', forUser:'#{@user}')\n" + license = "PXEngine.licenseKey('#{@key}', forUser:'#{@user}')\n" end code = <