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

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

@@ -5,7 +5,7 @@ import sys
ROOT = os.path.dirname(os.path.abspath(sys.executable if getattr(sys, "frozen", False) else __file__))
APP = os.path.join(ROOT, "造价审核", "app")
APP = os.path.join(ROOT, "CostReview", "app")
for part in (APP, os.path.join(APP, "server"), os.path.join(APP, "core")):
sys.path.insert(0, part)
@@ -16,7 +16,7 @@ import shell
def check():
data = os.path.join(ROOT, "造价审核", "data")
data = os.path.join(ROOT, "CostReview", "data")
paths = (os.path.join(APP, "ui", "workbench.html"),
os.path.join(APP, "store", "schema.sql"),
os.path.join(data, "history.db"))