Changed the cache directory to be under ~/.cache instead. Having it in a archinstall folder directly under the users catalogue caused some issues when doing 'import archinstall' when standing in the home directory after trying to uninstall archinstall heh

This commit is contained in:
Anton Hvornum 2020-07-08 09:38:03 +00:00
parent c0fb9a9488
commit 6e6707116f
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class sys_command():#Thread):
self.status = 'starting'
user_catalogue = os.path.expanduser('~')
self.cwd = f"{user_catalogue}/archinstall/cache/workers/{kwargs['worker_id']}/"
self.cwd = f"{user_catalogue}/.cache/archinstall/workers/{kwargs['worker_id']}/"
self.exec_dir = f'{self.cwd}/{os.path.basename(self.cmd[0])}_workingdir'
if not self.cmd[0][0] == '/':