重新按英文命名,修改成相对路径

This commit is contained in:
lianjianwei2024
2026-10-11 10:52:01 +08:00
parent eea5d511dc
commit 9bb23ac13b
64 changed files with 913 additions and 1427 deletions

View File

@@ -16,7 +16,7 @@ import traceback
import webbrowser
ROOT = os.path.dirname(os.path.abspath(__file__))
APP = os.path.join(ROOT, "造价审核", "app")
APP = os.path.join(ROOT, "CostReview", "app")
def wait_port(port, timeout=15):
@@ -34,7 +34,7 @@ def wait_port(port, timeout=15):
def main():
if not os.path.isdir(APP):
print("找不到程序目录:%s" % APP)
print("请确认本文件与「造价审核」文件夹放在同一个目录下。")
print("请确认本文件与「CostReview」文件夹放在同一个目录下。")
return 1
os.chdir(APP)