暂时精简了仓库,后边再放吧
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
@echo off
|
||||
setlocal
|
||||
title 浮动小游戏 - 调试启动
|
||||
|
||||
set FLUTTER_BIN=E:\mcz_transform_flutter\flutter_windows_3.38.5-stable\flutter\bin
|
||||
set PUB_HOSTED_URL=https://pub.flutter-io.cn
|
||||
set FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
|
||||
set PATH=%FLUTTER_BIN%;%PATH%
|
||||
|
||||
cd /d %~dp0
|
||||
|
||||
echo [fdGamer] Flutter SDK: %FLUTTER_BIN%
|
||||
echo [fdGamer] Running flutter pub get...
|
||||
call flutter.bat pub get
|
||||
if errorlevel 1 goto :fail
|
||||
|
||||
echo [fdGamer] Starting Windows debug session...
|
||||
call flutter.bat run -d windows -- --server-base=http://127.0.0.1:8080 %*
|
||||
if errorlevel 1 goto :fail
|
||||
|
||||
goto :end
|
||||
|
||||
:fail
|
||||
echo [fdGamer] Failed.
|
||||
pause
|
||||
exit /b 1
|
||||
|
||||
:end
|
||||
endlocal
|
||||
Reference in New Issue
Block a user