mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-07 22:27:22 +08:00
基本完成热更新打包工具与流程
This commit is contained in:
@@ -33,8 +33,11 @@ def modify(rootdir):
|
||||
def initParams(configPath):
|
||||
data = open(configPath, 'r')
|
||||
data = json.load(data)
|
||||
relativePath = data.root + data.hotUpdateDirName
|
||||
zipDirList = data.zipDir
|
||||
global relativePath
|
||||
relativePath = data['root'] + data['hotUpdateDirName']
|
||||
global zipDirList
|
||||
zipDirList = data['zipDir']
|
||||
des = data['des']
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user