Skip to content

Instantly share code, notes, and snippets.

@shinvou
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save shinvou/42764bd33a055d16105b to your computer and use it in GitHub Desktop.

Select an option

Save shinvou/42764bd33a055d16105b to your computer and use it in GitHub Desktop.

Revisions

  1. shinvou revised this gist Aug 20, 2015. No changes.
  2. shinvou revised this gist Aug 20, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Tweak.xm
    Original file line number Diff line number Diff line change
    @@ -9,4 +9,4 @@
    return %orig;
    }

    %end
    %end
  3. shinvou revised this gist Aug 20, 2015. No changes.
  4. shinvou renamed this gist Aug 20, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. shinvou created this gist Aug 20, 2015.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    %hook SBApplication

    - (BOOL)iconIsBeta:(id)icon
    {
    // icon is either SBApplicationIcon or SBUserInstalledApplicationIcon, which is a subclass of SBApplicationIcon

    if ([[self bundleIdentifier] isEqualToString:@"com.insanj.submarine"]) return NO;

    return %orig;
    }

    %end