Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: fix most PATH-related issues
Poly-Pixel7eb7fad336bc
diff --git a/frontend/scripts/install_dev_env/install_windows.sh b/frontend/scripts/install_dev_env/install_windows.shindex 1f65745e45..69d5a64137 100644--- a/frontend/scripts/install_dev_env/install_windows.sh+++ b/frontend/scripts/install_dev_env/install_windows.sh@@ -37,8 +37,8 @@ if ! rustc --version; thenstart "Rust Installer" rustup-init.exeread -p "$(printSuccess "Press enter when Rust installation is done") " isDonerm rustup-init.exe- rustup toolchain install stable- rustup default stable+ $USERPROFILE/.cargo/bin/rustup toolchain install stable+ $USERPROFILE/.cargo/bin/rustup default stableelseprintMessage "Skipping Rust installation."fi@@ -50,6 +50,9 @@ fiprintMessage "Setting up Flutter"flutter channel stable+# Add pub cache to PATH+powershell '[Environment]::SetEnvironmentVariable("PATH", $Env:PATH + ";" + $Env:LOCALAPPDATA + "\Pub\Cache\Bin", [EnvironmentVariableTarget]::User)'+# Enable linux desktopflutter config --enable-windows-desktop@@ -60,17 +63,6 @@ flutter doctorprintMessage "Setting up githooks."git config core.hooksPath .githooks-# Change to the frontend directory-cd frontend--# Install cargo make-printMessage "Installing cargo-make."-cargo install --force cargo-make--# Install duckscript-printMessage "Installing duckscript."-cargo install --force duckscript_cli-# Install go-gitlintprintMessage "Installing go-gitlint."GOLINT_FILENAME="go-gitlint_1.1.0_windows_x86_64.tar.gz"@@ -81,10 +73,22 @@ elseprintError "Failed to install go-gitlint"fi+# Change to the frontend directory+cd frontend++# Install cargo make+printMessage "Installing cargo-make."+#$USERPROFILE/.cargo/bin/cargo install --force cargo-make++# Install duckscript+printMessage "Installing duckscript."+$USERPROFILE/.cargo/bin/cargo install --force duckscript_cli+# Enable vcpkg integration# Note: Requires admin+printMessage "Setting up vcpkg."vcpkg integrate install# Check prerequisitesprintMessage "Checking prerequisites."-cargo make flowy_dev+$USERPROFILE/.cargo/bin/cargo make flowy_dev