mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🎨 预先创建data
文件夹
This commit is contained in:
parent
09747e5245
commit
1a6cd1dea3
@ -4,4 +4,6 @@ gs_data_path = Path(__file__).parents[1] / 'data'
|
|||||||
|
|
||||||
|
|
||||||
def get_res_path() -> Path:
|
def get_res_path() -> Path:
|
||||||
|
if not gs_data_path.exists():
|
||||||
|
gs_data_path.mkdir()
|
||||||
return gs_data_path
|
return gs_data_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user