Sha256: e48047ae786585b41ce3b5d033de03303f5d5b0c869a10a58144eb12c01e1ae7
Contents?: true
Size: 431 Bytes
Versions: 25
Compression:
Stored size: 431 Bytes
Contents
#!/usr/bin/env ruby unless defined?(Titanium) raise "You can't execute this file directly - it's for Titanium" end # Hack for load paths - Titanium doesn't add . app_resources = Titanium.App.appURLToPath("app://index.html") APP_ROOT = File.dirname(app_resources) $LOAD_PATH << APP_ROOT $LOAD_PATH.uniq! # The 'window' function is only # available in this scope $app_window = window require File.join(*%w[config environment])
Version data entries
25 entries across 25 versions & 2 rubygems