pake-cli 3.0.3 → 3.1.0
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/dist/cli.js +14 -14
- package/dist/dev.js +6 -5
- package/dist/dev.js.map +1 -1
- package/package.json +2 -2
- package/src-tauri/.pake/pake.json +30 -0
- package/src-tauri/.pake/tauri.conf.json +24 -0
- package/src-tauri/.pake/tauri.macos.conf.json +15 -0
- package/src-tauri/Cargo.lock +180 -20
- package/src-tauri/Cargo.toml +6 -6
- package/src-tauri/capabilities/default.json +7 -1
- package/src-tauri/gen/schemas/acl-manifests.json +1 -1
- package/src-tauri/gen/schemas/capabilities.json +1 -1
- package/src-tauri/gen/schemas/desktop-schema.json +165 -0
- package/src-tauri/gen/schemas/macOS-schema.json +165 -0
- package/src-tauri/icons/excalidraw.icns +0 -0
- package/src-tauri/icons/gemini.icns +0 -0
- package/src-tauri/icons/xiaohongshu.icns +0 -0
- package/src-tauri/png/chatgpt_512.png +0 -0
- package/src-tauri/png/excalidraw_256.ico +0 -0
- package/src-tauri/png/excalidraw_32.ico +0 -0
- package/src-tauri/png/excalidraw_512.png +0 -0
- package/src-tauri/png/flomo_512.png +0 -0
- package/src-tauri/png/gemini_256.ico +0 -0
- package/src-tauri/png/gemini_32.ico +0 -0
- package/src-tauri/png/gemini_512.png +0 -0
- package/src-tauri/png/icon_512.png +0 -0
- package/src-tauri/png/lizhi_512.png +0 -0
- package/src-tauri/png/programmusic_512.png +0 -0
- package/src-tauri/png/qwerty_512.png +0 -0
- package/src-tauri/png/twitter_512.png +0 -0
- package/src-tauri/png/wechat_512.png +0 -0
- package/src-tauri/png/weread_512.png +0 -0
- package/src-tauri/png/xiaohongshu_256.ico +0 -0
- package/src-tauri/png/xiaohongshu_32.ico +0 -0
- package/src-tauri/png/xiaohongshu_512.png +0 -0
- package/src-tauri/png/youtube_512.png +0 -0
- package/src-tauri/png/youtubemusic_512.png +0 -0
- package/src-tauri/src/app/invoke.rs +20 -0
- package/src-tauri/src/app/mod.rs +1 -1
- package/src-tauri/src/app/setup.rs +95 -0
- package/src-tauri/src/app/window.rs +6 -2
- package/src-tauri/src/inject/event.js +32 -1
- package/src-tauri/src/inject/style.js +12 -4
- package/src-tauri/src/lib.rs +34 -87
- package/src-tauri/src/util.rs +1 -2
- package/src-tauri/icons/coderunner.icns +0 -0
- package/src-tauri/icons/devv.icns +0 -0
- package/src-tauri/icons/juchats.icns +0 -0
- package/src-tauri/icons/poe.icns +0 -0
- package/src-tauri/icons/reference.icns +0 -0
- package/src-tauri/icons/xiaoyuzhou.icns +0 -0
- package/src-tauri/png/coderunner_256.ico +0 -0
- package/src-tauri/png/coderunner_32.ico +0 -0
- package/src-tauri/png/coderunner_512.png +0 -0
- package/src-tauri/png/poe_256.ico +0 -0
- package/src-tauri/png/poe_32.ico +0 -0
- package/src-tauri/png/poe_512.png +0 -0
- package/src-tauri/png/reference_256.ico +0 -0
- package/src-tauri/png/reference_32.ico +0 -0
- package/src-tauri/png/reference_512.png +0 -0
- package/src-tauri/src/app/menu.rs +0 -36
package/src-tauri/Cargo.lock
CHANGED
|
@@ -809,6 +809,16 @@ dependencies = [
|
|
|
809
809
|
"dirs-sys",
|
|
810
810
|
]
|
|
811
811
|
|
|
812
|
+
[[package]]
|
|
813
|
+
name = "dirs-next"
|
|
814
|
+
version = "2.0.0"
|
|
815
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
816
|
+
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
|
817
|
+
dependencies = [
|
|
818
|
+
"cfg-if",
|
|
819
|
+
"dirs-sys-next",
|
|
820
|
+
]
|
|
821
|
+
|
|
812
822
|
[[package]]
|
|
813
823
|
name = "dirs-sys"
|
|
814
824
|
version = "0.4.1"
|
|
@@ -821,6 +831,17 @@ dependencies = [
|
|
|
821
831
|
"windows-sys 0.48.0",
|
|
822
832
|
]
|
|
823
833
|
|
|
834
|
+
[[package]]
|
|
835
|
+
name = "dirs-sys-next"
|
|
836
|
+
version = "0.1.2"
|
|
837
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
838
|
+
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
|
839
|
+
dependencies = [
|
|
840
|
+
"libc",
|
|
841
|
+
"redox_users",
|
|
842
|
+
"winapi",
|
|
843
|
+
]
|
|
844
|
+
|
|
824
845
|
[[package]]
|
|
825
846
|
name = "dispatch"
|
|
826
847
|
version = "0.2.0"
|
|
@@ -2124,6 +2145,19 @@ version = "0.1.1"
|
|
|
2124
2145
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2125
2146
|
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
|
2126
2147
|
|
|
2148
|
+
[[package]]
|
|
2149
|
+
name = "mac-notification-sys"
|
|
2150
|
+
version = "0.6.2"
|
|
2151
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2152
|
+
checksum = "dce8f34f3717aa37177e723df6c1fc5fb02b2a1087374ea3fe0ea42316dc8f91"
|
|
2153
|
+
dependencies = [
|
|
2154
|
+
"cc",
|
|
2155
|
+
"dirs-next",
|
|
2156
|
+
"objc-foundation",
|
|
2157
|
+
"objc_id",
|
|
2158
|
+
"time",
|
|
2159
|
+
]
|
|
2160
|
+
|
|
2127
2161
|
[[package]]
|
|
2128
2162
|
name = "malloc_buf"
|
|
2129
2163
|
version = "0.0.6"
|
|
@@ -2269,6 +2303,19 @@ version = "0.1.14"
|
|
|
2269
2303
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2270
2304
|
checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
|
|
2271
2305
|
|
|
2306
|
+
[[package]]
|
|
2307
|
+
name = "notify-rust"
|
|
2308
|
+
version = "4.11.3"
|
|
2309
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2310
|
+
checksum = "5134a72dc570b178bff81b01e81ab14a6fcc015391ed4b3b14853090658cd3a3"
|
|
2311
|
+
dependencies = [
|
|
2312
|
+
"log",
|
|
2313
|
+
"mac-notification-sys",
|
|
2314
|
+
"serde",
|
|
2315
|
+
"tauri-winrt-notification",
|
|
2316
|
+
"zbus",
|
|
2317
|
+
]
|
|
2318
|
+
|
|
2272
2319
|
[[package]]
|
|
2273
2320
|
name = "num-conv"
|
|
2274
2321
|
version = "0.1.0"
|
|
@@ -2314,6 +2361,17 @@ dependencies = [
|
|
|
2314
2361
|
"malloc_buf",
|
|
2315
2362
|
]
|
|
2316
2363
|
|
|
2364
|
+
[[package]]
|
|
2365
|
+
name = "objc-foundation"
|
|
2366
|
+
version = "0.1.1"
|
|
2367
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2368
|
+
checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9"
|
|
2369
|
+
dependencies = [
|
|
2370
|
+
"block",
|
|
2371
|
+
"objc",
|
|
2372
|
+
"objc_id",
|
|
2373
|
+
]
|
|
2374
|
+
|
|
2317
2375
|
[[package]]
|
|
2318
2376
|
name = "objc-sys"
|
|
2319
2377
|
version = "0.3.5"
|
|
@@ -2532,6 +2590,15 @@ dependencies = [
|
|
|
2532
2590
|
"objc2-foundation",
|
|
2533
2591
|
]
|
|
2534
2592
|
|
|
2593
|
+
[[package]]
|
|
2594
|
+
name = "objc_id"
|
|
2595
|
+
version = "0.1.1"
|
|
2596
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2597
|
+
checksum = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b"
|
|
2598
|
+
dependencies = [
|
|
2599
|
+
"objc",
|
|
2600
|
+
]
|
|
2601
|
+
|
|
2535
2602
|
[[package]]
|
|
2536
2603
|
name = "object"
|
|
2537
2604
|
version = "0.36.5"
|
|
@@ -2586,7 +2653,7 @@ dependencies = [
|
|
|
2586
2653
|
|
|
2587
2654
|
[[package]]
|
|
2588
2655
|
name = "pake"
|
|
2589
|
-
version = "3.
|
|
2656
|
+
version = "3.1.0"
|
|
2590
2657
|
dependencies = [
|
|
2591
2658
|
"serde",
|
|
2592
2659
|
"serde_json",
|
|
@@ -2594,6 +2661,7 @@ dependencies = [
|
|
|
2594
2661
|
"tauri-build",
|
|
2595
2662
|
"tauri-plugin-global-shortcut",
|
|
2596
2663
|
"tauri-plugin-http",
|
|
2664
|
+
"tauri-plugin-notification",
|
|
2597
2665
|
"tauri-plugin-oauth",
|
|
2598
2666
|
"tauri-plugin-shell",
|
|
2599
2667
|
"tauri-plugin-single-instance",
|
|
@@ -2838,7 +2906,7 @@ checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016"
|
|
|
2838
2906
|
dependencies = [
|
|
2839
2907
|
"base64 0.22.1",
|
|
2840
2908
|
"indexmap 2.7.0",
|
|
2841
|
-
"quick-xml",
|
|
2909
|
+
"quick-xml 0.32.0",
|
|
2842
2910
|
"serde",
|
|
2843
2911
|
"time",
|
|
2844
2912
|
]
|
|
@@ -2967,6 +3035,15 @@ dependencies = [
|
|
|
2967
3035
|
"psl-types",
|
|
2968
3036
|
]
|
|
2969
3037
|
|
|
3038
|
+
[[package]]
|
|
3039
|
+
name = "quick-xml"
|
|
3040
|
+
version = "0.31.0"
|
|
3041
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3042
|
+
checksum = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33"
|
|
3043
|
+
dependencies = [
|
|
3044
|
+
"memchr",
|
|
3045
|
+
]
|
|
3046
|
+
|
|
2970
3047
|
[[package]]
|
|
2971
3048
|
name = "quick-xml"
|
|
2972
3049
|
version = "0.32.0"
|
|
@@ -3435,9 +3512,9 @@ dependencies = [
|
|
|
3435
3512
|
|
|
3436
3513
|
[[package]]
|
|
3437
3514
|
name = "serde_json"
|
|
3438
|
-
version = "1.0.
|
|
3515
|
+
version = "1.0.134"
|
|
3439
3516
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3440
|
-
checksum = "
|
|
3517
|
+
checksum = "d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d"
|
|
3441
3518
|
dependencies = [
|
|
3442
3519
|
"itoa 1.0.14",
|
|
3443
3520
|
"memchr",
|
|
@@ -3847,7 +3924,7 @@ dependencies = [
|
|
|
3847
3924
|
"tao-macros",
|
|
3848
3925
|
"unicode-segmentation",
|
|
3849
3926
|
"url",
|
|
3850
|
-
"windows",
|
|
3927
|
+
"windows 0.58.0",
|
|
3851
3928
|
"windows-core 0.58.0",
|
|
3852
3929
|
"windows-version",
|
|
3853
3930
|
"x11-dl",
|
|
@@ -3918,7 +3995,7 @@ dependencies = [
|
|
|
3918
3995
|
"webkit2gtk",
|
|
3919
3996
|
"webview2-com",
|
|
3920
3997
|
"window-vibrancy",
|
|
3921
|
-
"windows",
|
|
3998
|
+
"windows 0.58.0",
|
|
3922
3999
|
]
|
|
3923
4000
|
|
|
3924
4001
|
[[package]]
|
|
@@ -4061,6 +4138,25 @@ dependencies = [
|
|
|
4061
4138
|
"urlpattern",
|
|
4062
4139
|
]
|
|
4063
4140
|
|
|
4141
|
+
[[package]]
|
|
4142
|
+
name = "tauri-plugin-notification"
|
|
4143
|
+
version = "2.2.0"
|
|
4144
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4145
|
+
checksum = "46ab803095f14ac6521fdb6477210a49e86fed6623c3c97d8e4b2b35e045e922"
|
|
4146
|
+
dependencies = [
|
|
4147
|
+
"log",
|
|
4148
|
+
"notify-rust",
|
|
4149
|
+
"rand 0.8.5",
|
|
4150
|
+
"serde",
|
|
4151
|
+
"serde_json",
|
|
4152
|
+
"serde_repr",
|
|
4153
|
+
"tauri",
|
|
4154
|
+
"tauri-plugin",
|
|
4155
|
+
"thiserror 2.0.3",
|
|
4156
|
+
"time",
|
|
4157
|
+
"url",
|
|
4158
|
+
]
|
|
4159
|
+
|
|
4064
4160
|
[[package]]
|
|
4065
4161
|
name = "tauri-plugin-oauth"
|
|
4066
4162
|
version = "2.0.0"
|
|
@@ -4143,7 +4239,7 @@ dependencies = [
|
|
|
4143
4239
|
"tauri-utils",
|
|
4144
4240
|
"thiserror 2.0.3",
|
|
4145
4241
|
"url",
|
|
4146
|
-
"windows",
|
|
4242
|
+
"windows 0.58.0",
|
|
4147
4243
|
]
|
|
4148
4244
|
|
|
4149
4245
|
[[package]]
|
|
@@ -4168,7 +4264,7 @@ dependencies = [
|
|
|
4168
4264
|
"url",
|
|
4169
4265
|
"webkit2gtk",
|
|
4170
4266
|
"webview2-com",
|
|
4171
|
-
"windows",
|
|
4267
|
+
"windows 0.58.0",
|
|
4172
4268
|
"wry",
|
|
4173
4269
|
]
|
|
4174
4270
|
|
|
@@ -4219,6 +4315,17 @@ dependencies = [
|
|
|
4219
4315
|
"toml 0.7.8",
|
|
4220
4316
|
]
|
|
4221
4317
|
|
|
4318
|
+
[[package]]
|
|
4319
|
+
name = "tauri-winrt-notification"
|
|
4320
|
+
version = "0.2.1"
|
|
4321
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4322
|
+
checksum = "f89f5fb70d6f62381f5d9b2ba9008196150b40b75f3068eb24faeddf1c686871"
|
|
4323
|
+
dependencies = [
|
|
4324
|
+
"quick-xml 0.31.0",
|
|
4325
|
+
"windows 0.56.0",
|
|
4326
|
+
"windows-version",
|
|
4327
|
+
]
|
|
4328
|
+
|
|
4222
4329
|
[[package]]
|
|
4223
4330
|
name = "tempfile"
|
|
4224
4331
|
version = "3.14.0"
|
|
@@ -4347,9 +4454,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
|
|
4347
4454
|
|
|
4348
4455
|
[[package]]
|
|
4349
4456
|
name = "tokio"
|
|
4350
|
-
version = "1.
|
|
4457
|
+
version = "1.42.0"
|
|
4351
4458
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4352
|
-
checksum = "
|
|
4459
|
+
checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551"
|
|
4353
4460
|
dependencies = [
|
|
4354
4461
|
"backtrace",
|
|
4355
4462
|
"bytes",
|
|
@@ -4880,10 +4987,10 @@ checksum = "6f61ff3d9d0ee4efcb461b14eb3acfda2702d10dc329f339303fc3e57215ae2c"
|
|
|
4880
4987
|
dependencies = [
|
|
4881
4988
|
"webview2-com-macros",
|
|
4882
4989
|
"webview2-com-sys",
|
|
4883
|
-
"windows",
|
|
4990
|
+
"windows 0.58.0",
|
|
4884
4991
|
"windows-core 0.58.0",
|
|
4885
|
-
"windows-implement",
|
|
4886
|
-
"windows-interface",
|
|
4992
|
+
"windows-implement 0.58.0",
|
|
4993
|
+
"windows-interface 0.58.0",
|
|
4887
4994
|
]
|
|
4888
4995
|
|
|
4889
4996
|
[[package]]
|
|
@@ -4904,7 +5011,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
4904
5011
|
checksum = "a3a3e2eeb58f82361c93f9777014668eb3d07e7d174ee4c819575a9208011886"
|
|
4905
5012
|
dependencies = [
|
|
4906
5013
|
"thiserror 1.0.69",
|
|
4907
|
-
"windows",
|
|
5014
|
+
"windows 0.58.0",
|
|
4908
5015
|
"windows-core 0.58.0",
|
|
4909
5016
|
]
|
|
4910
5017
|
|
|
@@ -4953,6 +5060,16 @@ dependencies = [
|
|
|
4953
5060
|
"windows-version",
|
|
4954
5061
|
]
|
|
4955
5062
|
|
|
5063
|
+
[[package]]
|
|
5064
|
+
name = "windows"
|
|
5065
|
+
version = "0.56.0"
|
|
5066
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5067
|
+
checksum = "1de69df01bdf1ead2f4ac895dc77c9351aefff65b2f3db429a343f9cbf05e132"
|
|
5068
|
+
dependencies = [
|
|
5069
|
+
"windows-core 0.56.0",
|
|
5070
|
+
"windows-targets 0.52.6",
|
|
5071
|
+
]
|
|
5072
|
+
|
|
4956
5073
|
[[package]]
|
|
4957
5074
|
name = "windows"
|
|
4958
5075
|
version = "0.58.0"
|
|
@@ -4972,19 +5089,42 @@ dependencies = [
|
|
|
4972
5089
|
"windows-targets 0.52.6",
|
|
4973
5090
|
]
|
|
4974
5091
|
|
|
5092
|
+
[[package]]
|
|
5093
|
+
name = "windows-core"
|
|
5094
|
+
version = "0.56.0"
|
|
5095
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5096
|
+
checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6"
|
|
5097
|
+
dependencies = [
|
|
5098
|
+
"windows-implement 0.56.0",
|
|
5099
|
+
"windows-interface 0.56.0",
|
|
5100
|
+
"windows-result 0.1.2",
|
|
5101
|
+
"windows-targets 0.52.6",
|
|
5102
|
+
]
|
|
5103
|
+
|
|
4975
5104
|
[[package]]
|
|
4976
5105
|
name = "windows-core"
|
|
4977
5106
|
version = "0.58.0"
|
|
4978
5107
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
4979
5108
|
checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"
|
|
4980
5109
|
dependencies = [
|
|
4981
|
-
"windows-implement",
|
|
4982
|
-
"windows-interface",
|
|
4983
|
-
"windows-result",
|
|
5110
|
+
"windows-implement 0.58.0",
|
|
5111
|
+
"windows-interface 0.58.0",
|
|
5112
|
+
"windows-result 0.2.0",
|
|
4984
5113
|
"windows-strings",
|
|
4985
5114
|
"windows-targets 0.52.6",
|
|
4986
5115
|
]
|
|
4987
5116
|
|
|
5117
|
+
[[package]]
|
|
5118
|
+
name = "windows-implement"
|
|
5119
|
+
version = "0.56.0"
|
|
5120
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5121
|
+
checksum = "f6fc35f58ecd95a9b71c4f2329b911016e6bec66b3f2e6a4aad86bd2e99e2f9b"
|
|
5122
|
+
dependencies = [
|
|
5123
|
+
"proc-macro2",
|
|
5124
|
+
"quote",
|
|
5125
|
+
"syn 2.0.90",
|
|
5126
|
+
]
|
|
5127
|
+
|
|
4988
5128
|
[[package]]
|
|
4989
5129
|
name = "windows-implement"
|
|
4990
5130
|
version = "0.58.0"
|
|
@@ -4996,6 +5136,17 @@ dependencies = [
|
|
|
4996
5136
|
"syn 2.0.90",
|
|
4997
5137
|
]
|
|
4998
5138
|
|
|
5139
|
+
[[package]]
|
|
5140
|
+
name = "windows-interface"
|
|
5141
|
+
version = "0.56.0"
|
|
5142
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5143
|
+
checksum = "08990546bf4edef8f431fa6326e032865f27138718c587dc21bc0265bbcb57cc"
|
|
5144
|
+
dependencies = [
|
|
5145
|
+
"proc-macro2",
|
|
5146
|
+
"quote",
|
|
5147
|
+
"syn 2.0.90",
|
|
5148
|
+
]
|
|
5149
|
+
|
|
4999
5150
|
[[package]]
|
|
5000
5151
|
name = "windows-interface"
|
|
5001
5152
|
version = "0.58.0"
|
|
@@ -5013,11 +5164,20 @@ version = "0.2.0"
|
|
|
5013
5164
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5014
5165
|
checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0"
|
|
5015
5166
|
dependencies = [
|
|
5016
|
-
"windows-result",
|
|
5167
|
+
"windows-result 0.2.0",
|
|
5017
5168
|
"windows-strings",
|
|
5018
5169
|
"windows-targets 0.52.6",
|
|
5019
5170
|
]
|
|
5020
5171
|
|
|
5172
|
+
[[package]]
|
|
5173
|
+
name = "windows-result"
|
|
5174
|
+
version = "0.1.2"
|
|
5175
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5176
|
+
checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8"
|
|
5177
|
+
dependencies = [
|
|
5178
|
+
"windows-targets 0.52.6",
|
|
5179
|
+
]
|
|
5180
|
+
|
|
5021
5181
|
[[package]]
|
|
5022
5182
|
name = "windows-result"
|
|
5023
5183
|
version = "0.2.0"
|
|
@@ -5033,7 +5193,7 @@ version = "0.1.0"
|
|
|
5033
5193
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
5034
5194
|
checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
|
|
5035
5195
|
dependencies = [
|
|
5036
|
-
"windows-result",
|
|
5196
|
+
"windows-result 0.2.0",
|
|
5037
5197
|
"windows-targets 0.52.6",
|
|
5038
5198
|
]
|
|
5039
5199
|
|
|
@@ -5328,7 +5488,7 @@ dependencies = [
|
|
|
5328
5488
|
"webkit2gtk",
|
|
5329
5489
|
"webkit2gtk-sys",
|
|
5330
5490
|
"webview2-com",
|
|
5331
|
-
"windows",
|
|
5491
|
+
"windows 0.58.0",
|
|
5332
5492
|
"windows-core 0.58.0",
|
|
5333
5493
|
"windows-version",
|
|
5334
5494
|
"x11-dl",
|
package/src-tauri/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "pake"
|
|
3
|
-
version = "3.
|
|
3
|
+
version = "3.1.0"
|
|
4
4
|
description = "🤱🏻 Turn any webpage into a desktop app with Rust."
|
|
5
5
|
authors = ["Tw93"]
|
|
6
6
|
license = "MIT"
|
|
@@ -18,17 +18,17 @@ crate-type = ["staticlib", "cdylib", "lib"]
|
|
|
18
18
|
tauri-build = { version = "2.0.3", features = [] }
|
|
19
19
|
|
|
20
20
|
[dependencies]
|
|
21
|
-
serde_json = "1.0.
|
|
21
|
+
serde_json = "1.0.134"
|
|
22
22
|
serde = { version = "1.0.216", features = ["derive"] }
|
|
23
|
+
tokio = { version = "1.42.0", features = ["full"] }
|
|
23
24
|
tauri = { version = "2.1.1", features = ["tray-icon", "image-ico", "image-png", "macos-proxy"] }
|
|
24
25
|
tauri-plugin-window-state = "2.2.0"
|
|
25
|
-
tauri-plugin-oauth = "2"
|
|
26
|
+
tauri-plugin-oauth = "2.0.0"
|
|
26
27
|
tauri-plugin-http = "2.2.0"
|
|
27
|
-
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
|
|
28
28
|
tauri-plugin-global-shortcut = { version = "2.2.0" }
|
|
29
29
|
tauri-plugin-shell = "2.2.0"
|
|
30
|
-
tauri-plugin-single-instance = "2"
|
|
31
|
-
|
|
30
|
+
tauri-plugin-single-instance = "2.2.0"
|
|
31
|
+
tauri-plugin-notification = "2.2.0"
|
|
32
32
|
|
|
33
33
|
[features]
|
|
34
34
|
# this feature is used for development builds from development cli
|
|
@@ -7,12 +7,18 @@
|
|
|
7
7
|
"urls": ["https://*.*"]
|
|
8
8
|
},
|
|
9
9
|
"permissions": [
|
|
10
|
+
"shell:allow-open",
|
|
10
11
|
"core:window:allow-theme",
|
|
11
12
|
"core:window:allow-start-dragging",
|
|
12
13
|
"core:window:allow-toggle-maximize",
|
|
13
14
|
"core:window:allow-is-fullscreen",
|
|
14
15
|
"core:window:allow-set-fullscreen",
|
|
15
16
|
"core:webview:allow-internal-toggle-devtools",
|
|
16
|
-
"
|
|
17
|
+
"notification:allow-is-permission-granted",
|
|
18
|
+
"notification:allow-notify",
|
|
19
|
+
"notification:allow-get-active",
|
|
20
|
+
"notification:allow-register-listener",
|
|
21
|
+
"notification:allow-register-action-types",
|
|
22
|
+
"notification:default"
|
|
17
23
|
]
|
|
18
24
|
}
|