flutter_console.bat 1.65 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2
@ECHO off
REM Copyright 2014 The Flutter Authors. All rights reserved.
3 4 5 6 7 8
REM Use of this source code is governed by a BSD-style license that can be
REM found in the LICENSE file.

TITLE Flutter Console

echo.
Ian Hickson's avatar
Ian Hickson committed
9 10 11 12 13 14 15
echo         ######## ##       ##     ## ######## ######## ######## ########
echo         ##       ##       ##     ##    ##       ##    ##       ##     ##
echo         ##       ##       ##     ##    ##       ##    ##       ##     ##
echo         ######   ##       ##     ##    ##       ##    ######   ########
echo         ##       ##       ##     ##    ##       ##    ##       ##   ##
echo         ##       ##       ##     ##    ##       ##    ##       ##    ##
echo         ##       ########  #######     ##       ##    ######## ##     ##
16 17 18 19
echo.
echo.

echo  WELCOME to the Flutter Console.
Ian Hickson's avatar
Ian Hickson committed
20
echo  ===============================================================================
21 22 23 24 25 26 27
echo.
echo  Use the console below this message to interact with the "flutter" command.
echo  Run "flutter doctor" to check if your system is ready to run Flutter apps.
echo  Run "flutter create <app_name>" to create a new Flutter project.
echo.
echo  Run "flutter help" to see all available commands.
echo.
28
echo  Want to use an IDE to interact with Flutter? https://flutter.dev/ide-setup/
29 30
echo.
echo  Want to run the "flutter" command from any Command Prompt or PowerShell window?
31
echo  Add Flutter to your PATH: https://flutter.dev/setup-windows/#update-your-path
32
echo.
Ian Hickson's avatar
Ian Hickson committed
33
echo  ===============================================================================
34 35 36 37 38

REM "%~dp0" is the directory of this file including trailing backslash
SET PATH=%~dp0bin;%PATH%

CALL cmd /K "@echo off & cd %USERPROFILE% & echo on"