Create data directory for portable mode
This commit is contained in:
parent
2c9486fc2d
commit
0e56f681ab
@ -13,4 +13,6 @@ def setup():
|
|||||||
paths.prepare_app_data_path("musicDL")
|
paths.prepare_app_data_path("musicDL")
|
||||||
data_directory = paths.app_data_path("musicDL")
|
data_directory = paths.app_data_path("musicDL")
|
||||||
else:
|
else:
|
||||||
data_directory = paths.app_path()
|
data_directory = os.path.join(paths.app_path(), "data")
|
||||||
|
if os.path.exists(data_directory) == False:
|
||||||
|
os.mkdir(data_directory)
|
Loading…
Reference in New Issue
Block a user