- 
      
- 
        Save cmsj/42e8e247b5c858274a61 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | diff --git a/Hammerspoon/Hammerspoon-Info.plist b/Hammerspoon/Hammerspoon-Info.plist | |
| index 75c71a6..923c365 100644 | |
| --- a/Hammerspoon/Hammerspoon-Info.plist | |
| +++ b/Hammerspoon/Hammerspoon-Info.plist | |
| @@ -17,11 +17,11 @@ | |
| <key>CFBundlePackageType</key> | |
| <string>APPL</string> | |
| <key>CFBundleShortVersionString</key> | |
| - <string>0.9.0</string> | |
| + <string>0.9.1</string> | |
| <key>CFBundleSignature</key> | |
| <string>????</string> | |
| <key>CFBundleVersion</key> | |
| - <string>0.9.0</string> | |
| + <string>0.9.1</string> | |
| <key>LSMinimumSystemVersion</key> | |
| <string>${MACOSX_DEPLOYMENT_TARGET}</string> | |
| <key>NSHumanReadableCopyright</key> | |
| @@ -31,6 +31,6 @@ | |
| <key>NSPrincipalClass</key> | |
| <string>NSApplication</string> | |
| <key>SUFeedURL</key> | |
| - <string>https://raw.githubusercontent.com/cmsj/hammerspoon/sparkle/appcast.xml</string> | |
| + <string>https://raw.githubusercontent.com/Hammerspoon/hammerspoon/master/appcast.xml</string> | |
| </dict> | |
| </plist> | |
| diff --git a/Hammerspoon/MJAppDelegate.m b/Hammerspoon/MJAppDelegate.m | |
| index b68c08e..4b0e7bb 100644 | |
| --- a/Hammerspoon/MJAppDelegate.m | |
| +++ b/Hammerspoon/MJAppDelegate.m | |
| @@ -7,6 +7,7 @@ | |
| #import "MJVersionUtils.h" | |
| #import "MJConfigUtils.h" | |
| #import "MJFileUtils.h" | |
| +#import "MJAccessibilityUtils.h" | |
| #import "variables.h" | |
| @interface MJAppDelegate : NSObject <NSApplicationDelegate> | |
| @@ -41,7 +42,7 @@ static BOOL MJFirstRunForCurrentVersion(void) { | |
| [[MJConsoleWindowController singleton] setup]; | |
| MJLuaSetup(); | |
| - if (MJFirstRunForCurrentVersion()) | |
| + if (MJFirstRunForCurrentVersion() || !MJAccessibilityIsEnabled()) | |
| [[MJPreferencesWindowController singleton] showWindow: nil]; | |
| } | |
| diff --git a/Hammerspoon/MJPreferencesWindowController.m b/Hammerspoon/MJPreferencesWindowController.m | |
| index 34c79bd..e997b27 100644 | |
| --- a/Hammerspoon/MJPreferencesWindowController.m | |
| +++ b/Hammerspoon/MJPreferencesWindowController.m | |
| @@ -68,7 +68,7 @@ | |
| if (self.isAccessibilityEnabled) | |
| return @"Accessibility is enabled. You're all set!"; | |
| else | |
| - return @"Enable Accessibility for best results."; | |
| + return @"WARNING! Accessibility is not enabled!"; | |
| } | |
| - (NSImage*) isAccessibilityEnabledImage { | |
| diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj | |
| index ba934da..69f1e60 100644 | |
| --- a/Pods/Pods.xcodeproj/project.pbxproj | |
| +++ b/Pods/Pods.xcodeproj/project.pbxproj | |
| @@ -586,7 +586,7 @@ | |
| GCC_PREPROCESSOR_DEFINITIONS = ( | |
| "DEBUG=1", | |
| "$(inherited)", | |
| - "LUA_USE_DLOPEN=1", | |
| + "LUA_USE_MACOSX=1", | |
| ); | |
| GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |
| GCC_VERSION = com.apple.compilers.llvm.clang.1_0; | |
| @@ -641,7 +641,7 @@ | |
| GCC_PREPROCESSOR_DEFINITIONS = ( | |
| "$(inherited)", | |
| "COCOAPODS=1", | |
| - "LUA_USE_DLOPEN=1", | |
| + "LUA_USE_MACOSX=1", | |
| ); | |
| GCC_VERSION = com.apple.compilers.llvm.clang.1_0; | |
| INSTALL_PATH = "$(BUILT_PRODUCTS_DIR)"; | |
| diff --git a/appcast.xml b/appcast.xml | |
| index d844bb1..bc980e0 100644 | |
| --- a/appcast.xml | |
| +++ b/appcast.xml | |
| @@ -2,18 +2,22 @@ | |
| <rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
| <channel> | |
| <title>Hammerspoon's Changelog</title> | |
| - <link>https://raw.githubusercontent.com/cmsj/hammerspoon/sparkle/appcast.xml</link> | |
| + <link>https://raw.githubusercontent.com/Hammerspoon/hammerspoon/master/appcast.xml</link> | |
| <description>Most recent changes with links to updates.</description> | |
| <language>en</language> | |
| <item> | |
| - <title>Version 1.0</title> | |
| + <title>Version 0.9.0</title> | |
| <sparkle:releaseNotesLink> | |
| - http://hammerspoon.org/app/1.0.html | |
| + https://github.com/Hammerspoon/hammerspoon/releases | |
| </sparkle:releaseNotesLink> | |
| - <pubDate>Mon, 13 Oct 2014 19:20:11 +0000</pubDate> | |
| - <enclosure url="http://you.com/app/Your%20Great%20App%202.0.zip" sparkle:version="1.0" length="1623481" type="application/octet-stream" sparkle:dsaSignature="BAFJW4B6B1K1JyW30nbkBwainOzrN6EQuAh" /> | |
| - <sparkle:minimumSystemVersion>10.10</sparkle:minimumSystemVersion> | |
| + <pubDate>Thu, 16 Oct 2014 21:27:29 +0000</pubDate> | |
| + <enclosure url="https://github.com/Hammerspoon/hammerspoon/releases/download/0.9.0/Hammerspoon-0.9.0.zip" | |
| + sparkle:version="0.9.0" | |
| + length="1909760" | |
| + type="application/octet-stream" | |
| + /> | |
| + <sparkle:minimumSystemVersion>10.9</sparkle:minimumSystemVersion> | |
| </item> | |
| </channel> | |
| diff --git a/extensions/alert/internal.m b/extensions/alert/internal.m | |
| index 2600b52..1dfa174 100644 | |
| --- a/extensions/alert/internal.m | |
| +++ b/extensions/alert/internal.m | |
| @@ -186,7 +186,7 @@ static const luaL_Reg metalib[] = { | |
| {} | |
| }; | |
| -int luaopen_hs_alert(lua_State* L) { | |
| +int luaopen_hs_alert_internal(lua_State* L) { | |
| luaL_newlib(L, alertlib); | |
| luaL_newlib(L, metalib); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment