Skip to content

Commit ab2807a

Browse files
fix: 若在更新后启动,应用内重启会总是弹出“更新摘要”
1 parent 29a2ee8 commit ab2807a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/core/central.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ def _run_utils(self) -> None:
459459
self.widgets_window.run()
460460

461461
if "--update-done" in sys.argv:
462+
sys.argv.remove("--update-done")
462463
self.window_manager.open_whatsnew()
463464
self.updater_bridge.update_complete()
464465

0 commit comments

Comments
 (0)