自动化脚本
This commit is contained in:
parent
b6c76aab4b
commit
e9e76ee7c6
@ -308,7 +308,7 @@
|
||||
"out_file": "LimitedTimeEventFast.json",
|
||||
"key": "Id",
|
||||
"sheet_name" :"Fast",
|
||||
"fields" :["Times", "Min", "Max","Items"]
|
||||
"fields" :["EnergyValue", "Items"]
|
||||
},
|
||||
{
|
||||
"in_file": "LimitedTimeEvent.xlsx",
|
||||
|
||||
@ -2,7 +2,7 @@ import os
|
||||
import json
|
||||
import openpyxl
|
||||
import csv
|
||||
|
||||
# Copy-Item -Path "d:\Github\docs\tool\config\*" -Destination "D:\Github\pet_home_server\src\server\gamedata\config\" -Force -Recurse
|
||||
current_dir = os.getcwd()
|
||||
# 读取配置文件
|
||||
cfg_path = os.path.join(current_dir, 'tool/cfg/cfg_xlsx.json')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user