From a8d09d0509816200f3de713c4336209c8b766a52 Mon Sep 17 00:00:00 2001 From: msojocs Date: Wed, 16 Feb 2022 12:46:34 +0800 Subject: [PATCH] =?UTF-8?q?update:=20FAQ,=20=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 21 +++++++++++++++++++-- docs/FAQ.MD | 20 ++++++++++++++++++++ tools/fix-other | 2 -- 3 files changed, 39 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ee4283..1c07ed5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: push: tags: - v* - branches: [ master, appimage ] + branches: [ master ] pull_request: branches: [ master ] # # Allows you to run this workflow manually from the Actions tab @@ -94,9 +94,26 @@ jobs: name: 'release-${{ steps.tag.outputs.tag }}' - name: Create release and upload artifacts + if: startsWith(github.ref, 'refs/heads/') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage chmod +x pyuploadtool-x86_64.AppImage - ./pyuploadtool-x86_64.AppImage *.AppImage* *.tar.gz + ./pyuploadtool-x86_64.AppImage WeChat*.AppImage *.tar.gz + + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + # note you'll typically need to create a personal access token + # with permissions to create releases in the other repo + name: ${{ steps.tag.outputs.name }} + tag_name: ${{ steps.tag.outputs.tag }} + files: | + ${{ env.name }}.tar.gz + compiler.tar.gz + nodegit.tar.gz + *.AppImage + env: + name: 'release-${{ steps.tag.outputs.tag }}' \ No newline at end of file diff --git a/docs/FAQ.MD b/docs/FAQ.MD index 0a503df..1b34cf3 100644 --- a/docs/FAQ.MD +++ b/docs/FAQ.MD @@ -44,3 +44,23 @@ 10. 如何汇报自己遇到的问题? 如果是界面功能上的奇怪表现,直接描述,并附上操作系统发行版版本,内核版本,桌面系统类型,wine版本,libstdc++版本即可。如果发现运行有问题,可以考虑复制命令行输出,条件允许的情况下,可以打开微信开发者工具菜单中的调试窗口,并截图提交问题 + +11. Downloading XXX failed: TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:" + + 你似乎设置了代理,你需要删除代理 + ```bash + unset http_proxy + unset HTTP_PROXY + unset https_proxy + unset HTTPS_PROXY + unset socket_proxy + unset SOCKET_PROXY + unset all_proxy + unset ALL_PROXY + ``` + +12. 启动后界面空白 + + 请尝试删除缓存`rm -rf ~/.config/wechat_devtools/WeappCache` + + 若无效,请尝试删除全部配置`rm -rf ~/.config/wechat_devtools` \ No newline at end of file diff --git a/tools/fix-other b/tools/fix-other index 31fc431..a578d76 100755 --- a/tools/fix-other +++ b/tools/fix-other @@ -10,8 +10,6 @@ package_dir="$root_dir/package.nw" # 1. 代码依赖分析不可用 # 2. 拓展中的“SERVICE MARKET RECOMMENDS”功能不可用 echo "fix: webview manager" -root_dir=$(cd `dirname $0`/.. && pwd -P) -package_dir="$root_dir/package.nw" sed -i 's#module.exports = createWebviewManager;#module.exports = createWebviewManager,( /** @type {any} */ (window)).createWebviewManager = createWebviewManager;#g' "$package_dir/js/libs/vseditor/webview-resource/main.js" # 修复:可视化用的wcc,wcsc