From 7fa50693a775638b390b7d98a19311ca18d823cb Mon Sep 17 00:00:00 2001 From: msojocs Date: Fri, 29 Dec 2023 22:33:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20AppImage=E7=9A=84cli=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E4=BC=9A=E9=97=AA=E9=80=80=20#103?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/wechat-devtools-cli | 4 ++++ changelog.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bin/wechat-devtools-cli b/bin/wechat-devtools-cli index bb52a4c..2034d9c 100755 --- a/bin/wechat-devtools-cli +++ b/bin/wechat-devtools-cli @@ -15,3 +15,7 @@ export APPDATA="$root_dir/nwjs" export PATH="$root_dir/node/bin:$root_dir/nwjs:$PATH" node $root_dir/package.nw/js/common/cli/index.js "$@" +if [ ! -z "$APPIMAGE"];then + # AppImage在程序退出后会删除相关程序文件,导致无法启动 + tail -f /etc/issue +fi \ No newline at end of file diff --git a/changelog.md b/changelog.md index 28dee23..690c9be 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 1.06.2308310-4 / 2023-12- + +- fix: AppImage的cli使用会闪退 + # 1.06.2308310-3 / 2023-12-24 - update: compiler(Linux) v0.0.7