Last active
October 7, 2024 13:59
-
-
Save dannote/17e0396fe2e19c6e60c915838376d267 to your computer and use it in GitHub Desktop.
Final Cut Pro X trial reset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/swift | |
import Foundation | |
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath) | |
let data = try! NSData(contentsOf: path) as Data | |
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary | |
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary | |
for (key, value) in mutableDictionary { | |
if value is NSDate { | |
mutableDictionary[key] = Date() | |
} | |
} | |
try! NSKeyedArchiver.archivedData(withRootObject: mutableDictionary, requiringSecureCoding: false).write(to: path) | |
print("You'd better buy it") |
It’s working for me on the latest fcp. Just run the rm command in the terminal and check the trial period length.
Did you execute it in macOS Sequoia?
No I haven’t - need to download. But if the file is in the folder it should
just delete it
…On Sat, 28 Sep 2024 at 12:24 PM geetch ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
It’s working for me on the latest fcp. Just run the rm command in the
terminal and check the trial period length.
Did you execute it in macOS Sequoia?
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/dannote/17e0396fe2e19c6e60c915838376d267#gistcomment-5210683>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBWMI7Z54X4HI7G6HZLOW3ZY3Q3XBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVA4DIMBSGM4DANVHORZGSZ3HMVZKMY3SMVQXIZI>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Please confirm if it still works on macOS Sequoia?
Yes it works
…On Tue, 1 Oct 2024 at 2:36 PM utkcodes ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Please confirm if it still works on macOS Sequoia?
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/dannote/17e0396fe2e19c6e60c915838376d267#gistcomment-5213773>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBWMI7QBSRQDNUQRGDEXRLZZL2TJBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVA4DIMBSGM4DANVHORZGSZ3HMVZKMY3SMVQXIZI>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It’s working for me on the latest fcp. Just run the rm command in the terminal and check the trial period length.