yhz 5 år sedan
förälder
incheckning
9635a028d4
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      package_utils.py
  2. 1 1
      package_utils_record.py
  3. 1 1
      package_utils_shanshen.py

+ 1 - 1
package_utils.py

@@ -420,7 +420,7 @@ def changeAppName(game, sdk, subChannel, config):
     if 'outName' in config:
         resName = resName + '_' + config['outName']
     decompliePath = file_utils.getDecompliePath(game, sdk, subChannel, config['cache'])
-    stringFile = os.path.join(decompliePath, 'res', 'values', 'sdk_strings.xml')
+    stringFile = os.path.join(decompliePath, 'res', 'values', 'sdk_strings_temp.xml')
     content = '<?xml version="1.0" encoding="utf-8"?><resources><string name="%s">%s</string></resources>' % (resName, name)
     file_utils.createFile(stringFile, content)
 

+ 1 - 1
package_utils_record.py

@@ -509,7 +509,7 @@ def changeAppName(game, sdk, subChannel, config):
     if 'outName' in config:
         resName = resName + '_' + config['outName']
     decompliePath = file_utils.getDecompliePath(game, sdk, subChannel, config['cache'])
-    stringFile = os.path.join(decompliePath, 'res', 'values', 'sdk_strings.xml')
+    stringFile = os.path.join(decompliePath, 'res', 'values', 'sdk_strings_temp.xml')
     content = '<?xml version="1.0" encoding="utf-8"?><resources><string name="%s">%s</string></resources>' % (resName, name)
     file_utils.createFile(stringFile, content)
 

+ 1 - 1
package_utils_shanshen.py

@@ -412,7 +412,7 @@ def changeAppName(game, sdk, subChannel, config):
     if 'outName' in config:
         resName = resName + '_' + config['outName']
     decompliePath = file_utils.getDecompliePath(game, sdk, subChannel, config['cache'])
-    stringFile = os.path.join(decompliePath, 'res', 'values', 'sdk_strings.xml')
+    stringFile = os.path.join(decompliePath, 'res', 'values', 'sdk_strings_temp.xml')
     content = '<?xml version="1.0" encoding="utf-8"?><resources><string name="%s">%s</string></resources>' % (resName, name)
     file_utils.createFile(stringFile, content)