diff --git a/.changes/react-ts-conf-file.md b/.changes/react-ts-conf-file.md new file mode 100644 index 0000000000..d856e72a43 --- /dev/null +++ b/.changes/react-ts-conf-file.md @@ -0,0 +1,6 @@ +--- +"create-tauri-app": "patch" +"create-tauri-app-js": "patch" +--- + +Fix incorrect allowlist in `react-ts` template by deleting the leftover `tauri.conf.json` file. diff --git a/packages/cli/fragments/fragment-react-ts/src-tauri/tauri.conf.json b/packages/cli/fragments/fragment-react-ts/src-tauri/tauri.conf.json deleted file mode 100644 index 276f3c831d..0000000000 --- a/packages/cli/fragments/fragment-react-ts/src-tauri/tauri.conf.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "build": { - "beforeDevCommand": "{{pkg_manager_run_command}} dev", - "beforeBuildCommand": "{{pkg_manager_run_command}} build", - "devPath": "http://localhost:1420", - "distDir": "../dist" - }, - "package": { - "productName": "{{package_name}}", - "version": "0.0.0" - }, - "tauri": { - "allowlist": { - "all": true - }, - "bundle": { - "active": true, - "category": "DeveloperTool", - "copyright": "", - "deb": { - "depends": [] - }, - "externalBin": [], - "icon": [ - "icons/32x32.png", - "icons/128x128.png", - "icons/128x128@2x.png", - "icons/icon.icns", - "icons/icon.ico" - ], - "identifier": "com.tauri.dev", - "longDescription": "", - "macOS": { - "entitlements": null, - "exceptionDomain": "", - "frameworks": [], - "providerShortName": null, - "signingIdentity": null - }, - "resources": [], - "shortDescription": "", - "targets": "all", - "windows": { - "certificateThumbprint": null, - "digestAlgorithm": "sha256", - "timestampUrl": "" - } - }, - "security": { - "csp": null - }, - "updater": { - "active": false - }, - "windows": [ - { - "fullscreen": false, - "height": 600, - "resizable": true, - "title": "{{package_name}}", - "width": 800 - } - ] - } -}