Skip to content

Commit

Permalink
Merge pull request #127 from pacholoamit/feat/add-custom-titlebars
Browse files Browse the repository at this point in the history
feat/add custom titlebars
  • Loading branch information
pacholoamit authored May 16, 2024
2 parents 4b58e2d + 969fb37 commit e7b879b
Show file tree
Hide file tree
Showing 9 changed files with 616 additions and 6 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@
}
</style>
<!-- LOAD GOOGLE FONTS END -->

<!-- CUSTOM TITLE BAR START -->

<!-- CUSTOM TITLE BAR END -->
<title>Pachtop</title>
</head>
<body>
Expand Down
82 changes: 78 additions & 4 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,28 @@ chrono = {version = "0.4.23", features= ["serde"] }
# rusqlite = { version = "0.28.0", features = ["bundled", "chrono"] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.6.5", features = ["api-all", "system-tray", "updater"] }
tauri = { version = "1.6.5", features = ["api-all", "system-tray", "updater", "window-start-dragging"] }
sysinfo = "0.29.11"
tauri-plugin-log = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
tauri-plugin-window-state = "0.1.0"
log = "^0.4"
tokio = { version = "1.37.0", features = ["macros", "rt-multi-thread"] }
ts-rs = "8.1"
hex_color = "3.0.0"

[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.25.0"
objc = "0.2.7"

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.52.0", features = [
"Win32_Graphics_Dwm",
"Win32_Foundation",
"Win32_UI_Controls",
] }
winver = "1"
# surrealdb = { version = "1.5.0" }


Expand Down
1 change: 1 addition & 0 deletions src-tauri/src/mac/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod window;
Loading

0 comments on commit e7b879b

Please sign in to comment.