Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Added option to remove Command-Line Tool again (#338) #344

Merged
merged 3 commits into from
Jul 11, 2016

Conversation

Buju77
Copy link

@Buju77 Buju77 commented Jun 2, 2016

  • moved creation of CLIToolInstallationController to init of CPHomeWindowController (was in windowDidLoad)

Finally i had some time to put this together. This is my first commit ever for an mac app, so I have no idea if its correct ;-)

And I have no idea about the privileged access to remove the binstub how to do it ;) (Solved)

moved creation of CLIToolInstallationController to init of CPHomeWindowController (was in windowDidLoad)
@CocoaPodsBarista
Copy link

CocoaPodsBarista commented Jun 2, 2016

✅ Woo!

Please include a CHANGELOG entry to credit yourself! You can find it at CHANGELOG.md.

Generated by 🚫 danger

@@ -43,5 +48,7 @@ extern NSString * const kCPCLIToolInstalledToDestinationsKey;

- (BOOL)binstubAlreadyExists;

/// Returns `YES` if binstub was installed using this controller.
- (BOOL)hasInstalledBinstubBefore;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for all the doc fixes

@Buju77
Copy link
Author

Buju77 commented Jul 10, 2016

I finally had time to investigate how to remove a file from privileged location. I opted for AppleScript as it seems for me the easiest solution right now. Other solution would involve creating privileged helper tool with proper signing and installation. And I think its not worth the effort right now for this feature ;)

@Buju77
Copy link
Author

Buju77 commented Jul 11, 2016

@orta any idea why travis-ci failed on my? I don't see any error messages except warnings which are not in my code. and this

make[2]: *** No rule to make targetenc/libtrans.a', needed by ruby'. Stop.

which I don't know what that means ;)

@orta
Copy link
Member

orta commented Jul 11, 2016

I do not, though I do not believe it should delay a review of the code, and if you're happy with merging it's fine by me, the CI only tests the command line integration, not any of the GUI.


return NO;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all really well documented, thanks!

@orta
Copy link
Member

orta commented Jul 11, 2016

Cool, I'm going to give this CI a second chance to green, and merge at the end of it 👍

@orta
Copy link
Member

orta commented Jul 11, 2016

Alright, 👍

@orta orta merged commit 665da07 into CocoaPods:master Jul 11, 2016
@Buju77
Copy link
Author

Buju77 commented Jul 11, 2016

yeah, thx 👍 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants