diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 4cdbf49..5058a24 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -5,6 +5,11 @@ "windows": ["main"], "permissions": [ "core:default", - "opener:default" + "opener:default", + "core:window:default", + "core:window:allow-start-dragging", + "core:window:allow-minimize", + "core:window:allow-toggle-maximize", + "core:window:allow-close" ] } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f1b5cc4..3fab36d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -14,7 +14,8 @@ { "title": "shark", "width": 800, - "height": 600 + "height": 600, + "decorations": false } ], "security": { diff --git a/src/lib/TitleBar.svelte b/src/lib/TitleBar.svelte new file mode 100644 index 0000000..c1bc2fe --- /dev/null +++ b/src/lib/TitleBar.svelte @@ -0,0 +1,34 @@ + + +
+
shark
+
+ + + +
+
+ + \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte new file mode 100644 index 0000000..eb755eb --- /dev/null +++ b/src/routes/+layout.svelte @@ -0,0 +1,6 @@ + + + + \ No newline at end of file