#!/bin/sh
# This script was generated using Makeself 2.4.5
# The license covering this archive and its contents, if any, is wholly independent of the Makeself license (GPL)
ORIG_UMASK=`umask`
if test "n" = n; then
umask 077
fi
CRCsum="3924512354"
MD5="39eec62438f52bcf82dae60c5c17abe0"
SHA="0000000000000000000000000000000000000000000000000000000000000000"
SIGNATURE=""
TMPROOT=${TMPDIR:=/tmp}
USER_PWD="$PWD"
export USER_PWD
ARCHIVE_DIR=`dirname "$0"`
export ARCHIVE_DIR
label="DevEco Device Tool 4.0.0.400"
script="bash"
scriptargs="run.sh"
cleanup_script=""
licensetxt=""
helpheader=''
targetdir="out"
filesizes="175345998"
totalsize="175345998"
keep="n"
nooverwrite="n"
quiet="n"
accept="n"
nodiskspace="n"
export_conf="n"
decrypt_cmd=""
skip="716"
print_cmd_arg=""
if type printf > /dev/null; then
print_cmd="printf"
elif test -x /usr/ucb/echo; then
print_cmd="/usr/ucb/echo"
else
print_cmd="echo"
fi
if test -d /usr/xpg4/bin; then
PATH=/usr/xpg4/bin:$PATH
export PATH
fi
if test -d /usr/sfw/bin; then
PATH=$PATH:/usr/sfw/bin
export PATH
fi
unset CDPATH
MS_Printf()
{
$print_cmd $print_cmd_arg "$1"
}
MS_PrintLicense()
{
PAGER=${PAGER:=more}
if test x"$licensetxt" != x; then
PAGER_PATH=`exec <&- 2>&-; which $PAGER || command -v $PAGER || type $PAGER`
if test -x "$PAGER_PATH"; then
echo "$licensetxt" | $PAGER
else
echo "$licensetxt"
fi
if test x"$accept" != xy; then
while true
do
MS_Printf "Please type y to accept, n otherwise: "
read yn
if test x"$yn" = xn; then
keep=n
eval $finish; exit 1
break;
elif test x"$yn" = xy; then
break;
fi
done
fi
fi
}
MS_diskspace()
{
(
df -kP "$1" | tail -1 | awk '{ if ($4 ~ /%/) {print $3} else {print $4} }'
)
}
MS_dd()
{
blocks=`expr $3 / 1024`
bytes=`expr $3 % 1024`
# Test for ibs, obs and conv feature
if dd if=/dev/zero of=/dev/null count=1 ibs=512 obs=512 conv=sync 2> /dev/null; then
dd if="$1" ibs=$2 skip=1 obs=1024 conv=sync 2> /dev/null | \
{ test $blocks -gt 0 && dd ibs=1024 obs=1024 count=$blocks ; \
test $bytes -gt 0 && dd ibs=1 obs=1024 count=$bytes ; } 2> /dev/null
else
dd if="$1" bs=$2 skip=1 2> /dev/null
fi
}
MS_dd_Progress()
{
if test x"$noprogress" = xy; then
MS_dd "$@"
return $?
fi
file="$1"
offset=$2
length=$3
pos=0
bsize=4194304
while test $bsize -gt $length; do
bsize=`expr $bsize / 4`
done
blocks=`expr $length / $bsize`
bytes=`expr $length % $bsize`
(
dd ibs=$offset skip=1 count=0 2>/dev/null
pos=`expr $pos \+ $bsize`
MS_Printf " 0%% " 1>&2
if test $blocks -gt 0; then
while test $pos -le $length; do
dd bs=$bsize count=1 2>/dev/null
pcent=`expr $length / 100`
pcent=`expr $pos / $pcent`
if test $pcent -lt 100; then
MS_Printf "\b\b\b\b\b\b\b" 1>&2
if test $pcent -lt 10; then
MS_Printf " $pcent%% " 1>&2
else
MS_Printf " $pcent%% " 1>&2
fi
fi
pos=`expr $pos \+ $bsize`
done
fi
if test $bytes -gt 0; then
dd bs=$bytes count=1 2>/dev/null
fi
MS_Printf "\b\b\b\b\b\b\b" 1>&2
MS_Printf " 100%% " 1>&2
) < "$file"
}
MS_Help()
{
cat << EOH >&2
${helpheader}Makeself version 2.4.5
1) Getting help or info about $0 :
$0 --help Print this message
$0 --info Print embedded info : title, default target directory, embedded script ...
$0 --lsm Print embedded lsm entry (or no LSM)
$0 --list Print the list of files in the archive
$0 --check Checks integrity of the archive
$0 --verify-sig key Verify signature agains a provided key id
2) Running $0 :
$0 [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--quiet Do not print anything except error messages
--accept Accept the license
--noexec Do not run embedded script (implies --noexec-cleanup)
--noexec-cleanup Do not run embedded cleanup script
--keep Do not erase target directory after running
the embedded script
--noprogress Do not show the progress during the decompression
--nox11 Do not spawn an xterm
--nochown Do not give the target folder to the current user
--chown Give the target folder to the current user recursively
--nodiskspace Do not check for available disk space
--target dir Extract directly to a target directory (absolute or relative)
This directory may undergo recursive chown (see --nochown).
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
--ssl-pass-src src Use the given src as the source of password to decrypt the data
using OpenSSL. See "PASS PHRASE ARGUMENTS" in man openssl.
Default is to prompt the user to enter decryption password
on the current terminal.
--cleanup-args args Arguments to the cleanup script. Wrap in quotes to provide
multiple arguments.
-- Following arguments will be passed to the embedded script
EOH
}
MS_Verify_Sig()
{
GPG_PATH=`exec <&- 2>&-; which gpg || command -v gpg || type gpg`
MKTEMP_PATH=`exec <&- 2>&-; which mktemp || command -v mktemp || type mktemp`
test -x "$GPG_PATH" || GPG_PATH=`exec <&- 2>&-; which gpg || command -v gpg || type gpg`
test -x "$MKTEMP_PATH" || MKTEMP_PATH=`exec <&- 2>&-; which mktemp || command -v mktemp || type mktemp`
offset=`head -n "$skip" "$1" | wc -c | tr -d " "`
temp_sig=`mktemp -t XXXXX`
echo $SIGNATURE | base64 --decode > "$temp_sig"
gpg_output=`MS_dd "$1" $offset $totalsize | LC_ALL=C "$GPG_PATH" --verify "$temp_sig" - 2>&1`
gpg_res=$?
rm -f "$temp_sig"
if test $gpg_res -eq 0 && test `echo $gpg_output | grep -c Good` -eq 1; then
if test `echo $gpg_output | grep -c $sig_key` -eq 1; then
test x"$quiet" = xn && echo "GPG signature is good" >&2
else
echo "GPG Signature key does not match" >&2
exit 2
fi
else
test x"$quiet" = xn && echo "GPG signature failed to verify" >&2
exit 2
fi
}
MS_Check()
{
OLD_PATH="$PATH"
PATH=${GUESS_MD5_PATH:-"$OLD_PATH:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin"}
MD5_ARG=""
MD5_PATH=`exec <&- 2>&-; which md5sum || command -v md5sum || type md5sum`
test -x "$MD5_PATH" || MD5_PATH=`exec <&- 2>&-; which md5 || command -v md5 || type md5`
test -x "$MD5_PATH" || MD5_PATH=`exec <&- 2>&-; which digest || command -v digest || type digest`
PATH="$OLD_PATH"
SHA_PATH=`exec <&- 2>&-; which shasum || command -v shasum || type shasum`
test -x "$SHA_PATH" || SHA_PATH=`exec <&- 2>&-; which sha256sum || command -v sha256sum || type sha256sum`
if test x"$quiet" = xn; then
MS_Printf "Verifying archive integrity..."
fi
offset=`head -n "$skip" "$1" | wc -c | tr -d " "`
fsize=`cat "$1" | wc -c | tr -d " "`
if test $totalsize -ne `expr $fsize - $offset`; then
echo " Unexpected archive size." >&2
exit 2
fi
verb=$2
i=1
for s in $filesizes
do
crc=`echo $CRCsum | cut -d" " -f$i`
if test -x "$SHA_PATH"; then
if test x"`basename $SHA_PATH`" = xshasum; then
SHA_ARG="-a 256"
fi
sha=`echo $SHA | cut -d" " -f$i`
if test x"$sha" = x0000000000000000000000000000000000000000000000000000000000000000; then
test x"$verb"
没有合适的资源?快使用搜索试试~ 我知道了~
HUAWEI DevEco Device Tool(devicetool-linux-tool-4.0.0.400.zip)
共1个文件
sh:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 68 浏览量
2023-12-06
20:00:43
上传
评论
收藏 167.25MB ZIP 举报
温馨提示
HUAWEI DevEco Device Tool(devicetool-linux-tool-4.0.0.400.zip 适用于Linux系统),面向智能设备开发者,提供一站式的开发环境、一站式资源获取通道,实现了从芯片模板工程创建到开发资源挑选定制,再到编码、编译、调试、调优、烧录环节的全流程覆盖,帮助开发者实现 HarmonyOS Connect/OpenHarmony智能硬件设备的高效开发。
资源推荐
资源详情
资源评论
收起资源包目录
devicetool-linux-tool-4.0.0.400.zip (1个子文件)
devicetool-linux-tool-4.0.0.400.sh 167.24MB
共 1 条
- 1
资源评论
YunFeiDong
- 粉丝: 38
- 资源: 3850
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功