https://bugs.documentfoundation.org/show_bug.cgi?id=148071

--- Comment #4 from Sierk Bornemann <[email protected]> ---
What about this tiny patch proposal (based on Julien Nabet's patch proposal
above) and taking <key>ProductName</key><string>macOS</string> of
/System/Library/CoreServices/SystemVersion.plist instead of hardcoding the
string?

--- salinst.cxx     2022-12-23 03:24:22
+++ salinst.cxx.new 2022-12-23 03:26:33
@@ -952,7 +952,7 @@
     if ( sysVersionDict )
         versionString = [ sysVersionDict valueForKey: @"ProductVersion" ];

-    OUString aVersion = "Mac OS X ";
+    OUString aVersion = [ sysVersionDict valueForKey: @"ProductName" ];
     if ( versionString )
         aVersion += OUString::fromUtf8( [ versionString UTF8String ] );
     else

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to