Skip to content

Instantly share code, notes, and snippets.

@lukhnos
Created January 27, 2013 03:47
Show Gist options
  • Save lukhnos/4646169 to your computer and use it in GitHub Desktop.
Save lukhnos/4646169 to your computer and use it in GitHub Desktop.
A patch to OpenVanilla's Info.plist to allow CrossOver to use the input method toolset. This is actually a bug of CrossOver – it cannot activate any input method with no input modes. This works around the bug. This is for OpenVanilla 1.0.6.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>12C60</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>OpenVanilla</string>
<key>CFBundleIconFile</key>
<string>OpenVanilla-App.icns</string>
<key>CFBundleIdentifier</key>
<string>org.openvanilla.inputmethod.OpenVanilla</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>OpenVanilla</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.6</string>
<key>CFBundleSignature</key>
<string>OPVN</string>
<key>CFBundleVersion</key>
<string>3149</string>
<key>DTCompiler</key>
<string></string>
<key>DTPlatformBuild</key>
<string>4G2008a</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>12C37</string>
<key>DTSDKName</key>
<string>macosx10.8</string>
<key>DTXcode</key>
<string>0452</string>
<key>DTXcodeBuild</key>
<string>4G2008a</string>
<key>InputMethodConnectionName</key>
<string>OpenVanilla_1_Connection</string>
<key>InputMethodServerControllerClass</key>
<string>OVInputMethodController</string>
<key>InputMethodServerDelegateClass</key>
<string>OVInputMethodController</string>
<key>InputMethodServerPreferencesWindowControllerClass</key>
<string>OVPreferencesWindowController</string>
<key>LSHasLocalizedDisplayName</key>
<false/>
<key>LSMinimumSystemVersion</key>
<string>10.6</string>
<key>LSUIElement</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2004-2012 The OpenVanilla Project.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>TISInputSourceID</key>
<string>org.openvanilla.inputmethod.OpenVanilla</string>
<key>TISIntendedLanguage</key>
<string>zh-Hant</string>
<key>tsInputMethodCharacterRepertoireKey</key>
<array>
<string>Hant</string>
<string>Hans</string>
</array>
<key>tsInputMethodIconFileKey</key>
<string>OpenVanilla-InputMenu.tiff</string>
<!-- Begin of CrossOver patch -->
<key>ComponentInputModeDict</key>
<dict>
<key>tsInputModeListKey</key>
<dict>
<key>org.openvanilla.inputmethod.OpenVanilla.Default</key>
<dict>
<key>tsInputModeAlternateMenuIconFileKey</key>
<string>OpenVanilla-InputMenu.tiff</string>
<key>tsInputModeDefaultStateKey</key>
<true/>
<key>tsInputModeIsVisibleKey</key>
<true/>
<key>tsInputModeMenuIconFileKey</key>
<string>OpenVanilla-InputMenu.tiff</string>
<key>tsInputModePaletteIconFileKey</key>
<string>OpenVanilla-InputMenu.tiff</string>
<key>tsInputModePrimaryInScriptKey</key>
<true/>
<key>tsInputModeScriptKey</key>
<string>smUnicodeScript</string>
</dict>
</dict>
<key>tsVisibleInputModeOrderedArrayKey</key>
<array>
<string>org.openvanilla.inputmethod.OpenVanilla.Default</string>
</array>
</dict>
<!-- End of CrossOver patch -->
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment