Skip to content

Commit c4f305c

Browse files
authored
Merge pull request #4 from zenoxs/fix-windows-background
Fix Windows background
2 parents 70f5570 + f6d3c46 commit c4f305c

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "tauri-appcenter-companion",
33
"private": false,
44
"repository": "https://github.com/zenoxs/tauri-appcenter-companion",
5-
"version": "0.4.0",
5+
"version": "0.4.1",
66
"license": "GPL-3.0",
77
"author": "Amaury CIVIER",
88
"scripts": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tauri-appcenter-companion"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "Companion app for Appcenter"
55
authors = ["Amaury CIVIER"]
66
license = "GPL-3.0"

src-tauri/src/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ use window_vibrancy::apply_mica;
2323
#[tauri::command]
2424
async fn frontend_ready(window: tauri::Window) {
2525
window.get_window("main").unwrap().show().unwrap();
26+
window
27+
.get_window("main")
28+
.unwrap()
29+
.set_decorations(true)
30+
.unwrap();
2631
}
2732

2833
fn main() {

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"package": {
33
"productName": "AC Companion",
4-
"version": "0.4.0"
4+
"version": "0.4.1"
55
},
66
"build": {
77
"distDir": "../dist",
@@ -78,7 +78,7 @@
7878
"height": 600,
7979
"transparent": true,
8080
"resizable": true,
81-
"decorations": true,
81+
"decorations": false,
8282
"fullscreen": false,
8383
"visible": false,
8484
"focus": true

0 commit comments

Comments
 (0)