diff --git a/tooling/bench/tests/files_transfer/public/index.html b/tooling/bench/tests/files_transfer/public/index.html index a48e3fffd..2b8c8efcd 100644 --- a/tooling/bench/tests/files_transfer/public/index.html +++ b/tooling/bench/tests/files_transfer/public/index.html @@ -15,7 +15,7 @@ .invoke('tauri', { __tauriModule: 'Fs', message: { - cmd: 'readBinaryFile', + cmd: 'readFile', path: '.tauri_3mb.json', options: { // home folder diff --git a/tooling/bench/tests/files_transfer/src-tauri/tauri.conf.json b/tooling/bench/tests/files_transfer/src-tauri/tauri.conf.json index 12efdce8e..1666be376 100644 --- a/tooling/bench/tests/files_transfer/src-tauri/tauri.conf.json +++ b/tooling/bench/tests/files_transfer/src-tauri/tauri.conf.json @@ -35,7 +35,8 @@ "allowlist": { "all": false, "fs": { - "readFile": true + "readFile": true, + "scope": ["$HOME/.tauri_3mb.json"] } }, "windows": [