v1.7.15: patch_info_plist con plistlib (PlistBuddy falliva su apostrofi)
Crash report v1.7.14 ha rivelato che NSMicrophoneUsageDescription NON era stato scritto nell'Info.plist distribuito. Causa: il valore contiene l'apostrofo "l'audio" che rompe PlistBuddy con quote shell. PlistBuddy falliva ma restituiva exit code != 0 con un messaggio diverso da "already exists", quindi anche il fallback Set non veniva chiamato -> chiave mai aggiunta. Riscritto patch_info_plist con plistlib di Python: nessun shell escaping, robusto a qualsiasi carattere. Aggiunto check di verifica finale che logga errore critico se la chiave manca dopo write.
This commit is contained in:
1 parent
0e14d161d0
commit
dc6ae1fbe1
2 files changed
+29
-30
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
VERSION = "v1.7.14"
|
||||
VERSION = "v1.7.15"
|
||||
|
||||
|
||||
APP_NAME = "MusicTools"
|
||||
|
||||
Reference in new issue
Block a user