diff --git a/FlashBack.xcodeproj/xcuserdata/micahgomez.xcuserdatad/xcschemes/xcschememanagement.plist b/FlashBack.xcodeproj/xcuserdata/micahgomez.xcuserdatad/xcschemes/xcschememanagement.plist
index 0957787..fb10bdc 100755
--- a/FlashBack.xcodeproj/xcuserdata/micahgomez.xcuserdatad/xcschemes/xcschememanagement.plist
+++ b/FlashBack.xcodeproj/xcuserdata/micahgomez.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -7,7 +7,7 @@
FlashBack.xcscheme_^#shared#^_
orderHint
- 0
+ 1
diff --git a/FlashBack.xcworkspace/xcuserdata/micahgomez.xcuserdatad/UserInterfaceState.xcuserstate b/FlashBack.xcworkspace/xcuserdata/micahgomez.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..8b29ab5
Binary files /dev/null and b/FlashBack.xcworkspace/xcuserdata/micahgomez.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/FlashBack/ViewController.m b/FlashBack/ViewController.m
index 7b69b00..470cdac 100755
--- a/FlashBack/ViewController.m
+++ b/FlashBack/ViewController.m
@@ -17,7 +17,6 @@
#import "globalVars.h"
-BOOL trial;
NSArray *_backupFolderArray;
NSString *_backupDirectory;
NSMutableString *selectedBackupImageURL;
@@ -197,9 +196,7 @@ NSString *backupNameSelected;
- (IBAction)packageBackup:(id)sender {
- if (trial == NO){
-
- if (backupNameSelected == nil){
+ if (backupNameSelected == nil){
UIAlertController * selectBackupAlert= [UIAlertController
alertControllerWithTitle:@"Select a Backup!"
@@ -247,20 +244,6 @@ NSString *backupNameSelected;
[self presentViewController:packageBackupAlert animated:YES completion:nil];
}
- }
-
- else{
-
- UIAlertController * noBackupDEBAlert = [UIAlertController
- alertControllerWithTitle:@"Creating DEBs is only available in the full version"
- message:@"The free trial of FlashBack doesn't allow backing up setups to DEBs. Purchase the full version on PackIX for $1.50 for this!"
- preferredStyle:UIAlertControllerStyleAlert];
-
- [noBackupDEBAlert addAction:[UIAlertAction okAction]];
-
- [self presentViewController:noBackupDEBAlert animated:YES completion:nil];
-
- }
}
- (IBAction)deleteBackup:(id)sender {
@@ -342,27 +325,6 @@ NSString *backupNameSelected;
//_backupFolderArray = @[@"one",@"two",@"three"];
_backupFolderArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/Library/FlashBack/Backups/" error:nil];
- // MARK: DRM From @Kushdabush, commenting out for testing
- //pulled from https://github.com/DomienF/kushy-drm/blob/master/Tweak.xm
-
- if ([[NSFileManager defaultManager] fileExistsAtPath:@"/var/lib/dpkg/info/com.mpg13.flashback.list"]){
- NSLog(@"FlashBack DRM Passed");
- trial = NO;
- } else {
- NSLog(@"DRM failed");
-
- UIAlertController * failedDRMAlert = [UIAlertController
- alertControllerWithTitle:@"FlashBack appears to be pirated :("
- message:@"For your own safety, download FlashBack from the official source! If you're seeing this, then it means that whoever is distributing this copy is either sharing a ripped version that is potentially dangerous, or they have forgotten to remove this warning for yours, and their own protection."
- preferredStyle:UIAlertControllerStyleAlert];
- [failedDRMAlert addAction:[UIAlertAction okAction]];
-
- dispatch_async(dispatch_get_main_queue(), ^ {
- [self presentViewController:failedDRMAlert animated:YES completion:nil];
- });
- }
-
- trial = NO;
}
-(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component{
diff --git a/Pods/Pods.xcodeproj/xcuserdata/micahgomez.xcuserdatad/xcschemes/xcschememanagement.plist b/Pods/Pods.xcodeproj/xcuserdata/micahgomez.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..31e1866
--- /dev/null
+++ b/Pods/Pods.xcodeproj/xcuserdata/micahgomez.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,19 @@
+
+
+
+
+ SchemeUserState
+
+ Pods-FlashBack.xcscheme_^#shared#^_
+
+ orderHint
+ 0
+
+ SDWebImage.xcscheme_^#shared#^_
+
+ orderHint
+ 2
+
+
+
+