this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make darling-stub-gen detect username

authored by

Andrew Hyatt and committed by
GitHub
c47c0ced c1a8a7cf

+7 -2
+7 -2
tools/darling-stub-gen
··· 1 1 #!/usr/bin/env python3 2 2 3 - import sys, os, subprocess, re 3 + import sys, os, subprocess, re, getpass 4 4 5 5 # Data 6 6 library = False ··· 12 12 framework_prefix = "/System/Library/Frameworks/" 13 13 private_framework_prefix = "/System/Library/PrivateFrameworks/" 14 14 15 - class_dump = "/Users/andrewhyatt/bin/class-dump" 15 + ####################################################### 16 + ##### SET THIS TO WHERE YOUR class-dump BINARY IS ##### 17 + ####################################################### 18 + username = getpass.getuser() 19 + class_dump = "/Users/" + username + "/bin/class-dump" 16 20 17 21 copyright = """/* 18 22 This file is part of Darling. ··· 128 132 if line == "": 129 133 continue 130 134 135 + print(line) 131 136 if len(line.split(" ")) == 3: 132 137 address, id, name = line.split(" ") 133 138 # Remove the underscore