pake-cli 1.2.4 → 1.2.7-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -30
- package/dist/cli.js +16 -16
- package/package.json +2 -2
- package/src-tauri/Cargo.lock +123 -143
- package/src-tauri/Cargo.toml +5 -5
- package/src-tauri/icons/chatgpt.icns +0 -0
- package/src-tauri/src/main.rs +4 -5
- package/src-tauri/src/pake.js +8 -6
package/README.md
CHANGED
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
<td>WeRead
|
|
34
34
|
<a href="https://github.com/tw93/Pake/releases/latest/download/WeRead.dmg">Mac</a>
|
|
35
35
|
<a href="https://github.com/tw93/Pake/releases/latest/download/WeRead_x64.msi">Windows</a>
|
|
36
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
36
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/WeRead_x86_64.deb">Linux</a>
|
|
37
37
|
</td>
|
|
38
38
|
<td>Twitter
|
|
39
39
|
<a href="https://github.com/tw93/Pake/releases/latest/download/Twitter.dmg">Mac</a>
|
|
40
40
|
<a href="https://github.com/tw93/Pake/releases/latest/download/Twitter_x64.msi">Windows</a>
|
|
41
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
41
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Twitter_x86_64.deb">Linux</a>
|
|
42
42
|
</td>
|
|
43
43
|
</tr>
|
|
44
44
|
<tr>
|
|
@@ -49,59 +49,59 @@
|
|
|
49
49
|
<td>LiZhi
|
|
50
50
|
<a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi.dmg">Mac</a>
|
|
51
51
|
<a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi_x64.msi">Windows</a>
|
|
52
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
52
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/LiZhi_x86_64.deb">Linux</a>
|
|
53
53
|
</td>
|
|
54
|
-
|
|
55
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
56
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
57
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
54
|
+
<td>ChatGPT
|
|
55
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT.dmg">Mac</a>
|
|
56
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x64.msi">Windows</a>
|
|
57
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/ChatGPT_x86_64.deb">Linux</a>
|
|
58
58
|
</td>
|
|
59
59
|
</tr>
|
|
60
60
|
<tr>
|
|
61
61
|
<td><img src=https://cdn.fliggy.com/upic/DX3dfG.png width=600/></td>
|
|
62
|
-
<td><img src=https://cdn.fliggy.com/upic/
|
|
62
|
+
<td><img src=https://cdn.fliggy.com/upic/iKGVZy.png width=600/></td>
|
|
63
63
|
</tr>
|
|
64
64
|
<tr>
|
|
65
|
-
|
|
66
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
67
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
68
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
65
|
+
<td>YouTube
|
|
66
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube.dmg">Mac</a>
|
|
67
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube_x64.msi">Windows</a>
|
|
68
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/YouTube_x86_64.deb">Linux</a>
|
|
69
69
|
</td>
|
|
70
70
|
<td>Reference
|
|
71
71
|
<a href="https://github.com/tw93/Pake/releases/latest/download/Reference.dmg">Mac</a>
|
|
72
72
|
<a href="https://github.com/tw93/Pake/releases/latest/download/Reference_x64.msi">Windows</a>
|
|
73
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
73
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Reference_x86_64.deb">Linux</a>
|
|
74
74
|
</td>
|
|
75
75
|
</tr>
|
|
76
76
|
<tr>
|
|
77
|
-
<td><img src=https://cdn.fliggy.com/upic/
|
|
77
|
+
<td><img src=https://cdn.fliggy.com/upic/Ea5ZRw.png width=600/></td>
|
|
78
78
|
<td><img src=https://cdn.fliggy.com/upic/KFsZIY.png width=600/></td>
|
|
79
79
|
</tr>
|
|
80
80
|
<tr>
|
|
81
|
-
<td>
|
|
82
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
83
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
84
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
81
|
+
<td>Flomo
|
|
82
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Flomo.dmg">Mac</a>
|
|
83
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x64.msi">Windows</a>
|
|
84
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Flomo_x86_64.deb">Linux</a>
|
|
85
85
|
</td>
|
|
86
|
-
<td>
|
|
87
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
88
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
89
|
-
<a href="https://github.com/tw93/Pake/releases/latest/download/
|
|
86
|
+
<td>Qwerty
|
|
87
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty.dmg">Mac</a>
|
|
88
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x64.msi">Windows</a>
|
|
89
|
+
<a href="https://github.com/tw93/Pake/releases/latest/download/Qwerty_x86_64.deb">Linux</a>
|
|
90
90
|
</td>
|
|
91
91
|
</tr>
|
|
92
92
|
<tr>
|
|
93
|
-
<td><img src=https://
|
|
94
|
-
<td><img src=https://cdn.fliggy.com/upic/
|
|
93
|
+
<td><img src=https://gw.alipayobjects.com/zos/k/30/RoUSUf.png width=600/></td>
|
|
94
|
+
<td><img src=https://cdn.fliggy.com/upic/CJjagn.jpg width=600/></td>
|
|
95
95
|
</tr>
|
|
96
96
|
</table>
|
|
97
97
|
|
|
98
98
|
<details>
|
|
99
|
-
<summary>🏂 You can download more applications (such as
|
|
99
|
+
<summary>🏂 You can download more applications (such as YuQue / RunCode) from <a href="https://github.com/tw93/Pake/releases">Releases</a>. <b>Click here to expand the shortcuts reference!</b></summary>
|
|
100
100
|
|
|
101
101
|
<br/>
|
|
102
102
|
|
|
103
103
|
| Mac | Windows/Linux | Function |
|
|
104
|
-
|
|
104
|
+
|-----------------------------|--------------------------------|-------------------------------|
|
|
105
105
|
| <kbd>⌘</kbd> + <kbd>[</kbd> | <kbd>Ctrl</kbd> + <kbd>←</kbd> | Return to the previous page |
|
|
106
106
|
| <kbd>⌘</kbd> + <kbd>]</kbd> | <kbd>Ctrl</kbd> + <kbd>→</kbd> | Go to the next page |
|
|
107
107
|
| <kbd>⌘</kbd> + <kbd>↑</kbd> | <kbd>Ctrl</kbd> + <kbd>↑</kbd> | Auto scroll to top of page |
|
|
@@ -165,7 +165,7 @@ npm run build
|
|
|
165
165
|
## Advanced Usage
|
|
166
166
|
|
|
167
167
|
1. You can refer to the [codebase structure](https://github.com/tw93/Pake/wiki/Description-of-Pake's-code-structure) before working on Pake, which will help you much in development.
|
|
168
|
-
2.
|
|
168
|
+
2. Modify the `url` and `productName` fields in the `tauri.conf.json` file under the src-tauri directory, as well as the `icon` and `identifier` fields in the `tauri.xxx.conf.json` file. You can select a `icon` from the `icons` directory or download one from [macOSicons](https://macosicons.com/#/) to match your product needs.
|
|
169
169
|
3. For configurations on window properties, you can modify the `tauri.conf.json` file to change the value of `width`, `height`, `fullscreen` (or not), `resizable` (or not) of the `windows` property. To adapt to the immersive header on Mac, change `transparent` to `true`, look for the `Header` element, and add the `padding-top` property.
|
|
170
170
|
4. For advanced usages such as style rewriting, advertisement removal, JS injection, container message communication, and user-defined shortcut keys, see [Advanced Usage of Make](https://github.com/tw93/Pake/wiki/Advanced-Usage-of-Make).
|
|
171
171
|
|
|
@@ -240,6 +240,13 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
240
240
|
<sub><b>Steam</b></sub>
|
|
241
241
|
</a>
|
|
242
242
|
</td>
|
|
243
|
+
<td align="center">
|
|
244
|
+
<a href="https://github.com/exposir">
|
|
245
|
+
<img src="https://avatars.githubusercontent.com/u/33340988?v=4" width="90;" alt="exposir"/>
|
|
246
|
+
<br />
|
|
247
|
+
<sub><b>孟世博</b></sub>
|
|
248
|
+
</a>
|
|
249
|
+
</td>
|
|
243
250
|
<td align="center">
|
|
244
251
|
<a href="https://github.com/2nthony">
|
|
245
252
|
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/>
|
|
@@ -247,6 +254,13 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
247
254
|
<sub><b>2nthony</b></sub>
|
|
248
255
|
</a>
|
|
249
256
|
</td>
|
|
257
|
+
<td align="center">
|
|
258
|
+
<a href="https://github.com/ACGNnsj">
|
|
259
|
+
<img src="https://avatars.githubusercontent.com/u/22112141?v=4" width="90;" alt="ACGNnsj"/>
|
|
260
|
+
<br />
|
|
261
|
+
<sub><b>Null</b></sub>
|
|
262
|
+
</a>
|
|
263
|
+
</td>
|
|
250
264
|
<td align="center">
|
|
251
265
|
<a href="https://github.com/nekomeowww">
|
|
252
266
|
<img src="https://avatars.githubusercontent.com/u/11081491?v=4" width="90;" alt="nekomeowww"/>
|
|
@@ -260,7 +274,8 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
260
274
|
<br />
|
|
261
275
|
<sub><b>Dengju Deng</b></sub>
|
|
262
276
|
</a>
|
|
263
|
-
</td>
|
|
277
|
+
</td></tr>
|
|
278
|
+
<tr>
|
|
264
279
|
<td align="center">
|
|
265
280
|
<a href="https://github.com/Fechin">
|
|
266
281
|
<img src="https://avatars.githubusercontent.com/u/2541482?v=4" width="90;" alt="Fechin"/>
|
|
@@ -274,8 +289,7 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
274
289
|
<br />
|
|
275
290
|
<sub><b>Po Chen</b></sub>
|
|
276
291
|
</a>
|
|
277
|
-
</td
|
|
278
|
-
<tr>
|
|
292
|
+
</td>
|
|
279
293
|
<td align="center">
|
|
280
294
|
<a href="https://github.com/houhoz">
|
|
281
295
|
<img src="https://avatars.githubusercontent.com/u/19684376?v=4" width="90;" alt="houhoz"/>
|
package/dist/cli.js
CHANGED
|
@@ -1552,7 +1552,7 @@ function getDomain(inputUrl) {
|
|
|
1552
1552
|
if (i === 0 || // 'asia.com' (last remaining must be the SLD)
|
|
1553
1553
|
i < ln - 2 || // TLDs only span 2 levels
|
|
1554
1554
|
part.length < minLength || // 'www.cn.com' (valid TLD as second-level domain)
|
|
1555
|
-
tlds.indexOf(part) < 0 //
|
|
1555
|
+
tlds.indexOf(part) < 0 // officially not a TLD
|
|
1556
1556
|
) {
|
|
1557
1557
|
return part;
|
|
1558
1558
|
}
|
|
@@ -1572,14 +1572,14 @@ function normalizeUrl(urlToNormalize) {
|
|
|
1572
1572
|
return urlWithProtocol;
|
|
1573
1573
|
}
|
|
1574
1574
|
else {
|
|
1575
|
-
throw new Error(`
|
|
1575
|
+
throw new Error(`The URL "${urlWithProtocol}" you provided is invalid.`);
|
|
1576
1576
|
}
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
1579
|
function validateNumberInput(value) {
|
|
1580
1580
|
const parsedValue = Number(value);
|
|
1581
1581
|
if (isNaN(parsedValue)) {
|
|
1582
|
-
throw new Commander.InvalidArgumentError('
|
|
1582
|
+
throw new Commander.InvalidArgumentError('The input cannot be a number.');
|
|
1583
1583
|
}
|
|
1584
1584
|
return parsedValue;
|
|
1585
1585
|
}
|
|
@@ -1742,7 +1742,7 @@ function handleIcon(options, url) {
|
|
|
1742
1742
|
}
|
|
1743
1743
|
function getDefaultIcon() {
|
|
1744
1744
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1745
|
-
logger.info('You
|
|
1745
|
+
logger.info('You haven\'t provided an app icon, so the default icon will be used. To assign a custom icon, please use the --icon option.');
|
|
1746
1746
|
let iconPath = 'src-tauri/icons/icon.icns';
|
|
1747
1747
|
if (IS_WIN) {
|
|
1748
1748
|
iconPath = 'src-tauri/png/icon_256.ico';
|
|
@@ -1786,7 +1786,7 @@ function handleOptions(options, url) {
|
|
|
1786
1786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1787
1787
|
const appOptions = Object.assign(Object.assign({}, options), { identifier: '' });
|
|
1788
1788
|
if (!appOptions.name) {
|
|
1789
|
-
appOptions.name = yield promptText('
|
|
1789
|
+
appOptions.name = yield promptText('Please enter the name of your application.', getDomain(url));
|
|
1790
1790
|
}
|
|
1791
1791
|
appOptions.identifier = getIdentifier(appOptions.name, url);
|
|
1792
1792
|
appOptions.icon = yield handleIcon(appOptions);
|
|
@@ -1817,7 +1817,7 @@ function installRust() {
|
|
|
1817
1817
|
spinner.succeed();
|
|
1818
1818
|
}
|
|
1819
1819
|
catch (error) {
|
|
1820
|
-
console.error('
|
|
1820
|
+
console.error('Error codes that occur during the Rust installation process.', error.message);
|
|
1821
1821
|
spinner.fail();
|
|
1822
1822
|
process.exit(1);
|
|
1823
1823
|
}
|
|
@@ -2019,11 +2019,11 @@ class MacBuilder {
|
|
|
2019
2019
|
yield mergeTauriConfig(url, options, tauriConf);
|
|
2020
2020
|
let dmgName;
|
|
2021
2021
|
if (options.multiArch) {
|
|
2022
|
-
yield shellExec(`cd ${npmDirectory} && npm install && npm run build:mac`);
|
|
2022
|
+
yield shellExec(`cd "${npmDirectory}" && npm install && npm run build:mac`);
|
|
2023
2023
|
dmgName = `${name}_${tauriConf.package.version}_universal.dmg`;
|
|
2024
2024
|
}
|
|
2025
2025
|
else {
|
|
2026
|
-
yield shellExec(`cd ${npmDirectory} && npm install && npm run build`);
|
|
2026
|
+
yield shellExec(`cd "${npmDirectory}" && npm install && npm run build`);
|
|
2027
2027
|
let arch = "x64";
|
|
2028
2028
|
if (process.arch === "arm64") {
|
|
2029
2029
|
arch = "aarch64";
|
|
@@ -2081,7 +2081,7 @@ class WinBuilder {
|
|
|
2081
2081
|
logger.debug('PakeAppOptions', options);
|
|
2082
2082
|
const { name } = options;
|
|
2083
2083
|
yield mergeTauriConfig(url, options, tauriConf);
|
|
2084
|
-
yield shellExec(`cd ${npmDirectory} && npm install && npm run build`);
|
|
2084
|
+
yield shellExec(`cd "${npmDirectory}" && npm install && npm run build`);
|
|
2085
2085
|
const language = tauriConf.tauri.bundle.windows.wix.language[0];
|
|
2086
2086
|
const arch = process.arch;
|
|
2087
2087
|
const msiName = `${name}_${tauriConf.package.version}_${arch}_${language}.msi`;
|
|
@@ -2126,7 +2126,7 @@ class LinuxBuilder {
|
|
|
2126
2126
|
logger.debug('PakeAppOptions', options);
|
|
2127
2127
|
const { name } = options;
|
|
2128
2128
|
yield mergeTauriConfig(url, options, tauriConf);
|
|
2129
|
-
yield shellExec(`cd ${npmDirectory} && npm install && npm run build`);
|
|
2129
|
+
yield shellExec(`cd "${npmDirectory}" && npm install && npm run build`);
|
|
2130
2130
|
let arch;
|
|
2131
2131
|
if (process.arch === "x64") {
|
|
2132
2132
|
arch = "amd64";
|
|
@@ -2170,7 +2170,7 @@ class BuilderFactory {
|
|
|
2170
2170
|
}
|
|
2171
2171
|
|
|
2172
2172
|
var name = "pake-cli";
|
|
2173
|
-
var version = "1.2.
|
|
2173
|
+
var version = "1.2.7-beta";
|
|
2174
2174
|
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
|
|
2175
2175
|
var engines = {
|
|
2176
2176
|
node: ">=16.0.0"
|
|
@@ -2217,7 +2217,7 @@ var exports = "./dist/pake.js";
|
|
|
2217
2217
|
var license = "MIT";
|
|
2218
2218
|
var dependencies = {
|
|
2219
2219
|
"@tauri-apps/api": "^1.2.0",
|
|
2220
|
-
"@tauri-apps/cli": "^1.2.
|
|
2220
|
+
"@tauri-apps/cli": "^1.2.3",
|
|
2221
2221
|
axios: "^1.1.3",
|
|
2222
2222
|
chalk: "^5.1.2",
|
|
2223
2223
|
commander: "^9.4.1",
|
|
@@ -2273,19 +2273,19 @@ function checkUpdateTips() {
|
|
|
2273
2273
|
});
|
|
2274
2274
|
}
|
|
2275
2275
|
|
|
2276
|
-
program.version(packageJson.version).description('A
|
|
2276
|
+
program.version(packageJson.version).description('A command-line tool that can quickly convert a webpage into a desktop application.');
|
|
2277
2277
|
program
|
|
2278
2278
|
.showHelpAfterError()
|
|
2279
|
-
.argument('[url]', 'the web
|
|
2279
|
+
.argument('[url]', 'the web URL you want to package', validateUrlInput)
|
|
2280
2280
|
.option('-n, --name <string>', 'application name')
|
|
2281
2281
|
.option('-i, --icon <string>', 'application icon', DEFAULT_PAKE_OPTIONS.icon)
|
|
2282
2282
|
.option('-w, --width <number>', 'window width', validateNumberInput, DEFAULT_PAKE_OPTIONS.width)
|
|
2283
2283
|
.option('-h, --height <number>', 'window height', validateNumberInput, DEFAULT_PAKE_OPTIONS.height)
|
|
2284
|
-
.option('-f, --fullscreen', '
|
|
2284
|
+
.option('-f, --fullscreen', 'start in full screen mode', DEFAULT_PAKE_OPTIONS.fullscreen)
|
|
2285
2285
|
.option('-t, --transparent', 'transparent title bar', DEFAULT_PAKE_OPTIONS.transparent)
|
|
2286
2286
|
.option('-r, --no-resizable', 'whether the window can be resizable', DEFAULT_PAKE_OPTIONS.resizable)
|
|
2287
2287
|
.option('-d, --debug', 'debug', DEFAULT_PAKE_OPTIONS.debug)
|
|
2288
|
-
.option('-m, --multi-arch', "
|
|
2288
|
+
.option('-m, --multi-arch', "available for Mac only, and supports both Intel and M1", DEFAULT_PAKE_OPTIONS.multiArch)
|
|
2289
2289
|
.action((url, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2290
2290
|
yield checkUpdateTips();
|
|
2291
2291
|
if (!url) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pake-cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7-beta",
|
|
4
4
|
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"license": "MIT",
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@tauri-apps/api": "^1.2.0",
|
|
50
|
-
"@tauri-apps/cli": "^1.2.
|
|
50
|
+
"@tauri-apps/cli": "^1.2.3",
|
|
51
51
|
"axios": "^1.1.3",
|
|
52
52
|
"chalk": "^5.1.2",
|
|
53
53
|
"commander": "^9.4.1",
|
package/src-tauri/Cargo.lock
CHANGED
|
@@ -130,9 +130,9 @@ dependencies = [
|
|
|
130
130
|
|
|
131
131
|
[[package]]
|
|
132
132
|
name = "brotli-decompressor"
|
|
133
|
-
version = "2.3.
|
|
133
|
+
version = "2.3.4"
|
|
134
134
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
135
|
-
checksum = "
|
|
135
|
+
checksum = "4b6561fd3f895a11e8f72af2cb7d22e08366bebc2b6b57f7744c4bda27034744"
|
|
136
136
|
dependencies = [
|
|
137
137
|
"alloc-no-stdlib",
|
|
138
138
|
"alloc-stdlib",
|
|
@@ -140,25 +140,24 @@ dependencies = [
|
|
|
140
140
|
|
|
141
141
|
[[package]]
|
|
142
142
|
name = "bstr"
|
|
143
|
-
version = "
|
|
143
|
+
version = "0.2.17"
|
|
144
144
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
145
|
-
checksum = "
|
|
145
|
+
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
|
|
146
146
|
dependencies = [
|
|
147
147
|
"memchr",
|
|
148
|
-
"serde",
|
|
149
148
|
]
|
|
150
149
|
|
|
151
150
|
[[package]]
|
|
152
151
|
name = "bumpalo"
|
|
153
|
-
version = "3.
|
|
152
|
+
version = "3.12.0"
|
|
154
153
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
-
checksum = "
|
|
154
|
+
checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
|
|
156
155
|
|
|
157
156
|
[[package]]
|
|
158
157
|
name = "bytemuck"
|
|
159
|
-
version = "1.
|
|
158
|
+
version = "1.13.0"
|
|
160
159
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
-
checksum = "
|
|
160
|
+
checksum = "c041d3eab048880cb0b86b256447da3f18859a163c3b8d8893f4e6368abe6393"
|
|
162
161
|
|
|
163
162
|
[[package]]
|
|
164
163
|
name = "byteorder"
|
|
@@ -168,9 +167,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
|
|
|
168
167
|
|
|
169
168
|
[[package]]
|
|
170
169
|
name = "bytes"
|
|
171
|
-
version = "1.
|
|
170
|
+
version = "1.4.0"
|
|
172
171
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
-
checksum = "
|
|
172
|
+
checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be"
|
|
174
173
|
|
|
175
174
|
[[package]]
|
|
176
175
|
name = "cairo-rs"
|
|
@@ -208,9 +207,9 @@ dependencies = [
|
|
|
208
207
|
|
|
209
208
|
[[package]]
|
|
210
209
|
name = "cc"
|
|
211
|
-
version = "1.0.
|
|
210
|
+
version = "1.0.79"
|
|
212
211
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
-
checksum = "
|
|
212
|
+
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
|
214
213
|
|
|
215
214
|
[[package]]
|
|
216
215
|
name = "cesu8"
|
|
@@ -594,9 +593,9 @@ checksum = "0bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c"
|
|
|
594
593
|
|
|
595
594
|
[[package]]
|
|
596
595
|
name = "either"
|
|
597
|
-
version = "1.8.
|
|
596
|
+
version = "1.8.1"
|
|
598
597
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
599
|
-
checksum = "
|
|
598
|
+
checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
|
|
600
599
|
|
|
601
600
|
[[package]]
|
|
602
601
|
name = "embed_plist"
|
|
@@ -724,24 +723,24 @@ dependencies = [
|
|
|
724
723
|
|
|
725
724
|
[[package]]
|
|
726
725
|
name = "futures-channel"
|
|
727
|
-
version = "0.3.
|
|
726
|
+
version = "0.3.26"
|
|
728
727
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
729
|
-
checksum = "
|
|
728
|
+
checksum = "2e5317663a9089767a1ec00a487df42e0ca174b61b4483213ac24448e4664df5"
|
|
730
729
|
dependencies = [
|
|
731
730
|
"futures-core",
|
|
732
731
|
]
|
|
733
732
|
|
|
734
733
|
[[package]]
|
|
735
734
|
name = "futures-core"
|
|
736
|
-
version = "0.3.
|
|
735
|
+
version = "0.3.26"
|
|
737
736
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
738
|
-
checksum = "
|
|
737
|
+
checksum = "ec90ff4d0fe1f57d600049061dc6bb68ed03c7d2fbd697274c41805dcb3f8608"
|
|
739
738
|
|
|
740
739
|
[[package]]
|
|
741
740
|
name = "futures-executor"
|
|
742
|
-
version = "0.3.
|
|
741
|
+
version = "0.3.26"
|
|
743
742
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
744
|
-
checksum = "
|
|
743
|
+
checksum = "e8de0a35a6ab97ec8869e32a2473f4b1324459e14c29275d14b10cb1fd19b50e"
|
|
745
744
|
dependencies = [
|
|
746
745
|
"futures-core",
|
|
747
746
|
"futures-task",
|
|
@@ -750,15 +749,15 @@ dependencies = [
|
|
|
750
749
|
|
|
751
750
|
[[package]]
|
|
752
751
|
name = "futures-io"
|
|
753
|
-
version = "0.3.
|
|
752
|
+
version = "0.3.26"
|
|
754
753
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
755
|
-
checksum = "
|
|
754
|
+
checksum = "bfb8371b6fb2aeb2d280374607aeabfc99d95c72edfe51692e42d3d7f0d08531"
|
|
756
755
|
|
|
757
756
|
[[package]]
|
|
758
757
|
name = "futures-macro"
|
|
759
|
-
version = "0.3.
|
|
758
|
+
version = "0.3.26"
|
|
760
759
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
761
|
-
checksum = "
|
|
760
|
+
checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70"
|
|
762
761
|
dependencies = [
|
|
763
762
|
"proc-macro2",
|
|
764
763
|
"quote",
|
|
@@ -767,21 +766,21 @@ dependencies = [
|
|
|
767
766
|
|
|
768
767
|
[[package]]
|
|
769
768
|
name = "futures-sink"
|
|
770
|
-
version = "0.3.
|
|
769
|
+
version = "0.3.26"
|
|
771
770
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
772
|
-
checksum = "
|
|
771
|
+
checksum = "f310820bb3e8cfd46c80db4d7fb8353e15dfff853a127158425f31e0be6c8364"
|
|
773
772
|
|
|
774
773
|
[[package]]
|
|
775
774
|
name = "futures-task"
|
|
776
|
-
version = "0.3.
|
|
775
|
+
version = "0.3.26"
|
|
777
776
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
778
|
-
checksum = "
|
|
777
|
+
checksum = "dcf79a1bf610b10f42aea489289c5a2c478a786509693b80cd39c44ccd936366"
|
|
779
778
|
|
|
780
779
|
[[package]]
|
|
781
780
|
name = "futures-util"
|
|
782
|
-
version = "0.3.
|
|
781
|
+
version = "0.3.26"
|
|
783
782
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
784
|
-
checksum = "
|
|
783
|
+
checksum = "9c1d6de3acfef38d2be4b1f543f553131788603495be83da675e180c8d6b7bd1"
|
|
785
784
|
dependencies = [
|
|
786
785
|
"futures-core",
|
|
787
786
|
"futures-macro",
|
|
@@ -882,7 +881,7 @@ dependencies = [
|
|
|
882
881
|
"libc",
|
|
883
882
|
"log",
|
|
884
883
|
"rustversion",
|
|
885
|
-
"windows
|
|
884
|
+
"windows",
|
|
886
885
|
]
|
|
887
886
|
|
|
888
887
|
[[package]]
|
|
@@ -1012,9 +1011,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
|
|
1012
1011
|
|
|
1013
1012
|
[[package]]
|
|
1014
1013
|
name = "globset"
|
|
1015
|
-
version = "0.4.
|
|
1014
|
+
version = "0.4.9"
|
|
1016
1015
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1017
|
-
checksum = "
|
|
1016
|
+
checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a"
|
|
1018
1017
|
dependencies = [
|
|
1019
1018
|
"aho-corasick",
|
|
1020
1019
|
"bstr",
|
|
@@ -1091,9 +1090,9 @@ dependencies = [
|
|
|
1091
1090
|
|
|
1092
1091
|
[[package]]
|
|
1093
1092
|
name = "half"
|
|
1094
|
-
version = "2.2.
|
|
1093
|
+
version = "2.2.1"
|
|
1095
1094
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1096
|
-
checksum = "
|
|
1095
|
+
checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0"
|
|
1097
1096
|
dependencies = [
|
|
1098
1097
|
"crunchy",
|
|
1099
1098
|
]
|
|
@@ -1196,10 +1195,11 @@ dependencies = [
|
|
|
1196
1195
|
|
|
1197
1196
|
[[package]]
|
|
1198
1197
|
name = "ignore"
|
|
1199
|
-
version = "0.4.
|
|
1198
|
+
version = "0.4.18"
|
|
1200
1199
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1201
|
-
checksum = "
|
|
1200
|
+
checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d"
|
|
1202
1201
|
dependencies = [
|
|
1202
|
+
"crossbeam-utils",
|
|
1203
1203
|
"globset",
|
|
1204
1204
|
"lazy_static",
|
|
1205
1205
|
"log",
|
|
@@ -1455,9 +1455,9 @@ dependencies = [
|
|
|
1455
1455
|
|
|
1456
1456
|
[[package]]
|
|
1457
1457
|
name = "matches"
|
|
1458
|
-
version = "0.1.
|
|
1458
|
+
version = "0.1.10"
|
|
1459
1459
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1460
|
-
checksum = "
|
|
1460
|
+
checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
|
|
1461
1461
|
|
|
1462
1462
|
[[package]]
|
|
1463
1463
|
name = "memchr"
|
|
@@ -1593,18 +1593,18 @@ dependencies = [
|
|
|
1593
1593
|
|
|
1594
1594
|
[[package]]
|
|
1595
1595
|
name = "num_enum"
|
|
1596
|
-
version = "0.5.
|
|
1596
|
+
version = "0.5.9"
|
|
1597
1597
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1598
|
-
checksum = "
|
|
1598
|
+
checksum = "8d829733185c1ca374f17e52b762f24f535ec625d2cc1f070e34c8a9068f341b"
|
|
1599
1599
|
dependencies = [
|
|
1600
1600
|
"num_enum_derive",
|
|
1601
1601
|
]
|
|
1602
1602
|
|
|
1603
1603
|
[[package]]
|
|
1604
1604
|
name = "num_enum_derive"
|
|
1605
|
-
version = "0.5.
|
|
1605
|
+
version = "0.5.9"
|
|
1606
1606
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1607
|
-
checksum = "
|
|
1607
|
+
checksum = "2be1598bf1c313dcdd12092e3f1920f463462525a21b7b4e11b4168353d0123e"
|
|
1608
1608
|
dependencies = [
|
|
1609
1609
|
"proc-macro-crate",
|
|
1610
1610
|
"proc-macro2",
|
|
@@ -1612,6 +1612,15 @@ dependencies = [
|
|
|
1612
1612
|
"syn",
|
|
1613
1613
|
]
|
|
1614
1614
|
|
|
1615
|
+
[[package]]
|
|
1616
|
+
name = "num_threads"
|
|
1617
|
+
version = "0.1.6"
|
|
1618
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1619
|
+
checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44"
|
|
1620
|
+
dependencies = [
|
|
1621
|
+
"libc",
|
|
1622
|
+
]
|
|
1623
|
+
|
|
1615
1624
|
[[package]]
|
|
1616
1625
|
name = "objc"
|
|
1617
1626
|
version = "0.2.7"
|
|
@@ -1689,9 +1698,9 @@ dependencies = [
|
|
|
1689
1698
|
|
|
1690
1699
|
[[package]]
|
|
1691
1700
|
name = "parking_lot_core"
|
|
1692
|
-
version = "0.9.
|
|
1701
|
+
version = "0.9.6"
|
|
1693
1702
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1694
|
-
checksum = "
|
|
1703
|
+
checksum = "ba1ef8814b5c993410bb3adfad7a5ed269563e4a2f90c41f5d85be7fb47133bf"
|
|
1695
1704
|
dependencies = [
|
|
1696
1705
|
"cfg-if",
|
|
1697
1706
|
"libc",
|
|
@@ -1714,9 +1723,9 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
|
|
|
1714
1723
|
|
|
1715
1724
|
[[package]]
|
|
1716
1725
|
name = "pest"
|
|
1717
|
-
version = "2.5.
|
|
1726
|
+
version = "2.5.4"
|
|
1718
1727
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1719
|
-
checksum = "
|
|
1728
|
+
checksum = "4ab62d2fa33726dbe6321cc97ef96d8cde531e3eeaf858a058de53a8a6d40d8f"
|
|
1720
1729
|
dependencies = [
|
|
1721
1730
|
"thiserror",
|
|
1722
1731
|
"ucd-trie",
|
|
@@ -1860,16 +1869,16 @@ checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
|
|
|
1860
1869
|
|
|
1861
1870
|
[[package]]
|
|
1862
1871
|
name = "plist"
|
|
1863
|
-
version = "1.
|
|
1872
|
+
version = "1.4.0"
|
|
1864
1873
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1865
|
-
checksum = "
|
|
1874
|
+
checksum = "5329b8f106a176ab0dce4aae5da86bfcb139bb74fb00882859e03745011f3635"
|
|
1866
1875
|
dependencies = [
|
|
1867
1876
|
"base64",
|
|
1868
1877
|
"indexmap",
|
|
1869
1878
|
"line-wrap",
|
|
1879
|
+
"quick-xml",
|
|
1870
1880
|
"serde",
|
|
1871
1881
|
"time",
|
|
1872
|
-
"xml-rs",
|
|
1873
1882
|
]
|
|
1874
1883
|
|
|
1875
1884
|
[[package]]
|
|
@@ -1939,13 +1948,22 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
|
|
|
1939
1948
|
|
|
1940
1949
|
[[package]]
|
|
1941
1950
|
name = "proc-macro2"
|
|
1942
|
-
version = "1.0.
|
|
1951
|
+
version = "1.0.50"
|
|
1943
1952
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1944
|
-
checksum = "
|
|
1953
|
+
checksum = "6ef7d57beacfaf2d8aee5937dab7b7f28de3cb8b1828479bb5de2a7106f2bae2"
|
|
1945
1954
|
dependencies = [
|
|
1946
1955
|
"unicode-ident",
|
|
1947
1956
|
]
|
|
1948
1957
|
|
|
1958
|
+
[[package]]
|
|
1959
|
+
name = "quick-xml"
|
|
1960
|
+
version = "0.26.0"
|
|
1961
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1962
|
+
checksum = "7f50b1c63b38611e7d4d7f68b82d3ad0cc71a2ad2e7f61fc10f1328d917c93cd"
|
|
1963
|
+
dependencies = [
|
|
1964
|
+
"memchr",
|
|
1965
|
+
]
|
|
1966
|
+
|
|
1949
1967
|
[[package]]
|
|
1950
1968
|
name = "quote"
|
|
1951
1969
|
version = "1.0.23"
|
|
@@ -2057,9 +2075,9 @@ dependencies = [
|
|
|
2057
2075
|
|
|
2058
2076
|
[[package]]
|
|
2059
2077
|
name = "rayon-core"
|
|
2060
|
-
version = "1.10.
|
|
2078
|
+
version = "1.10.2"
|
|
2061
2079
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2062
|
-
checksum = "
|
|
2080
|
+
checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b"
|
|
2063
2081
|
dependencies = [
|
|
2064
2082
|
"crossbeam-channel",
|
|
2065
2083
|
"crossbeam-deque",
|
|
@@ -2089,9 +2107,9 @@ dependencies = [
|
|
|
2089
2107
|
|
|
2090
2108
|
[[package]]
|
|
2091
2109
|
name = "regex"
|
|
2092
|
-
version = "1.7.
|
|
2110
|
+
version = "1.7.1"
|
|
2093
2111
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2094
|
-
checksum = "
|
|
2112
|
+
checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733"
|
|
2095
2113
|
dependencies = [
|
|
2096
2114
|
"aho-corasick",
|
|
2097
2115
|
"memchr",
|
|
@@ -2531,7 +2549,7 @@ dependencies = [
|
|
|
2531
2549
|
"serde",
|
|
2532
2550
|
"unicode-segmentation",
|
|
2533
2551
|
"uuid 1.2.2",
|
|
2534
|
-
"windows
|
|
2552
|
+
"windows",
|
|
2535
2553
|
"windows-implement",
|
|
2536
2554
|
"x11-dl",
|
|
2537
2555
|
]
|
|
@@ -2549,9 +2567,9 @@ dependencies = [
|
|
|
2549
2567
|
|
|
2550
2568
|
[[package]]
|
|
2551
2569
|
name = "tauri"
|
|
2552
|
-
version = "1.2.
|
|
2570
|
+
version = "1.2.4"
|
|
2553
2571
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2554
|
-
checksum = "
|
|
2572
|
+
checksum = "fe7e0f1d535e7cbbbab43c82be4fc992b84f9156c16c160955617e0260ebc449"
|
|
2555
2573
|
dependencies = [
|
|
2556
2574
|
"anyhow",
|
|
2557
2575
|
"cocoa",
|
|
@@ -2589,7 +2607,7 @@ dependencies = [
|
|
|
2589
2607
|
"uuid 1.2.2",
|
|
2590
2608
|
"webkit2gtk",
|
|
2591
2609
|
"webview2-com",
|
|
2592
|
-
"windows
|
|
2610
|
+
"windows",
|
|
2593
2611
|
]
|
|
2594
2612
|
|
|
2595
2613
|
[[package]]
|
|
@@ -2664,7 +2682,7 @@ dependencies = [
|
|
|
2664
2682
|
"thiserror",
|
|
2665
2683
|
"uuid 1.2.2",
|
|
2666
2684
|
"webview2-com",
|
|
2667
|
-
"windows
|
|
2685
|
+
"windows",
|
|
2668
2686
|
]
|
|
2669
2687
|
|
|
2670
2688
|
[[package]]
|
|
@@ -2683,7 +2701,7 @@ dependencies = [
|
|
|
2683
2701
|
"uuid 1.2.2",
|
|
2684
2702
|
"webkit2gtk",
|
|
2685
2703
|
"webview2-com",
|
|
2686
|
-
"windows
|
|
2704
|
+
"windows",
|
|
2687
2705
|
"wry",
|
|
2688
2706
|
]
|
|
2689
2707
|
|
|
@@ -2712,7 +2730,7 @@ dependencies = [
|
|
|
2712
2730
|
"thiserror",
|
|
2713
2731
|
"url",
|
|
2714
2732
|
"walkdir",
|
|
2715
|
-
"windows
|
|
2733
|
+
"windows",
|
|
2716
2734
|
]
|
|
2717
2735
|
|
|
2718
2736
|
[[package]]
|
|
@@ -2797,29 +2815,13 @@ dependencies = [
|
|
|
2797
2815
|
|
|
2798
2816
|
[[package]]
|
|
2799
2817
|
name = "time"
|
|
2800
|
-
version = "0.3.
|
|
2818
|
+
version = "0.3.15"
|
|
2801
2819
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2802
|
-
checksum = "
|
|
2820
|
+
checksum = "d634a985c4d4238ec39cacaed2e7ae552fbd3c476b552c1deac3021b7d7eaf0c"
|
|
2803
2821
|
dependencies = [
|
|
2804
2822
|
"itoa 1.0.5",
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
"time-macros",
|
|
2808
|
-
]
|
|
2809
|
-
|
|
2810
|
-
[[package]]
|
|
2811
|
-
name = "time-core"
|
|
2812
|
-
version = "0.1.0"
|
|
2813
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2814
|
-
checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd"
|
|
2815
|
-
|
|
2816
|
-
[[package]]
|
|
2817
|
-
name = "time-macros"
|
|
2818
|
-
version = "0.2.6"
|
|
2819
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2820
|
-
checksum = "d967f99f534ca7e495c575c62638eebc2898a8c84c119b89e250477bc4ba16b2"
|
|
2821
|
-
dependencies = [
|
|
2822
|
-
"time-core",
|
|
2823
|
+
"libc",
|
|
2824
|
+
"num_threads",
|
|
2823
2825
|
]
|
|
2824
2826
|
|
|
2825
2827
|
[[package]]
|
|
@@ -2839,9 +2841,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
|
|
2839
2841
|
|
|
2840
2842
|
[[package]]
|
|
2841
2843
|
name = "tokio"
|
|
2842
|
-
version = "1.
|
|
2844
|
+
version = "1.25.0"
|
|
2843
2845
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2844
|
-
checksum = "
|
|
2846
|
+
checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af"
|
|
2845
2847
|
dependencies = [
|
|
2846
2848
|
"autocfg",
|
|
2847
2849
|
"bytes",
|
|
@@ -2853,9 +2855,9 @@ dependencies = [
|
|
|
2853
2855
|
|
|
2854
2856
|
[[package]]
|
|
2855
2857
|
name = "toml"
|
|
2856
|
-
version = "0.5.
|
|
2858
|
+
version = "0.5.11"
|
|
2857
2859
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2858
|
-
checksum = "
|
|
2860
|
+
checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
|
|
2859
2861
|
dependencies = [
|
|
2860
2862
|
"serde",
|
|
2861
2863
|
]
|
|
@@ -2945,9 +2947,9 @@ checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81"
|
|
|
2945
2947
|
|
|
2946
2948
|
[[package]]
|
|
2947
2949
|
name = "unicode-bidi"
|
|
2948
|
-
version = "0.3.
|
|
2950
|
+
version = "0.3.10"
|
|
2949
2951
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2950
|
-
checksum = "
|
|
2952
|
+
checksum = "d54675592c1dbefd78cbd98db9bacd89886e1ca50692a0692baefffdeb92dd58"
|
|
2951
2953
|
|
|
2952
2954
|
[[package]]
|
|
2953
2955
|
name = "unicode-ident"
|
|
@@ -2966,9 +2968,9 @@ dependencies = [
|
|
|
2966
2968
|
|
|
2967
2969
|
[[package]]
|
|
2968
2970
|
name = "unicode-segmentation"
|
|
2969
|
-
version = "1.10.
|
|
2971
|
+
version = "1.10.1"
|
|
2970
2972
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2971
|
-
checksum = "
|
|
2973
|
+
checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
|
|
2972
2974
|
|
|
2973
2975
|
[[package]]
|
|
2974
2976
|
name = "url"
|
|
@@ -3116,9 +3118,9 @@ dependencies = [
|
|
|
3116
3118
|
|
|
3117
3119
|
[[package]]
|
|
3118
3120
|
name = "webbrowser"
|
|
3119
|
-
version = "0.8.
|
|
3121
|
+
version = "0.8.7"
|
|
3120
3122
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3121
|
-
checksum = "
|
|
3123
|
+
checksum = "97d1fa1e5c829b2bf9eb1e28fb950248b797cd6a04866fbdfa8bc31e5eef4c78"
|
|
3122
3124
|
dependencies = [
|
|
3123
3125
|
"core-foundation",
|
|
3124
3126
|
"dirs",
|
|
@@ -3129,7 +3131,6 @@ dependencies = [
|
|
|
3129
3131
|
"raw-window-handle",
|
|
3130
3132
|
"url",
|
|
3131
3133
|
"web-sys",
|
|
3132
|
-
"windows 0.43.0",
|
|
3133
3134
|
]
|
|
3134
3135
|
|
|
3135
3136
|
[[package]]
|
|
@@ -3187,7 +3188,7 @@ checksum = "b4a769c9f1a64a8734bde70caafac2b96cada12cd4aefa49196b3a386b8b4178"
|
|
|
3187
3188
|
dependencies = [
|
|
3188
3189
|
"webview2-com-macros",
|
|
3189
3190
|
"webview2-com-sys",
|
|
3190
|
-
"windows
|
|
3191
|
+
"windows",
|
|
3191
3192
|
"windows-implement",
|
|
3192
3193
|
]
|
|
3193
3194
|
|
|
@@ -3212,7 +3213,7 @@ dependencies = [
|
|
|
3212
3213
|
"serde",
|
|
3213
3214
|
"serde_json",
|
|
3214
3215
|
"thiserror",
|
|
3215
|
-
"windows
|
|
3216
|
+
"windows",
|
|
3216
3217
|
"windows-bindgen",
|
|
3217
3218
|
"windows-metadata",
|
|
3218
3219
|
]
|
|
@@ -3268,21 +3269,6 @@ dependencies = [
|
|
|
3268
3269
|
"windows_x86_64_msvc 0.39.0",
|
|
3269
3270
|
]
|
|
3270
3271
|
|
|
3271
|
-
[[package]]
|
|
3272
|
-
name = "windows"
|
|
3273
|
-
version = "0.43.0"
|
|
3274
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3275
|
-
checksum = "04662ed0e3e5630dfa9b26e4cb823b817f1a9addda855d973a9458c236556244"
|
|
3276
|
-
dependencies = [
|
|
3277
|
-
"windows_aarch64_gnullvm",
|
|
3278
|
-
"windows_aarch64_msvc 0.42.0",
|
|
3279
|
-
"windows_i686_gnu 0.42.0",
|
|
3280
|
-
"windows_i686_msvc 0.42.0",
|
|
3281
|
-
"windows_x86_64_gnu 0.42.0",
|
|
3282
|
-
"windows_x86_64_gnullvm",
|
|
3283
|
-
"windows_x86_64_msvc 0.42.0",
|
|
3284
|
-
]
|
|
3285
|
-
|
|
3286
3272
|
[[package]]
|
|
3287
3273
|
name = "windows-bindgen"
|
|
3288
3274
|
version = "0.39.0"
|
|
@@ -3316,12 +3302,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
3316
3302
|
checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
|
|
3317
3303
|
dependencies = [
|
|
3318
3304
|
"windows_aarch64_gnullvm",
|
|
3319
|
-
"windows_aarch64_msvc 0.42.
|
|
3320
|
-
"windows_i686_gnu 0.42.
|
|
3321
|
-
"windows_i686_msvc 0.42.
|
|
3322
|
-
"windows_x86_64_gnu 0.42.
|
|
3305
|
+
"windows_aarch64_msvc 0.42.1",
|
|
3306
|
+
"windows_i686_gnu 0.42.1",
|
|
3307
|
+
"windows_i686_msvc 0.42.1",
|
|
3308
|
+
"windows_x86_64_gnu 0.42.1",
|
|
3323
3309
|
"windows_x86_64_gnullvm",
|
|
3324
|
-
"windows_x86_64_msvc 0.42.
|
|
3310
|
+
"windows_x86_64_msvc 0.42.1",
|
|
3325
3311
|
]
|
|
3326
3312
|
|
|
3327
3313
|
[[package]]
|
|
@@ -3332,9 +3318,9 @@ checksum = "f838de2fe15fe6bac988e74b798f26499a8b21a9d97edec321e79b28d1d7f597"
|
|
|
3332
3318
|
|
|
3333
3319
|
[[package]]
|
|
3334
3320
|
name = "windows_aarch64_gnullvm"
|
|
3335
|
-
version = "0.42.
|
|
3321
|
+
version = "0.42.1"
|
|
3336
3322
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3337
|
-
checksum = "
|
|
3323
|
+
checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608"
|
|
3338
3324
|
|
|
3339
3325
|
[[package]]
|
|
3340
3326
|
name = "windows_aarch64_msvc"
|
|
@@ -3344,9 +3330,9 @@ checksum = "ec7711666096bd4096ffa835238905bb33fb87267910e154b18b44eaabb340f2"
|
|
|
3344
3330
|
|
|
3345
3331
|
[[package]]
|
|
3346
3332
|
name = "windows_aarch64_msvc"
|
|
3347
|
-
version = "0.42.
|
|
3333
|
+
version = "0.42.1"
|
|
3348
3334
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3349
|
-
checksum = "
|
|
3335
|
+
checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7"
|
|
3350
3336
|
|
|
3351
3337
|
[[package]]
|
|
3352
3338
|
name = "windows_i686_gnu"
|
|
@@ -3356,9 +3342,9 @@ checksum = "763fc57100a5f7042e3057e7e8d9bdd7860d330070251a73d003563a3bb49e1b"
|
|
|
3356
3342
|
|
|
3357
3343
|
[[package]]
|
|
3358
3344
|
name = "windows_i686_gnu"
|
|
3359
|
-
version = "0.42.
|
|
3345
|
+
version = "0.42.1"
|
|
3360
3346
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3361
|
-
checksum = "
|
|
3347
|
+
checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640"
|
|
3362
3348
|
|
|
3363
3349
|
[[package]]
|
|
3364
3350
|
name = "windows_i686_msvc"
|
|
@@ -3368,9 +3354,9 @@ checksum = "7bc7cbfe58828921e10a9f446fcaaf649204dcfe6c1ddd712c5eebae6bda1106"
|
|
|
3368
3354
|
|
|
3369
3355
|
[[package]]
|
|
3370
3356
|
name = "windows_i686_msvc"
|
|
3371
|
-
version = "0.42.
|
|
3357
|
+
version = "0.42.1"
|
|
3372
3358
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3373
|
-
checksum = "
|
|
3359
|
+
checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605"
|
|
3374
3360
|
|
|
3375
3361
|
[[package]]
|
|
3376
3362
|
name = "windows_x86_64_gnu"
|
|
@@ -3380,15 +3366,15 @@ checksum = "6868c165637d653ae1e8dc4d82c25d4f97dd6605eaa8d784b5c6e0ab2a252b65"
|
|
|
3380
3366
|
|
|
3381
3367
|
[[package]]
|
|
3382
3368
|
name = "windows_x86_64_gnu"
|
|
3383
|
-
version = "0.42.
|
|
3369
|
+
version = "0.42.1"
|
|
3384
3370
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3385
|
-
checksum = "
|
|
3371
|
+
checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45"
|
|
3386
3372
|
|
|
3387
3373
|
[[package]]
|
|
3388
3374
|
name = "windows_x86_64_gnullvm"
|
|
3389
|
-
version = "0.42.
|
|
3375
|
+
version = "0.42.1"
|
|
3390
3376
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3391
|
-
checksum = "
|
|
3377
|
+
checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463"
|
|
3392
3378
|
|
|
3393
3379
|
[[package]]
|
|
3394
3380
|
name = "windows_x86_64_msvc"
|
|
@@ -3398,9 +3384,9 @@ checksum = "5e4d40883ae9cae962787ca76ba76390ffa29214667a111db9e0a1ad8377e809"
|
|
|
3398
3384
|
|
|
3399
3385
|
[[package]]
|
|
3400
3386
|
name = "windows_x86_64_msvc"
|
|
3401
|
-
version = "0.42.
|
|
3387
|
+
version = "0.42.1"
|
|
3402
3388
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3403
|
-
checksum = "
|
|
3389
|
+
checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
|
|
3404
3390
|
|
|
3405
3391
|
[[package]]
|
|
3406
3392
|
name = "winres"
|
|
@@ -3445,15 +3431,15 @@ dependencies = [
|
|
|
3445
3431
|
"webkit2gtk",
|
|
3446
3432
|
"webkit2gtk-sys",
|
|
3447
3433
|
"webview2-com",
|
|
3448
|
-
"windows
|
|
3434
|
+
"windows",
|
|
3449
3435
|
"windows-implement",
|
|
3450
3436
|
]
|
|
3451
3437
|
|
|
3452
3438
|
[[package]]
|
|
3453
3439
|
name = "x11"
|
|
3454
|
-
version = "2.
|
|
3440
|
+
version = "2.21.0"
|
|
3455
3441
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3456
|
-
checksum = "
|
|
3442
|
+
checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e"
|
|
3457
3443
|
dependencies = [
|
|
3458
3444
|
"libc",
|
|
3459
3445
|
"pkg-config",
|
|
@@ -3461,12 +3447,12 @@ dependencies = [
|
|
|
3461
3447
|
|
|
3462
3448
|
[[package]]
|
|
3463
3449
|
name = "x11-dl"
|
|
3464
|
-
version = "2.
|
|
3450
|
+
version = "2.21.0"
|
|
3465
3451
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3466
|
-
checksum = "
|
|
3452
|
+
checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f"
|
|
3467
3453
|
dependencies = [
|
|
3468
|
-
"lazy_static",
|
|
3469
3454
|
"libc",
|
|
3455
|
+
"once_cell",
|
|
3470
3456
|
"pkg-config",
|
|
3471
3457
|
]
|
|
3472
3458
|
|
|
@@ -3478,9 +3464,3 @@ checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc"
|
|
|
3478
3464
|
dependencies = [
|
|
3479
3465
|
"libc",
|
|
3480
3466
|
]
|
|
3481
|
-
|
|
3482
|
-
[[package]]
|
|
3483
|
-
name = "xml-rs"
|
|
3484
|
-
version = "0.8.4"
|
|
3485
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3486
|
-
checksum = "d2d7d3948613f75c98fd9328cfdcc45acc4d360655289d0a7d4ec931392200a3"
|
package/src-tauri/Cargo.toml
CHANGED
|
@@ -15,13 +15,13 @@ rust-version = "1.63.0"
|
|
|
15
15
|
tauri-build = { version = "1.2.1", features = [] }
|
|
16
16
|
|
|
17
17
|
[dependencies]
|
|
18
|
-
serde_json = "1.0.
|
|
19
|
-
serde = { version = "1.0.
|
|
20
|
-
tauri = { version = "1.2.
|
|
18
|
+
serde_json = "1.0.91"
|
|
19
|
+
serde = { version = "1.0.152", features = ["derive"] }
|
|
20
|
+
tauri = { version = "1.2.4", features = [] }
|
|
21
21
|
image = "0.24.5"
|
|
22
|
-
home = "0.5"
|
|
22
|
+
home = "0.5.4"
|
|
23
23
|
tauri-utils = "1.2.1"
|
|
24
|
-
webbrowser = "0.8.
|
|
24
|
+
webbrowser = "0.8.7"
|
|
25
25
|
wry = "0.23.4"
|
|
26
26
|
dirs = "4.0"
|
|
27
27
|
|
|
Binary file
|
package/src-tauri/src/main.rs
CHANGED
|
@@ -234,15 +234,14 @@ fn main() -> wry::Result<()> {
|
|
|
234
234
|
if menu_id == close_item.clone().id() {
|
|
235
235
|
webview.window().set_minimized(true);
|
|
236
236
|
}
|
|
237
|
-
println!("Clicked on {:?}"
|
|
238
|
-
println!("Clicked on {:?}", webview.window().is_visible());
|
|
237
|
+
println!("Clicked on {menu_id:?}");
|
|
239
238
|
}
|
|
240
239
|
Event::UserEvent(UserEvent::DownloadStarted(uri, temp_dir)) => {
|
|
241
|
-
println!("Download: {}"
|
|
242
|
-
println!("Will write to: {:?}"
|
|
240
|
+
println!("Download: {uri}");
|
|
241
|
+
println!("Will write to: {temp_dir:?}");
|
|
243
242
|
}
|
|
244
243
|
Event::UserEvent(UserEvent::DownloadComplete(_, success)) => {
|
|
245
|
-
println!("Succeeded: {}"
|
|
244
|
+
println!("Succeeded: {success}");
|
|
246
245
|
if success {
|
|
247
246
|
let _ = webview.evaluate_script("window.pakeToast('Save in downloads folder')");
|
|
248
247
|
} else {
|
package/src-tauri/src/pake.js
CHANGED
|
@@ -65,16 +65,16 @@ window.addEventListener("DOMContentLoaded", (_event) => {
|
|
|
65
65
|
padding-top: 10px;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
#__next .overflow-hidden .
|
|
69
|
-
|
|
68
|
+
#__next .overflow-hidden>.hidden.bg-gray-900 span.rounded-md.bg-yellow-200 {
|
|
69
|
+
display: none;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
#__next .overflow-hidden>.hidden.bg-gray-900 {
|
|
73
|
-
|
|
72
|
+
#__next .overflow-hidden>.hidden.bg-gray-900 .scrollbar-trigger{
|
|
73
|
+
padding-top: 20px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
#__next .
|
|
77
|
-
|
|
76
|
+
#__next .absolute .px-3.pt-2.pb-3.text-center {
|
|
77
|
+
visibility: hidden;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.lark > .dashboard-sidebar, .lark > .dashboard-sidebar > .sidebar-user-info , .lark > .dashboard-sidebar .index-module_wrapper_F-Wbq{
|
|
@@ -282,6 +282,7 @@ window.addEventListener("DOMContentLoaded", (_event) => {
|
|
|
282
282
|
height: 20px;
|
|
283
283
|
cursor: grab;
|
|
284
284
|
cursor: -webkit-grab;
|
|
285
|
+
user-select: none;
|
|
285
286
|
z-index: 90000;
|
|
286
287
|
}
|
|
287
288
|
`;
|
|
@@ -293,6 +294,7 @@ window.addEventListener("DOMContentLoaded", (_event) => {
|
|
|
293
294
|
const domEl = document.getElementById("pack-top-dom");
|
|
294
295
|
|
|
295
296
|
domEl.addEventListener("mousedown", (e) => {
|
|
297
|
+
e && e.preventDefault();
|
|
296
298
|
if (e.buttons === 1 && e.detail !== 2) {
|
|
297
299
|
window.ipc.postMessage("drag_window");
|
|
298
300
|
}
|