small fixes and bump version

This commit is contained in:
Ren Amamiya
2023-09-29 12:40:02 +07:00
parent 700f3eb85f
commit 09b3eeda99
12 changed files with 22 additions and 52 deletions

2
src-tauri/Cargo.lock generated
View File

@@ -2638,7 +2638,7 @@ dependencies = [
[[package]]
name = "lume"
version = "1.2.5"
version = "1.2.6"
dependencies = [
"cocoa 0.25.0",
"objc",

View File

@@ -1,6 +1,6 @@
[package]
name = "lume"
version = "1.2.5"
version = "1.2.6"
description = "the communication app"
authors = ["Ren Amamiya"]
license = "GPL-3.0"
@@ -11,12 +11,13 @@ rust-version = "1.66"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
tauri-build = { version = "1.4", features = [] }
tauri-build = { version = "1.4.1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.4", features = [ "macos-private-api",
tauri = { version = "1.5", features = [
"macos-private-api",
"window-close",
"window-print",
"window-create",

View File

@@ -112,8 +112,6 @@ fn main() {
apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, None, None)
.expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");
#[cfg(target_os = "macos")]
window.set_transparent_titlebar(true);
#[cfg(target_os = "macos")]
window.position_traffic_lights(16.0, 25.0);

View File

@@ -9,7 +9,7 @@
},
"package": {
"productName": "Lume",
"version": "1.2.5"
"version": "1.2.6"
},
"tauri": {
"allowlist": {

View File

@@ -3,8 +3,8 @@
"tauri": {
"windows": [
{
"width": 400,
"height": 500,
"width": 300,
"height": 300,
"decorations": false,
"title": "Lume",
"center": true,

View File

@@ -4,9 +4,9 @@
"macOSPrivateApi": true,
"windows": [
{
"width": 400,
"height": 500,
"decorations": true,
"width": 300,
"height": 300,
"decorations": false,
"title": "Lume",
"titleBarStyle": "Overlay",
"hiddenTitle": true,

View File

@@ -3,8 +3,8 @@
"tauri": {
"windows": [
{
"width": 400,
"height": 500,
"width": 300,
"height": 300,
"decorations": false,
"title": "Lume",
"center": true,