Skip to content

Commit e619536

Browse files
committed
fix: correct auto-updater cleanup path on Windows
1 parent c26df1f commit e619536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/auto_updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def perform_updates(updates: Optional[tuple[Update]] = None) -> None:
8585
except Exception:
8686
log.exception(f'Error extracting update {update.release.tag_name}')
8787

88-
delete(folder_setup.install_dir / '.tmp_update')
88+
delete(folder_setup.install_dir.parent / '.tmp_update')
8989
delete(renamed_runme)
9090

9191
break

0 commit comments

Comments
 (0)