mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: fix remaining PATH issues
This commit is contained in:
parent
89dc2f0370
commit
3caa565610
@ -50,8 +50,9 @@ fi
|
||||
printMessage "Setting up Flutter"
|
||||
flutter channel stable
|
||||
|
||||
# Add pub cache to PATH
|
||||
# Add pub cache and cargo to PATH
|
||||
powershell '[Environment]::SetEnvironmentVariable("PATH", $Env:PATH + ";" + $Env:LOCALAPPDATA + "\Pub\Cache\Bin", [EnvironmentVariableTarget]::User)'
|
||||
powershell '[Environment]::SetEnvironmentVariable("PATH", $Env:PATH + ";" + $Env:USERPROFILE + "\.cargo\bin", [EnvironmentVariableTarget]::User)'
|
||||
|
||||
# Enable linux desktop
|
||||
flutter config --enable-windows-desktop
|
||||
@ -91,4 +92,4 @@ vcpkg integrate install
|
||||
|
||||
# Check prerequisites
|
||||
printMessage "Checking prerequisites."
|
||||
$USERPROFILE/.cargo/bin/cargo make flowy_dev
|
||||
PATH="$PATH;$LOCALAPPDATA/Pub/Cache/Bin" $USERPROFILE/.cargo/bin/cargo make flowy_dev
|
||||
|
Loading…
Reference in New Issue
Block a user