Skip to content

Commit

Permalink
Remove paywall
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasschnelli committed Sep 27, 2018
1 parent bb55edb commit c0c5b9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 37 deletions.
43 changes: 6 additions & 37 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
Libmacgpg
Libmacgpg-free
=========

Libmacgpg is an Objective-C framework which makes it easier to communicate with gnupg.
It's the base framework for all apps and services of [GPG Suite](https://gpgtools.org)

Updates
-------

The latest releases of Libmacgpg is part of GPG Suite and can be found on our [official website](https://gpgtools.org).

For the latest news and updates check our [Twitter](https://twitter.com/gpgtools).

If you have any questions how to use Libmacgpg in your own App, contact us on our [support page](https://gpgtools.tenderapp.com).
Libmacgpg-free is a drop-in-replacement for [GPG Suite](https://gpgtools.org) Libmacgpg removing the paywall.


Build
-----

#### Clone the repository
```bash
git clone --recursive https://github.com/GPGTools/Libmacgpg.git
cd Libmacgpg
git clone --recursive https://github.com/macgpg/libmacgpg-free
cd Libmacgpg-free
```

#### Build
Expand All @@ -29,29 +19,8 @@ make
```

#### Install
To install Libmacgpg copy build/Release/Libmacgpg.framework to ~/Library/Frameworks/Libmacgpg.framework

```bash
cp -R ./build/Release/Libmacgpg.framework ~/Library/Frameworks/Libmacgpg.framework
```

If you're using GPGMail, follow these steps to install the xpc service helper.
To replace the existing org.gpgtools.Libmacgpg:

```bash
cp ./build/org.gpgtools.Libmacgpg.xpc.plist ~/Library/LaunchAgents/

mkdir -p ~/Library/Application\ Support/GPGTools
cp ~/build/Release/org.gpgtools.Libmacgpg.xpc ~/Library/Application\ Support/GPGTools

launchctl unload ~/Library/LaunchAgents/org.gpgtools.Libmacgpg.xpc.plist
launchctl load -w ~/Library/LaunchAgents/org.gpgtools.Libmacgpg.xpc.plist
sudo cp ./build/Release/org.gpgtools.Libmacgpg.xpc/Contents/MacOS/org.gpgtools.Libmacgpg /Library/Application\ Support/GPGTools/org.gpgtools.Libmacgpg.xpc/Contents/MacOS
```

Enjoy your custom Libmacgpg.


System Requirements
-------------------

* Mac OS X >= 10.6
* GnuPG v2.0.26
4 changes: 4 additions & 0 deletions Source/org.gpgtools.Libmacgpg.xpc/JailfreeTask.m
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ - (void)validSupportContractAvailableForProduct:(NSString *)identifier reply:(vo
else {
[info setValue:[product trialDaysRemaining] forKey:@"ActivationRemainingTrialDays"];
}
isActivated = YES;
[info setValue:@(isActivated) forKey:@"Active"];
[info setValue:@"unknown" forKey:@"ActivationCode"];
[info setValue:@"unknown" forKey:@"ActivationEmail"];
reply(isActivated, (NSDictionary *)info);
}

Expand Down

0 comments on commit c0c5b9e

Please sign in to comment.