From 2aa7f4c1c27ba43f78f7880cd372d708e33d88fb Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Fri, 12 Mar 2021 10:05:10 -0800 Subject: [PATCH] Restore original value of the Dart advisory script URI (flutter/engine#24973) Some flutter_tester scripts rely on the old value because Dart will convert "main.dart" into a Platform.script URI containing a fully qualified path to the script. --- engine/src/flutter/common/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/common/settings.h b/engine/src/flutter/common/settings.h index 4a914d89fab..5dcef45a17d 100644 --- a/engine/src/flutter/common/settings.h +++ b/engine/src/flutter/common/settings.h @@ -118,7 +118,7 @@ struct Settings { // Used as the script URI in debug messages. Does not affect how the Dart code // is executed. - std::string advisory_script_uri = "file:///main.dart"; + std::string advisory_script_uri = "main.dart"; // Used as the script entrypoint in debug messages. Does not affect how the // Dart code is executed. std::string advisory_script_entrypoint = "main";