)]}'
{
  "commit": "7fb83113616834b197d97b8052309a0bcc710bce",
  "tree": "a37168fbd63c302ea0f79beeb95190cc7f2b9a46",
  "parents": [
    "a9783b2ba4032763f09a2072a15e746a119d6f49"
  ],
  "author": {
    "name": "Chris Bracken",
    "email": "chris@bracken.jp",
    "time": "Fri Aug 19 18:38:49 2022 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Aug 20 02:38:49 2022 +0100"
  },
  "message": "[Windows] Set Platform.executable on engine start (#35560)\n\nWhen setting FlutterProjectArgs.command_line_argv prior to launching the\r\nengine, we were previously setting a placeholder value rather than the\r\nexecutable name. This resulted in Platform.executable (from dart:io)\r\nreturning \"placeholder\" in application code.\r\n\r\nThis updates the Windows implementation for consistency with macOS and\r\nguarantees that Platform.executable will return a reasonable value in\r\nDart code.\r\n\r\nNote that this does not affect Platform.resolvedExecutable, which returns\r\na full, resolved path, and is implemented in the Dart runtime itself.\r\nPreviously the code:\r\n\r\n   print(Platform.executable);\r\n   print(Platform.resolvedExecutable);\r\n\r\nresulted in the following output on Windows:\r\n\r\n   flutter: placeholder\r\n   flutter: C:\\path\\to\\project\\build\\windows\\runner\\Debug\\project.exe\r\n\r\nafter this patch, it results in:\r\n\r\n   flutter: project.exe\r\n   flutter: C:\\path\\to\\project\\build\\windows\\runner\\Debug\\project.exe\r\n\r\nIssue: https://github.com/flutter/flutter/issues/83921",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e2d76aa6171e73224cf4874d6200a99a1ad825a9",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/fixtures/main.dart",
      "new_id": "57ba615d984a7689f134d8449f80e98c4d4cb168",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/fixtures/main.dart"
    },
    {
      "type": "modify",
      "old_id": "6c3d728f7e4ff04c0d349a6c39cb76a46d675256",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/flutter_windows_engine.cc",
      "new_id": "9396a9e2c15bce232be0fe21fda36f3be9da7bda",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/flutter_windows_engine.cc"
    },
    {
      "type": "modify",
      "old_id": "3ead42238f6165fa9f8390675faef1ec8653692c",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/flutter_windows_engine.h",
      "new_id": "700f7889a2ddf1ed1fbd22ceb51264d4a3263000",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/flutter_windows_engine.h"
    },
    {
      "type": "modify",
      "old_id": "87315efad58f5ddb20f998c2d683f0aa4e1edfe3",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/flutter_windows_engine_unittests.cc",
      "new_id": "1417fe48a3f0ca1349587de2bdfe42289d2b41ac",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/flutter_windows_engine_unittests.cc"
    },
    {
      "type": "modify",
      "old_id": "720c7b3fbc0a7cc99ad99cfe934cc45df9eb770a",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/flutter_windows_unittests.cc",
      "new_id": "40cd9e32a33135035a5b2882df02a04a8cbcf565",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/flutter_windows_unittests.cc"
    }
  ]
}
