v0.5.6 - Corrections mineures
Changements : - Fichier _update.bat ecrit en encodage ANSI (mbcs) pour compatibilite avec cmd.exe sur les chemins avec caracteres speciaux - Condition has_any_updates rendue explicite : exclut desormais clairement offline et needs_clone en plus de error Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
@@ -5,7 +5,7 @@ Accès lecture seule uniquement (fetch/pull/checkout, jamais de push).
|
||||
Tous les chemins sont relatifs à l'emplacement de l'exécutable.
|
||||
"""
|
||||
|
||||
VERSION = "0.5.5"
|
||||
VERSION = "0.5.6"
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
@@ -253,7 +253,7 @@ def relaunch_program():
|
||||
f'del "{exe_path}.old" 2>nul\n'
|
||||
f'del "%~f0"\n'
|
||||
)
|
||||
with open(bat_path, "w") as f:
|
||||
with open(bat_path, "w", encoding="mbcs") as f:
|
||||
f.write(bat_content)
|
||||
subprocess.Popen(
|
||||
["cmd", "/c", bat_path],
|
||||
@@ -739,7 +739,7 @@ class App(tk.Tk):
|
||||
for res in self.repo_results:
|
||||
card = self._create_card(res)
|
||||
card.pack(fill="x", pady=5)
|
||||
if not res["up_to_date"] and not res.get("error"):
|
||||
if not res["up_to_date"] and not res.get("error") and not res.get("offline") and not res.get("needs_clone"):
|
||||
has_any_updates = True
|
||||
|
||||
total = len(self.repo_results)
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.5.5
|
||||
0.5.6
|
||||
|
||||
Reference in New Issue
Block a user