Skip to content

Commit a8d09d0

Browse files
committed
update: FAQ, 删除无用代码
1 parent 0b68af1 commit a8d09d0

3 files changed

Lines changed: 39 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
push:
1010
tags:
1111
- v*
12-
branches: [ master, appimage ]
12+
branches: [ master ]
1313
pull_request:
1414
branches: [ master ]
1515
# # Allows you to run this workflow manually from the Actions tab
@@ -94,9 +94,26 @@ jobs:
9494
name: 'release-${{ steps.tag.outputs.tag }}'
9595

9696
- name: Create release and upload artifacts
97+
if: startsWith(github.ref, 'refs/heads/')
9798
env:
9899
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99100
run: |
100101
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
101102
chmod +x pyuploadtool-x86_64.AppImage
102-
./pyuploadtool-x86_64.AppImage *.AppImage* *.tar.gz
103+
./pyuploadtool-x86_64.AppImage WeChat*.AppImage *.tar.gz
104+
105+
- name: Release
106+
uses: softprops/action-gh-release@v1
107+
if: startsWith(github.ref, 'refs/tags/')
108+
with:
109+
# note you'll typically need to create a personal access token
110+
# with permissions to create releases in the other repo
111+
name: ${{ steps.tag.outputs.name }}
112+
tag_name: ${{ steps.tag.outputs.tag }}
113+
files: |
114+
${{ env.name }}.tar.gz
115+
compiler.tar.gz
116+
nodegit.tar.gz
117+
*.AppImage
118+
env:
119+
name: 'release-${{ steps.tag.outputs.tag }}'

docs/FAQ.MD

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,23 @@
4444
10. 如何汇报自己遇到的问题?
4545
4646
如果是界面功能上的奇怪表现,直接描述,并附上操作系统发行版版本,内核版本,桌面系统类型,wine版本,libstdc++版本即可。如果发现运行有问题,可以考虑复制命令行输出,条件允许的情况下,可以打开微信开发者工具菜单中的调试窗口,并截图提交问题
47+
48+
11. Downloading XXX failed: TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
49+
50+
你似乎设置了代理,你需要删除代理
51+
```bash
52+
unset http_proxy
53+
unset HTTP_PROXY
54+
unset https_proxy
55+
unset HTTPS_PROXY
56+
unset socket_proxy
57+
unset SOCKET_PROXY
58+
unset all_proxy
59+
unset ALL_PROXY
60+
```
61+
62+
12. 启动后界面空白
63+
64+
请尝试删除缓存`rm -rf ~/.config/wechat_devtools/WeappCache`
65+
66+
若无效,请尝试删除全部配置`rm -rf ~/.config/wechat_devtools`

tools/fix-other

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ package_dir="$root_dir/package.nw"
1010
# 1. 代码依赖分析不可用
1111
# 2. 拓展中的“SERVICE MARKET RECOMMENDS”功能不可用
1212
echo "fix: webview manager"
13-
root_dir=$(cd `dirname $0`/.. && pwd -P)
14-
package_dir="$root_dir/package.nw"
1513
sed -i 's#module.exports = createWebviewManager;#module.exports = createWebviewManager,( /** @type {any} */ (window)).createWebviewManager = createWebviewManager;#g' "$package_dir/js/libs/vseditor/webview-resource/main.js"
1614

1715
# 修复:可视化用的wcc,wcsc

0 commit comments

Comments
 (0)