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:
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "$(pwd)/bin" >> $GITHUB_PATH
|
echo "$(pwd)/bin" >> $GITHUB_PATH
|
||||||
export PATH="$PATH:$(pwd)/bin"
|
export PATH="$PATH:$(pwd)/bin"
|
||||||
flutter channel dev
|
flutter channel stable
|
||||||
flutter config --enable-macos-desktop
|
flutter config --enable-macos-desktop
|
||||||
flutter doctor
|
flutter doctor
|
||||||
- name: Deps
|
- name: Deps
|
||||||
@ -63,7 +63,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "$(pwd)/bin" >> $GITHUB_PATH
|
echo "$(pwd)/bin" >> $GITHUB_PATH
|
||||||
export PATH="$PATH:$(pwd)/bin"
|
export PATH="$PATH:$(pwd)/bin"
|
||||||
flutter channel dev
|
flutter channel stable
|
||||||
flutter config --enable-linux-desktop
|
flutter config --enable-linux-desktop
|
||||||
flutter doctor
|
flutter doctor
|
||||||
- name: Deps
|
- name: Deps
|
||||||
|
@ -86,10 +86,10 @@ cargo make install_targets
|
|||||||
|
|
||||||
**Step 3:**
|
**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
|
```shell
|
||||||
flutter channel dev
|
flutter channel stable
|
||||||
```
|
```
|
||||||
|
|
||||||
**Step 4:**
|
**Step 4:**
|
||||||
|
@ -48,7 +48,7 @@ git clone https://github.com/flutter/flutter.git
|
|||||||
cd flutter
|
cd flutter
|
||||||
echo "export PATH=\$PATH:"`pwd`"/bin" >> ~/.profile
|
echo "export PATH=\$PATH:"`pwd`"/bin" >> ~/.profile
|
||||||
export PATH="$PATH:`pwd`/bin"
|
export PATH="$PATH:`pwd`/bin"
|
||||||
flutter channel dev
|
flutter channel stable
|
||||||
flutter config --enable-linux-desktop
|
flutter config --enable-linux-desktop
|
||||||
```
|
```
|
||||||
5. Fix problem reported by flutter doctor
|
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.
|
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
|
3. Install flutter according to https://docs.flutter.dev/get-started/install/windows
|
||||||
```shell
|
```shell
|
||||||
flutter channel dev
|
flutter channel stable
|
||||||
flutter doctor
|
flutter doctor
|
||||||
```
|
```
|
||||||
4. Install rust
|
4. Install rust
|
||||||
|
@ -10,6 +10,7 @@ import flowy_infra_ui
|
|||||||
import flowy_sdk
|
import flowy_sdk
|
||||||
import package_info_plus_macos
|
import package_info_plus_macos
|
||||||
import path_provider_macos
|
import path_provider_macos
|
||||||
|
import shared_preferences_macos
|
||||||
import url_launcher_macos
|
import url_launcher_macos
|
||||||
import window_size
|
import window_size
|
||||||
|
|
||||||
@ -19,6 +20,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
|||||||
FlowySdkPlugin.register(with: registry.registrar(forPlugin: "FlowySdkPlugin"))
|
FlowySdkPlugin.register(with: registry.registrar(forPlugin: "FlowySdkPlugin"))
|
||||||
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
|
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
|
||||||
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
||||||
|
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
|
||||||
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
|
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
|
||||||
WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin"))
|
WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin"))
|
||||||
}
|
}
|
||||||
|
@ -1126,7 +1126,7 @@ packages:
|
|||||||
name: vector_math
|
name: vector_math
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.0"
|
version: "2.1.1"
|
||||||
video_player:
|
video_player:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -159,7 +159,7 @@ script = """
|
|||||||
ret = which flutter
|
ret = which flutter
|
||||||
if is_empty ${ret}
|
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 "[❤️] 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
|
exit -1
|
||||||
end
|
end
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user