switch back to using PXEngine.licenseKey

This commit is contained in:
Paul Colton
2013-09-03 11:14:36 -07:00
parent 75f5fe80d1
commit d4d9dfe17f
2 changed files with 4 additions and 4 deletions

View File

@@ -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
```

View File

@@ -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 = <<EOF