Skip to content

Commit 78e7cab

Browse files
authored
feat: disable allowlist by default (#246)
* feat: disable allowlist by default * fmt * fix matrix script
1 parent 386e870 commit 78e7cab

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.changes/allowlist-false.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-tauri-app": "patch"
3+
---
4+
5+
Disable allowlist by default for all templates.

.scripts/generate-templates-matrix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ matrixConfig
5757
if (
5858
changedFiles.some(
5959
(e) =>
60-
e.includes(`packages/cli/base`) ||
60+
e.includes(`packages/cli/fragments/base`) ||
6161
e.includes(`packages/cli/fragments/fragment-${t}`) ||
6262
e.includes("packages/cli/src") ||
6363
e.includes("packages/cli/Cargo.toml") ||

packages/cli/fragments/base/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"tauri": {
1414
"allowlist": {
15-
"all": true
15+
"all": false
1616
},
1717
"bundle": {
1818
"active": true,

0 commit comments

Comments
 (0)