Dopo che codesign --info-plist e wrap in sub-bundle .app si sono rivelati strade morte (macOS 14+ TCC e' troppo severo per ad-hoc signed binaries), riscritta la registrazione macOS per usare PyObjC + AVCaptureSession nel processo Python principale. Il main MusicTools ha il TCC del bundle (NSMicrophoneUsageDescription nell'Info.plist), e usando AVFoundation IN-PROCESS il permesso viene applicato correttamente. ffmpeg subprocess viene usato SOLO per la conversione CAF -> MP3 dopo lo stop (operazione su file, niente accesso microfono = niente TCC). Aggiunto pyobjc-framework-AVFoundation a requirements. core/paths.py: ripristinato lookup semplice in Contents/Frameworks/ (non serve piu' cercare in sub-bundle). build_macos.py: wrap_subprocess_in_bundle disabilitato. Diagnosi crash report v1.7.13 + investigazione TCC behavior confermano: PyObjC AVCaptureSession in-process e' l'unica soluzione affidabile senza Developer ID Apple. Vedi: https://www.qt.io/blog/the-curious-case-of-the-responsible-process
11 lines
379 B
Plaintext
11 lines
379 B
Plaintext
pywebview>=5.0
|
|
requests>=2.31.0
|
|
yt-dlp>=2024.0.0
|
|
mutagen>=1.47.0
|
|
pyobjc-core>=10.0 ; sys_platform == "darwin"
|
|
pyobjc-framework-Cocoa>=10.0 ; sys_platform == "darwin"
|
|
pyobjc-framework-WebKit>=10.0 ; sys_platform == "darwin"
|
|
pyobjc-framework-AVFoundation>=10.0 ; sys_platform == "darwin"
|
|
pythonnet==3.0.5 ; sys_platform == "win32"
|
|
clr-loader==0.2.7.post0 ; sys_platform == "win32"
|