Bug 1954832: Pass app bundle arguments as unicode. r=nika

Differential Revision: https://phabricator.services.mozilla.com/D242299
This commit is contained in:
Dave Townsend
2025-03-20 17:25:42 +00:00
parent 5f9ea3fd46
commit ea552aa133
2 changed files with 2 additions and 2 deletions

View File

@@ -512,7 +512,7 @@ nsresult nsMacDockSupport::EnsureAppIsPinnedToDock(
}
nsresult nsMacDockSupport::LaunchAppBundle(
nsIFile* aAppBundle, const nsTArray<nsCString>& aArgs,
nsIFile* aAppBundle, const nsTArray<nsString>& aArgs,
nsIAppBundleLaunchOptions* aLaunchOptions) {
NS_OBJC_BEGIN_TRY_BLOCK_RETURN;

View File

@@ -93,6 +93,6 @@ interface nsIMacDockSupport : nsISupports
* The `aLaunchOptions` parameter can control aspects of how the bundle is
* launched.
*/
void launchAppBundle(in nsIFile aAppBundle, in Array<ACString> aArgs,
void launchAppBundle(in nsIFile aAppBundle, in Array<AString> aArgs,
[optional] in nsIAppBundleLaunchOptions aLaunchOptions);
};