瀏覽代碼

Merge branch 'dev' into datasheet

smallqiang 5 年之前
父節點
當前提交
aad82c77a9
共有 5 個文件被更改,包括 3 次插入2 次删除
  1. 0 0
      assets/scripts/data/starInfo.js
  2. 1 1
      assets/scripts/utils/Global.js
  3. 二進制
      tools/excel/taptapstar_starInfo.xlsx
  4. 2 1
      tools/local.js
  5. 0 0
      tools/sheet/starInfo.json

File diff suppressed because it is too large
+ 0 - 0
assets/scripts/data/starInfo.js


+ 1 - 1
assets/scripts/utils/Global.js

@@ -12,7 +12,7 @@ window.Global = {
     // 建筑管理
     BuildingManager: BuildingManager.instance,
 
-    debug: false,
+    debug: true,
 
     ver: 120, //游戏版本号发版时需要核对
     

二進制
tools/excel/taptapstar_starInfo.xlsx


+ 2 - 1
tools/local.js

@@ -66,7 +66,8 @@ const getSheet = function (filename) {
 const writeToAssets = function (filename, content) {
     let writeFileName = filename.replace(/\.xlsx|\.xls/, '.js').replace(dataPrefix, "")
     let writePath = path.join(__dirname, dataPath, writeFileName)
-    fs.writeFile(writePath, 'module.exports=' + JSON.stringify(content))
+    let string = JSON.stringify(content);
+    fs.writeFile(writePath, 'module.exports=' + string)
     // console.log(JSON.stringify(content, null, 2));
 }
 

File diff suppressed because it is too large
+ 0 - 0
tools/sheet/starInfo.json


Some files were not shown because too many files changed in this diff