--- src/CMakeLists.txt 2026-05-17 21:52:16.000000000 +0800 +++ src/CMakeLists.txt 2026-05-18 03:20:00.000000000 +0800 @@ -322,13 +324,13 @@ # opt-out into the CMake-generated Info.plist. This matches the # legacy wxHTTP/wxSocket path's behaviour, which bypassed ATS by # going through raw BSD sockets. - add_custom_command (TARGET amule POST_BUILD - COMMAND /usr/bin/plutil -replace NSAppTransportSecurity - -json "{\"NSAllowsArbitraryLoads\": true}" - "$/Info.plist" - COMMENT "Opting aMule.app out of App Transport Security" - VERBATIM - ) +# add_custom_command (TARGET amule POST_BUILD +# COMMAND /usr/bin/plutil -replace NSAppTransportSecurity +# -json "{\"NSAllowsArbitraryLoads\": true}" +# "$/Info.plist" +# COMMENT "Opting aMule.app out of App Transport Security" +# VERBATIM +# ) # Copy translation catalogs into the .app bundle so the in-tree # build picks them up. wxLocale's lookup prefix on macOS is @@ -459,13 +461,13 @@ # macOS is backed by NSURLSession which blocks plaintext HTTP # by default; amulegui uses the same HTTP download path for its # own version checks via CHTTPDownloadThread. - add_custom_command (TARGET amulegui POST_BUILD - COMMAND /usr/bin/plutil -replace NSAppTransportSecurity - -json "{\"NSAllowsArbitraryLoads\": true}" - "$/Info.plist" - COMMENT "Opting aMuleGUI.app out of App Transport Security" - VERBATIM - ) +# add_custom_command (TARGET amulegui POST_BUILD +# COMMAND /usr/bin/plutil -replace NSAppTransportSecurity +# -json "{\"NSAllowsArbitraryLoads\": true}" +# "$/Info.plist" +# COMMENT "Opting aMuleGUI.app out of App Transport Security" +# VERBATIM +# ) # Same translation-catalog bundling as the monolithic amule.app # — wxLocale's lookup prefix on macOS is GetDataDir() + "/locale"