mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
update: devtools to v1.06.2208010
This commit is contained in:
parent
e10ad2ff9d
commit
7e70819697
@ -1,3 +1,7 @@
|
|||||||
|
# 1.06.2208010-1 / 2022-09-04
|
||||||
|
|
||||||
|
- update: devtools to v1.06.2208010
|
||||||
|
|
||||||
# 1.06.2207210-1 / 2022-09-03
|
# 1.06.2207210-1 / 2022-09-03
|
||||||
|
|
||||||
- update: devtools to v1.06.2207210
|
- update: devtools to v1.06.2207210
|
||||||
|
@ -1 +1 @@
|
|||||||
1.06.2207210,7599cfeeebb57bda7ae5594daf2e0659
|
1.06.2208010,4312c9cd7b7be4a95f7b71d3311b19e4
|
@ -10,7 +10,7 @@
|
|||||||
----
|
----
|
||||||
|
|
||||||
[](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml)
|
[](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml)
|
||||||
[](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)
|
[](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)
|
||||||
[](https://nwjs.io/downloads/)
|
[](https://nwjs.io/downloads/)
|
||||||
[](https://nodejs.org/en/)
|
[](https://nodejs.org/en/)
|
||||||
[](https://aur.archlinux.org/packages/wechat-devtools)
|
[](https://aur.archlinux.org/packages/wechat-devtools)
|
||||||
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
# 进度
|
# 进度
|
||||||
|
|
||||||
当前工具可以在Linux上构筑最新版 `1.06.2207210`,支持CLI模式。
|
当前工具可以在Linux上构筑最新版 `1.06.2208010`,支持CLI模式。
|
||||||
另现在已经可以直接在设置界面里面修改字体,手工输入字体名称就可以。
|
另现在已经可以直接在设置界面里面修改字体,手工输入字体名称就可以。
|
||||||
|
|
||||||
# 功能测试记录
|
# 功能测试记录
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# https://github.com/dragonation/wechat-devtools
|
# https://github.com/dragonation/wechat-devtools
|
||||||
# https://github.com/cytle/wechat_web_devtools
|
# https://github.com/cytle/wechat_web_devtools
|
||||||
|
|
||||||
_wechat_devtools_ver="1.05.2203070"
|
_wechat_devtools_ver="1.06.2208010"
|
||||||
# https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=1052203030&version_type=1
|
# https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=1052203030&version_type=1
|
||||||
_wechat_devtools_url="https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=${_wechat_devtools_ver//\./}&version_type=1"
|
_wechat_devtools_url="https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=${_wechat_devtools_ver//\./}&version_type=1"
|
||||||
# _wechat_devtools_url="https://dldir1.qq.com/WechatWebDev/release/p-ae42ee2cde4d42ee80ac60b35f183a99/wechat_devtools_1.05.2201240_x64.exe"
|
# _wechat_devtools_url="https://dldir1.qq.com/WechatWebDev/release/p-ae42ee2cde4d42ee80ac60b35f183a99/wechat_devtools_1.05.2201240_x64.exe"
|
||||||
@ -20,7 +20,7 @@ _node_version="16.4.2"
|
|||||||
|
|
||||||
pkgname=wechat-devtools
|
pkgname=wechat-devtools
|
||||||
pkgver="${_wechat_devtools_ver}" # 主版本号
|
pkgver="${_wechat_devtools_ver}" # 主版本号
|
||||||
pkgrel=8 # 修订版本号release
|
pkgrel=1 # 修订版本号release
|
||||||
epoch=2 # 大版本迭代强制更新(维护者变更,尽量不用)
|
epoch=2 # 大版本迭代强制更新(维护者变更,尽量不用)
|
||||||
pkgdesc="WeChat Devtools For Linux. "
|
pkgdesc="WeChat Devtools For Linux. "
|
||||||
arch=("x86_64")
|
arch=("x86_64")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: wechat-devtools # you probably want to 'snapcraft register <name>'
|
name: wechat-devtools # you probably want to 'snapcraft register <name>'
|
||||||
base: core18 # the base snap is the execution environment for this snap
|
base: core18 # the base snap is the execution environment for this snap
|
||||||
version: '1.06.2207210-1' # just for humans, typically '1.2+git' or '1.3.2'
|
version: '1.06.2208010-1' # just for humans, typically '1.2+git' or '1.3.2'
|
||||||
summary: WeChat Devtools for Linux # 79 char long summary
|
summary: WeChat Devtools for Linux # 79 char long summary
|
||||||
description: |
|
description: |
|
||||||
WeChat Devtools for Linux.
|
WeChat Devtools for Linux.
|
||||||
@ -32,7 +32,7 @@ parts:
|
|||||||
ls -l $SNAPCRAFT_PART_INSTALL
|
ls -l $SNAPCRAFT_PART_INSTALL
|
||||||
package-nw:
|
package-nw:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
source: https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=1062207210&version_type=1
|
source: https://servicewechat.com/wxa-dev-logic/download_redirect?type=x64&from=mpwiki&download_version=1062208010&version_type=1
|
||||||
# source: cache/wechat_devtools_1.05.2204180_x64.exe
|
# source: cache/wechat_devtools_1.05.2204180_x64.exe
|
||||||
source-type: 7z
|
source-type: 7z
|
||||||
source-subdir: code
|
source-subdir: code
|
||||||
|
@ -62,42 +62,13 @@ const fetching = function () {
|
|||||||
result += data;
|
result += data;
|
||||||
});
|
});
|
||||||
res.on("end", () => {
|
res.on("end", () => {
|
||||||
let links = {};
|
const linkM = result.match(/href="(https[^"]*?type=win32_x64.*?)"/)
|
||||||
result
|
if (!linkM) {
|
||||||
.toString("utf8")
|
|
||||||
.split('<div class="page-inner"')[1]
|
|
||||||
.split('<a href="')
|
|
||||||
.slice(1)
|
|
||||||
.map((a) => {
|
|
||||||
return a.split("</a>")[0];
|
|
||||||
})
|
|
||||||
.filter((link) => link[0] != "#")
|
|
||||||
.forEach((link) => {
|
|
||||||
let content = link
|
|
||||||
.split(">")
|
|
||||||
.slice(1)
|
|
||||||
.join(">")
|
|
||||||
.replace(/<([^>]*)>/g, "")
|
|
||||||
.replace(/\s+/g, "-")
|
|
||||||
.toLowerCase();
|
|
||||||
if (
|
|
||||||
content === "windows-64" ||
|
|
||||||
content === "windows-32" ||
|
|
||||||
content === "macos"
|
|
||||||
) {
|
|
||||||
if (!links[content]) {
|
|
||||||
links[content] = [];
|
|
||||||
}
|
|
||||||
let url = link.split('"')[0];
|
|
||||||
links[content].push(url);
|
|
||||||
info(`Found ${content} link: ${url}`);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if (!links["windows-64"][0]) {
|
|
||||||
console.error("No windows-64 dist found");
|
console.error("No windows-64 dist found");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
resolve(links["windows-64"][0]);
|
const link = linkM[1]
|
||||||
|
resolve(link);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.on("error", reject);
|
.on("error", reject);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user