更新文件: webdav_simulator.amd64, webdav_simulator.exe, webdav_simulator.py

This commit is contained in:
ZJP Monitor
2025-05-12 23:00:23 +08:00
parent a73b43f16b
commit d64381131b
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -249,7 +249,7 @@ def get_htdocs_path():
if getattr(sys, 'frozen', False): # 判断是否为打包环境 if getattr(sys, 'frozen', False): # 判断是否为打包环境
#base_path = sys._MEIPASS # 临时解压目录:ml-citation{ref="7,8" data="citationList"} #base_path = sys._MEIPASS # 临时解压目录:ml-citation{ref="7,8" data="citationList"}
#base_path = os.path.dirname(sys.executable) #base_path = os.path.dirname(sys.executable)
base_path = os.path.dirname(os.getcwd()) base_path = os.getcwd()
print(f"is frozen path:{base_path}") print(f"is frozen path:{base_path}")
else: else:
base_path = os.path.dirname(__file__) base_path = os.path.dirname(__file__)