Skip to content

Conversation

@goderbauer
Copy link
Member

Fixes #14578.

@goderbauer
Copy link
Member Author

I believe the logic around exit code 253 (outdated snapshot of Flutter Tools) is no longer necessary because we control which dart version ships with Flutter and whenever we change that version we create a new snapshot. Therefore, the snapshot should never be outdated. The logic is a relict from a time when Flutter used whatever Dart version was installed on the system.

@goderbauer
Copy link
Member Author

/cc @tvolkert @aam @timsneath

REM avoids nasty errors that may otherwise occure when the dart command (e.g. as
REM part of 'flutter upgrade') modifies this batch script while it is executing.
REM
REM Do not use the CALL command in the next line to execute Dart. CALL causes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa, who would have thought! Is this documented anywhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not find any official documentation around this. There was one stack overflow answer explaining this behavior, but I can't find it now... :(

Copy link
Contributor

@tvolkert tvolkert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@goderbauer goderbauer merged commit 91dde90 into flutter:master Aug 28, 2018
@goderbauer goderbauer deleted the windowsUpgrade branch August 28, 2018 16:37
@goderbauer goderbauer added the platform-windows Building on or for Windows specifically label Feb 22, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

platform-windows Building on or for Windows specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when flutter upgrade or flutter channel modifies flutter.bat

4 participants