From f6b96612e031d6c0cacc445a15c2b47293a933b3 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Wed, 29 Nov 2023 23:49:04 -0500 Subject: [PATCH] (misc) Change the bundle identifier & Enable writing files to the app data directory --- src-tauri/tauri.conf.json | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index cc9c208..f93364a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -7,23 +7,24 @@ }, "package": { "productName": "Cultivation", - "version": "0.0.0" + "version": "0.1.0" }, "tauri": { "allowlist": { - "all": false, - "shell": { - "all": false, - "open": true + "fs": { + "scope": ["$DATA", "$DATA/io.grasscutter.cultivation", "$DATA/io.grasscutter.cultivation/**"] }, - "window": { - "startDragging": true - } + "protocol": { + "all": true, + "asset": true, + "assetScope": ["$DATA", "$DATA/io.grasscutter.cultivation", "$DATA/io.grasscutter.cultivation/**"] + }, + "all": true }, "bundle": { "active": true, "targets": "all", - "identifier": "com.tauri.dev", + "identifier": "io.grasscutter.cultivation", "icon": [ "icons/32x32.png", "icons/128x128.png",