官网在custom fork写的有些简单,
Custom Fork
fvm fork add myco https://github.com/myco/flutter.gitfvm use myco/stable
这样其实是先自定义一个名称,这个还是唯一的。写法应该是这样的
fvm fork add ohos-flutter https://gitcode.com/openharmony-tpc/flutter_flutter.git
// 然后再安装这个自定义的flutter,后面接git上的分支
fvm install ohos-flutter/3.27.5-ohos-1.0.1
途中可能会报 Fork alias "xxx" already exists. Remove it first if you want to update,这个名字添加一次就不能再添加了。这个你也可以手动修改,windows目录:C:\Users\当前用户\AppData\Roaming\fvm\.fvmrc 编辑即可,里面存的json格式的