From 379042bb2b86e16e80f377f4e4b457572df179a1 Mon Sep 17 00:00:00 2001 From: H2Sxxa Date: Mon, 12 Feb 2024 21:39:18 +0800 Subject: [PATCH] Fix `cd` can't work cross disks https://stackoverflow.com/questions/11065421/command-Prompt-wont-change-directory-to-another-drive --- flutter_ffi_plugin/cargokit/run_build_tool.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_ffi_plugin/cargokit/run_build_tool.cmd b/flutter_ffi_plugin/cargokit/run_build_tool.cmd index 822e7038..2f0afb97 100755 --- a/flutter_ffi_plugin/cargokit/run_build_tool.cmd +++ b/flutter_ffi_plugin/cargokit/run_build_tool.cmd @@ -8,7 +8,7 @@ SET BASEDIR=%~dp0 if not exist "%CARGOKIT_TOOL_TEMP_DIR%" ( mkdir "%CARGOKIT_TOOL_TEMP_DIR%" ) -cd "%CARGOKIT_TOOL_TEMP_DIR%" +cd /d "%CARGOKIT_TOOL_TEMP_DIR%" SET BUILD_TOOL_PKG_DIR=%BASEDIR%build_tool SET DART=%FLUTTER_ROOT%\bin\cache\dart-sdk\bin\dart