Skip to content

Instantly share code, notes, and snippets.

Last active November 21, 2023 18:48
Star You must be signed in to star a gist
What would you like to do?
Final Cut Pro X trial reset
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")
Copy link

hey if anyone is looking for lpx 10.5.1 its here
i was just digging around on web archive and found this
hope it helps

Copy link

can it work on new macos 14 sonoma

Copy link

tueng1 commented Oct 30, 2023

can it work on new macos 14 sonoma


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment