update: FAQ, 删除无用代码

This commit is contained in:
msojocs 2022-02-16 12:46:34 +08:00
parent 0b68af1b01
commit a8d09d0509
3 changed files with 39 additions and 4 deletions

View File

@ -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 }}'

View File

@ -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`

View File

@ -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