Skip to content

Commit 2c3c1df

Browse files
authored
Use a comma-separated args string for UWP (#26110)
UWP apps get a single arguments string on launch rather than an array. The current implementation splits that args string on commas. This updates the UWP launch args generation to match. Part of #81756 Part of #82085
1 parent 96ec5a5 commit 2c3c1df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/windows/uwptool_main.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ int main(int argc, char** argv) {
6969
// Get the package ID.
7070
std::string package_id = args[1];
7171

72-
// Concatenate the remaining args, space-separated.
72+
// Concatenate the remaining args, comma-separated.
7373
std::ostringstream app_args;
7474
for (int i = 2; i < args.size(); ++i) {
7575
app_args << args[i];
7676
if (i < args.size() - 1) {
77-
app_args << " ";
77+
app_args << ",";
7878
}
7979
}
8080
int process_id = LaunchApp(flutter::Utf16FromUtf8(package_id),

0 commit comments

Comments
 (0)