4 Star 14 Fork 22

mamingshuai / openharmony_oneclick_env_init

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
notice.sh 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
mamingshuai 提交于 2021-07-31 14:49 . 增加获取系统版本脚本
#!/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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/landwind/openharmony_oneclick_env_init.git
git@gitee.com:landwind/openharmony_oneclick_env_init.git
landwind
openharmony_oneclick_env_init
openharmony_oneclick_env_init
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891