swiftc -o fcpxreset /location to file/fcpxreset.swift.When it's done run command swiftc -o fcpxreset fcpxreset.swift in terminal.Ī new exce fcpxreset file will appear and when you run it Final Cut Pro X trial version will be restarted.Įnjoy new 30 days for testing Final Cut Pro. Instead, you can compile the swift code to binary and run the app if required.įirst, open your favorite text editor and add to the beginning #!/usr/bin/swift.Ĭopy the code from above to the next line and save the result to fcpxreset.swift file. Repeating this method ever 30 days to make Final Cut Pro X Trial Reset can be not so user-friendly. Paste: mv -v ~/Library/Application\ Support/.ffuserdata ~/.Trash Try! NSKeyedArchiver.archivedData(withRootObject: mutableDictionary, requiringSecureCoding: false).write(to: path)Ģ. Let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary Let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary Let data = try! NSData(contentsOf: path) as Data Let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |