mackeeper_blocker icon indicating copy to clipboard operation
mackeeper_blocker copied to clipboard

GUI App

Open mahimahi42 opened this issue 10 years ago • 3 comments

I saw your Reddit post in /r/apple, and figured I could practice using Swift and throw together a GUI app for your script. I had some trouble getting Ruby to work, so I rewrote it in Bash.

Now to go run this on my mom's Mac...

mahimahi42 avatar Aug 13 '15 21:08 mahimahi42

Let me know, I'm genuinely interested

Sent using CloudMagic [https://cloudmagic.com/k/d/mailapp?ct=pi&cv=6.4.27&pv=8.4] On Thu, Aug 13, 2015 at 11:15 PM, avatsaev/mackeeper_blocker [email protected] wrote: I saw your Reddit post in /r/apple, and figured I could practice using Swift and throw together a GUI app for your script. I had some trouble getting Ruby to work, so I rewrote it in Bash.

Now to go run this on my mom's Mac...


YOU CAN VIEW, COMMENT ON, OR MERGE THIS PULL REQUEST ONLINE AT: https://github.com/avatsaev/mackeeper_blocker/pull/2 [https://github.com/avatsaev/mackeeper_blocker/pull/2]

COMMIT SUMMARY

  • Initial Commit
  • Initial commit. Created a button to push to block mackeeper
  • Button will write script to the users home dir
  • App loads script from included file
  • App now loads bash version of the script
  • Add gitignore
  • Merge branch 'master' of https://github.com/mahimahi42/mackeeper_blocker
  • Add built app to git
  • Update README

FILE CHANGES

  • A .gitignore https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-0
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftAppKit.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-1
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftCore.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-2
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftCoreGraphics.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-3
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftDarwin.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-4
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftDispatch.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-5
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftFoundation.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-6
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftObjectiveC.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-7
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftQuartzCore.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-8
  • A Mackeeper Blocker.app/Contents/Frameworks/libswiftSecurity.dylib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-9
  • A Mackeeper Blocker.app/Contents/Info.plist https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-10
  • A Mackeeper Blocker.app/Contents/MacOS/Mackeeper Blocker https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-11
  • A Mackeeper Blocker.app/Contents/PkgInfo https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-12
  • A Mackeeper Blocker.app/Contents/Resources/Base.lproj/Main.storyboardc/Info.plist https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-13
  • A Mackeeper Blocker.app/Contents/Resources/Base.lproj/Main.storyboardc/MainMenu.nib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-14
  • A Mackeeper Blocker.app/Contents/Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-15
  • A Mackeeper Blocker.app/Contents/Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-16
  • A Mackeeper Blocker.app/Contents/Resources/mackeeper_blocker https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-17
  • A Mackeeper Blocker.app/Contents/Resources/mackeeper_blocker.sh https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-18
  • A Mackeeper Blocker.app/Contents/_CodeSignature/CodeResources https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-19
  • A Mackeeper Blocker.xcodeproj/project.pbxproj https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-20
  • A Mackeeper Blocker.xcodeproj/project.xcworkspace/contents.xcworkspacedata https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-21
  • A Mackeeper Blocker.xcodeproj/xcuserdata/bryce.xcuserdatad/xcschemes/Mackeeper Blocker.xcscheme https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-22
  • A Mackeeper Blocker.xcodeproj/xcuserdata/bryce.xcuserdatad/xcschemes/xcschememanagement.plist https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-23
  • A Mackeeper Blocker/AppDelegate.swift https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-24
  • A Mackeeper Blocker/Base.lproj/Main.storyboard https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-25
  • A Mackeeper Blocker/Images.xcassets/AppIcon.appiconset/Contents.json https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-26
  • A Mackeeper Blocker/Info.plist https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-27
  • A Mackeeper Blocker/ViewController.swift https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-28
  • A Mackeeper BlockerTests/Info.plist https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-29
  • A Mackeeper BlockerTests/Mackeeper_BlockerTests.swift https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-30
  • M README.md https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-31
  • A mackeeper_blocker.sh https://github.com/avatsaev/mackeeper_blocker/pull/2/files#diff-32

PATCH LINKS:

  • https://github.com/avatsaev/mackeeper_blocker/pull/2.patch [https://github.com/avatsaev/mackeeper_blocker/pull/2.patch]
  • https://github.com/avatsaev/mackeeper_blocker/pull/2.diff [https://github.com/avatsaev/mackeeper_blocker/pull/2.diff]

— Reply to this email directly or view it on GitHub [https://github.com/avatsaev/mackeeper_blocker/pull/2] .[https://github.com/notifications/beacon/AAfrPuZQRZtT7DXutIwBC8w-MskKw0TDks5onQBYgaJpZM4FrRon.gif]

avatsaev avatar Aug 13 '15 21:08 avatsaev

There were some weird constraint issues and the window title wasn't set, but now the app works well. I might try to polish it later so it isn't so barebones and ugly

mahimahi42 avatar Aug 13 '15 21:08 mahimahi42

I'll get home in few hours and take a look at this, this will most probably merged into a separate branch called GUI

avatsaev avatar Aug 14 '15 07:08 avatsaev