Skip to content

Instantly share code, notes, and snippets.

@dannote
Last active November 21, 2023 18:48
Star You must be signed in to star a gist
Embed
What would you like to do?
Final Cut Pro X trial reset
#!/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")
@adamaaaa-stack
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
(https://web.archive.org/web/20200813214541/https://www.apple.com/logic-pro/trial/)

@Urminhirpara
Copy link

can it work on new macos 14 sonoma

@tueng1
Copy link

tueng1 commented Oct 30, 2023

can it work on new macos 14 sonoma

Yes

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