downgrade flutter to 3.7.12 and update docs

This commit is contained in:
Josh Babb 2023-06-01 14:53:59 -07:00
parent 3a6cfcf7ce
commit 2fa6e0f203
2 changed files with 9 additions and 4 deletions

View file

@ -144,9 +144,14 @@ Set up Ubuntu 20.04 in WSL2. Follow the entire Linux host section to get set up
<!-- TODO: script this -->
### Install Flutter on Windows host
Install Flutter on your Windows host (not in WSL2) by following these instructions: https://docs.flutter.dev/get-started/install/windows or by running `scripts/windows/deps.ps1`. You may still have to add `C:\development\flutter\bin` to PATH before proceeding, even if you ran `deps.ps1`. Run `flutter doctor` in PowerShell to confirm its installation.
Install Flutter 3.7.12 on your Windows host (not in WSL2) by following these instructions: https://docs.flutter.dev/get-started/install/windows or by running `scripts/windows/deps.ps1`. You may still have to add `C:\development\flutter\bin` to PATH before proceeding, even if you ran `deps.ps1`. Run `flutter doctor` in PowerShell to confirm its installation.
### Running
You may need to enable Developer Mode for symlink support,
```
start ms-settings:developers
```
Run the following commands:
```
flutter pub get

View file

@ -1,9 +1,9 @@
# Create C:\development
New-Item -Path 'C:\development' -ItemType Directory
# Download flutter_windows_3.10.2-stable.zip
Invoke-WebRequest "https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.10.2-stable.zip" -OutFile "C:\development\flutter_windows_3.10.2-stable.zip"
# Download flutter_windows_3.7.12-stable.zip
Invoke-WebRequest "https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.7.12-stable.zip" -OutFile "C:\development\flutter_windows_3.7.12-stable.zip"
# Extract Flutter SDK
Expand-Archive "C:\development\flutter_windows_3.10.2-stable.zip" -DestinationPath "C:\development"
Expand-Archive "C:\development\flutter_windows_3.7.12-stable.zip" -DestinationPath "C:\development"
# See https://stackoverflow.com/a/69239861
function Add-Path {