diff --git a/README.md b/README.md index e460f666e..bbb0b93a0 100644 --- a/README.md +++ b/README.md @@ -279,67 +279,67 @@ Pake's development can not be without these Hackers. They contributed a lot of c - - QingZ11 + + exposir
- Steam + 孟世博
- - exposir + + QingZ11
- 孟世博 + Steam
- - 2nthony + + hetz
- 2nthony + 贺天卓
- - ACGNnsj + + piaoyidage
- Null + Ranger
- - imabutahersiddik + + liusishan
- Abu Taher Siddik + Liusishan
- - kidylee + + liudonghua123
- An Li + Liudonghua
- - nekomeowww + + lakca
- Ayaka Neko + Null
- - turkyden + + houhoz
- Dengju Deng + Hyzhao
- - Fechin + + princemaple
- Fechin + Po Chen
@@ -350,53 +350,53 @@ Pake's development can not be without these Hackers. They contributed a lot of c - - princemaple + + Fechin
- Po Chen + Fechin
- - houhoz + + turkyden
- Hyzhao + Dengju Deng
- - lakca + + nekomeowww
- Null + Ayaka Neko
- - liudonghua123 + + kidylee
- Liudonghua + An Li
- - liusishan + + imabutahersiddik
- Liusishan + Abu Taher Siddik
- - piaoyidage + + ACGNnsj
- Ranger + Null
- - hetz + + 2nthony
- 贺天卓 + 2nthony
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index c0b85d280..0124f90c2 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -71,6 +71,7 @@ dependencies = [ "serde_json", "tauri", "tauri-build", + "tauri-plugin-oauth", "tauri-plugin-window-state", ] @@ -3544,6 +3545,18 @@ dependencies = [ "tauri-utils", ] +[[package]] +name = "tauri-plugin-oauth" +version = "0.0.0-alpha.0" +source = "git+https://github.com/FabianLars/tauri-plugin-oauth?branch=main#50dadbf4a81cba51f625587b7722892f0b4316a6" +dependencies = [ + "httparse", + "log", + "serde", + "tauri", + "url", +] + [[package]] name = "tauri-plugin-window-state" version = "0.1.0" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 7e62f90db..f7c47e651 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -19,6 +19,7 @@ serde_json = "1.0.108" serde = { version = "1.0.192", features = ["derive"] } tauri = { version = "1.5.2", features = ["api-all", "system-tray"] } tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" } +tauri-plugin-oauth = { git = "https://github.com/FabianLars/tauri-plugin-oauth", branch = "main" } [dev-dependencies] cargo-bloat = "0.11.1" diff --git a/src-tauri/icons/devv.icns b/src-tauri/icons/devv.icns new file mode 100644 index 000000000..b64d026dc Binary files /dev/null and b/src-tauri/icons/devv.icns differ diff --git a/src-tauri/src/inject/style.js b/src-tauri/src/inject/style.js index 418700dfa..df39b24f9 100644 --- a/src-tauri/src/inject/style.js +++ b/src-tauri/src/inject/style.js @@ -320,6 +320,15 @@ window.addEventListener('DOMContentLoaded', _event => { margin-right: -10px; } + #__next > div.relative.z-0.flex.h-full.w-full.overflow-hidden > div.dark.flex-shrink-0.overflow-x-hidden.bg-black > div > div > div > div > nav > div.flex.flex-col.pt-2.empty\\:hidden.dark\\:border-white\\/20 > a, + #__next > div.relative.z-0.flex.h-full.w-full.overflow-hidden > div.relative.flex.h-full.max-w-full.flex-1.flex-col.overflow-hidden > main > div.group.fixed.bottom-3.right-3.z-10.hidden.gap-1.lg\\:flex > div { + display: none; + } + + #__next .md\\:px-\\[60px\\].text-token-text-secondary.text-xs.text-center.py-2.px-2.relative{ + visibility:hidden; + } + #__next>div>div>.flex.h-screen.w-full.flex-col.items-center { padding-top: 20px; } diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 917c87061..3a26f5f23 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -41,6 +41,7 @@ pub fn run_app() { tauri_app .plugin(windowStatePlugin::default().build()) + .plugin(tauri_plugin_oauth::init()) .invoke_handler(tauri::generate_handler![ download_file, download_file_by_binary