zhongruan记录一下打包cherry的手机APP过程 中发帖

安装cli

npm install -g eas-cli


拉取

git clone https://github.com/CherryHQ/cherry-studio-app.git

cd cherry-studio-app


修改这个文件
[image]
移除这一行
[image]
使用管理员的CMD

corepack enable


安装依赖

yarn install


编辑前面那个文件
运行

eas build -p android --profile preview

留意这一行
[image]
补充回去前面修改的地方
7. 重新运行
eas build -p android --profile preview


等他给出二维码
[image]
我是用这个URL
[image]
然后手机扫码
[image]
扫完后点一下Ins...