-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathflutterfire.bat
More file actions
22 lines (21 loc) · 754 Bytes
/
flutterfire.bat
File metadata and controls
22 lines (21 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
rem This file was created by pub v2.17.1.
rem Package: flutterfire_cli
rem Version: 0.2.2+2
rem Executable: flutterfire
rem Script: flutterfire
if exist "C:\Users\amanullah\AppData\Local\Pub\Cache\global_packages\flutterfire_cli\bin\flutterfire.dart-2.17.1.snapshot" (
call dart "C:\Users\amanullah\AppData\Local\Pub\Cache\global_packages\flutterfire_cli\bin\flutterfire.dart-2.17.1.snapshot" %*
rem The VM exits with code 253 if the snapshot version is out-of-date.
rem If it is, we need to delete it and run "pub global" manually.
if not errorlevel 253 (
goto error
)
dart pub global run flutterfire_cli:flutterfire %*
) else (
dart pub global run flutterfire_cli:flutterfire %*
)
goto eof
:error
exit /b %errorlevel%
:eof