mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
fix zluda installer bug
This commit is contained in:
@@ -41,13 +41,13 @@ def install() -> None:
|
||||
for info in infos:
|
||||
if not info.is_dir():
|
||||
info.filename = os.path.basename(info.filename)
|
||||
archive.extract(info, '.zluda')
|
||||
archive.extract(info, path)
|
||||
os.remove('_zluda')
|
||||
|
||||
|
||||
def uninstall() -> None:
|
||||
if os.path.exists('.zluda'):
|
||||
shutil.rmtree('.zluda')
|
||||
if os.path.exists(path):
|
||||
shutil.rmtree(path)
|
||||
|
||||
|
||||
def set_blaslt_enabled(enabled: bool):
|
||||
|
||||
Reference in New Issue
Block a user