mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-29 21:25:55 +08:00
25 lines
651 B
Plaintext
25 lines
651 B
Plaintext
# -*- coding: utf-8 -*-
|
|
$:.unshift("/Library/RubyMotion/lib")
|
|
require 'motion/project/template/ios-extension.rb'
|
|
|
|
begin
|
|
require 'bundler'
|
|
Bundler.require
|
|
rescue LoadError
|
|
end
|
|
|
|
Motion::Project::App.setup do |app|
|
|
# Use `rake config' to see complete project settings.
|
|
app.name = '<%= name %>'
|
|
app.info_plist['NSExtension'] = {
|
|
"NSExtensionAttributes" => {
|
|
"IsASCIICapable" => false,
|
|
"PrefersRightToLeft" => false,
|
|
"PrimaryLanguage" => "en-US",
|
|
"RequestsOpenAccess" => false
|
|
},
|
|
"NSExtensionPointIdentifier" => "com.apple.keyboard-service",
|
|
"NSExtensionPrincipalClass" => "KeyboardViewController"
|
|
}
|
|
end
|