mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
[flutter]: switch to stable channel
This commit is contained in:
parent
e28b1ab8b3
commit
d283d29202
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
@ -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:**
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"))
|
||||
}
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user