-
Notifications
You must be signed in to change notification settings - Fork 0
/
flutterfire.bat
21 lines (21 loc) · 1.03 KB
/
flutterfire.bat
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 v3.1.2.
rem Package: flutterfire_cli
rem Version: 0.2.7
rem Executable: flutterfire
rem Script: flutterfire
if exist "C:\Users\anike\AppData\Local\Pub\Cache\global_packages\flutterfire_cli\bin\flutterfire.dart-3.1.2.snapshot" (
call dart "C:\Users\anike\AppData\Local\Pub\Cache\global_packages\flutterfire_cli\bin\flutterfire.dart-3.1.2.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
)
call dart pub global run flutterfire_cli:flutterfire %*
) else (
call dart pub global run flutterfire_cli:flutterfire %*
)
goto eof
:error
exit /b %errorlevel%
:eof