Skip to content

Commit 1458321

Browse files
committed
fix: fix incorrect schema path in beta template capability
closes tauri-apps/tauri#9143
1 parent ee69e16 commit 1458321

3 files changed

Lines changed: 8 additions & 18 deletions

File tree

.changes/schema-path-beta.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-tauri-app": "patch"
3+
"create-tauri-app-js": "patch"
4+
---
5+
6+
Fix incorrect schema path in beta temaplate's capability.

templates/_base_/src-tauri/capabilities/%(alpha)%default.json.lte renamed to templates/_base_/src-tauri/capabilities/%(beta)%default.json.lte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "./schemas/desktop-schema.json",
2+
"$schema": "../schemas/desktop-schema.json",
33
"identifier": "default",
44
"description": "Capability for the main window",
55
"windows": ["main"],
@@ -8,8 +8,8 @@
88
"event:default",
99
"window:default",
1010
"app:default",
11-
"resources:default",
1211
"image:default,
12+
"resources:default",
1313
"menu:default",
1414
"tray:default",
1515
"shell:allow-open"

templates/_base_/src-tauri/capabilities/%(beta)%main.json.lte

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)