更新文件: webdav_simulator.amd64, webdav_simulator.exe, webdav_simulator.py
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -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__)
|
||||||
|
Reference in New Issue
Block a user