代码拉取完成,页面将自动刷新
同步操作将从 mamingshuai/openharmony_oneclick_env_init 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash
baseDirForScriptSelf=$(cd "$(dirname "$0")"; pwd)
# 初始化环境变量
source ${baseDirForScriptSelf}/source.sh
# 用户注意事项
echo """========================================
请注意:
1. 脚本无法直接使用
2. 默认修改pip和apt-get安装源,如不需要请注释对应行
3. 默认安装众多依赖包,如有冲突请百度解决
4. 使用干净系统验证,无法做到万无一失,如遇失败,请尽量百度搜索解决,如果发现问题,欢迎提交PR/issue
!!!请一定注意!!! 下载源码默认执行 git reset --hard 和 git clean -fd,这会导致本地修改全部丢失
!!!请一定注意!!! 下载源码默认执行 git reset --hard 和 git clean -fd,这会导致本地修改全部丢失
!!!请一定注意!!! 下载源码默认执行 git reset --hard 和 git clean -fd,这会导致本地修改全部丢失
如果不需要执行,请注释download_code.sh对应行
-----------------------------------------------
Please note:
1. Scripts cannot be used directly.
2. Modify the pip and apt-get installation sources by default. If the installation sources are not required, comment out the corresponding lines.
3. Many dependency packages are installed by default. If there are conflicts, contact Baidu.
4. Use a clean system for verification, which cannot be foolproof. If the verification fails, try to search for and solve the problem. If any problem is found, submit a PR.
Please pay attention! To download the source code, run 'git reset --hard' and 'git clean -fd' by default. As a result, all local modifications will be lost.
Please pay attention! To download the source code, run 'git reset --hard' and 'git clean -fd' by default. As a result, all local modifications will be lost.
Please pay attention! To download the source code, run 'git reset --hard' and 'git clean -fd' by default. As a result, all local modifications will be lost.
If you do not need to perform this operation, comment out the line corresponding to download_code.sh.
"""
for ((i=5;i>0;i--));
do
echo -n "$i "
sleep 1
done
echo ' '
echo '''确认以上信息后,请按回车(Enter)后继续...
After confirming the above information, press Enter to continue...'''
read
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。