From 01adee763ff4fbff6b8413f0f42befc1c5ab7cf1 Mon Sep 17 00:00:00 2001 From: Walidoux Date: Sun, 23 Apr 2023 20:12:05 +0100 Subject: [PATCH] refactor(tauri-config): update window config with permissions --- src-tauri/tauri.conf.json | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 80b2156..0d0a656 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -15,8 +15,7 @@ "window": { "close": true, "minimize": true, - "maximize": true, - "unmaximize": true + "startDragging": true }, "os": { "all": false @@ -31,19 +30,6 @@ "path": { "all": true }, - "shell": { - "all": true, - "execute": true, - "sidecar": true, - "open": true, - "scope": [ - { - "name": "download-habbo-downloader", - "cmd": "npm", - "args": ["install", "-g", "habbo-downloader"] - } - ] - }, "http": { "all": true, "request": true, @@ -52,14 +38,8 @@ }, "bundle": { "active": true, - "icon": [ - "icons/32x32.png", - "icons/128x128.png", - "icons/128x128@2x.png", - "icons/icon.icns", - "icons/icon.ico" - ], - "identifier": "com.tauri.dev", + "icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"], + "identifier": "org.rypi.dev", "targets": "all" }, "security": { @@ -71,10 +51,10 @@ "windows": [ { "decorations": false, + "resizable": false, "center": true, - "resizable": true, "width": 1000, - "height": 600 + "height": 575 } ] }