forked from NetEaseGame/iOS-private-api-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
40 lines (33 loc) · 1.24 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#coding=utf-8
'''
Created on 2015年10月27日
@author: atool
'''
import os
mysql_info = {
'HOST': '127.0.0.1',
'PORT': 3306,
'USERNAME': 'root',
'PASSWORD': 'root',
'CHARTSET': 'UTF8',
'DB': 'ios_private',
}
sqlite_info = {
'DB': 'ios_private.db',
}
#class_dump_z的路径
cur_dir = os.getcwd()
class_dump_z_path = {
'iphone': os.path.join(cur_dir, 'class_dump_z/iphone_armv6/class-dump-z'),
'linux': os.path.join(cur_dir, 'class_dump_z/linux_x86/class-dump-z'),
'mac': os.path.join(cur_dir, 'class_dump_z/mac_x86/class-dump-z'),
'win': os.path.join(cur_dir, 'class_dump_z/win_x86/class-dump-z')
}
#配置各个不同sdk版本的framework目录,
sdks_config = []
sdks_config.append({
'sdk': '8.1',
'framework': '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/',
'private_framework': '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/PrivateFrameworks/',
'docset': '/Applications/Xcode.app/Contents/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiOS8.1.iOSLibrary.docset/Contents/Resources/docSet.dsidx'
})