[flutter]: switch to stable channel

This commit is contained in:
appflowy 2021-12-10 14:43:57 +08:00
parent e28b1ab8b3
commit d283d29202
7 changed files with 10 additions and 8 deletions

View File

@ -23,7 +23,7 @@ jobs:
run: |
echo "$(pwd)/bin" >> $GITHUB_PATH
export PATH="$PATH:$(pwd)/bin"
flutter channel dev
flutter channel stable
flutter config --enable-macos-desktop
flutter doctor
- name: Deps
@ -63,7 +63,7 @@ jobs:
run: |
echo "$(pwd)/bin" >> $GITHUB_PATH
export PATH="$PATH:$(pwd)/bin"
flutter channel dev
flutter channel stable
flutter config --enable-linux-desktop
flutter doctor
- name: Deps

View File

@ -86,10 +86,10 @@ cargo make install_targets
**Step 3:**
Follow the instructions [here](https://flutter.dev/docs/get-started/install) to install Flutter. As AppFlowy uses the `dev` channel, you need to switch the channel. Just type:
Follow the instructions [here](https://flutter.dev/docs/get-started/install) to install Flutter. As AppFlowy uses the `stable` channel, you need to switch the channel. Just type:
```shell
flutter channel dev
flutter channel stable
```
**Step 4:**

View File

@ -48,7 +48,7 @@ git clone https://github.com/flutter/flutter.git
cd flutter
echo "export PATH=\$PATH:"`pwd`"/bin" >> ~/.profile
export PATH="$PATH:`pwd`/bin"
flutter channel dev
flutter channel stable
flutter config --enable-linux-desktop
```
5. Fix problem reported by flutter doctor

View File

@ -25,7 +25,7 @@ Note:
2. Install vcpkg according to https://github.com/microsoft/vcpkg#quick-start-windows. Make sure to add vcpkg installation folder to PATH env var.
3. Install flutter according to https://docs.flutter.dev/get-started/install/windows
```shell
flutter channel dev
flutter channel stable
flutter doctor
```
4. Install rust

View File

@ -10,6 +10,7 @@ import flowy_infra_ui
import flowy_sdk
import package_info_plus_macos
import path_provider_macos
import shared_preferences_macos
import url_launcher_macos
import window_size
@ -19,6 +20,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlowySdkPlugin.register(with: registry.registrar(forPlugin: "FlowySdkPlugin"))
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin"))
}

View File

@ -1126,7 +1126,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
version: "2.1.1"
video_player:
dependency: transitive
description:

View File

@ -159,7 +159,7 @@ script = """
ret = which flutter
if is_empty ${ret}
echo "[❤️] Follow the https://flutter.dev/docs/get-started/install instructions to install the flutter, skip if you already installed."
echo "Switch to dev channel with command: flutter channel dev"
echo "Switch to dev channel with command: flutter channel stable"
exit -1
end
"""