You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/tauri-config-schema/schema.json
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -109,8 +109,6 @@
109
109
"build": {
110
110
"description": "The build configuration.",
111
111
"default": {
112
-
"devPath": "http://localhost:8080/",
113
-
"distDir": "../dist",
114
112
"withGlobalTauri": false
115
113
},
116
114
"allOf": [
@@ -575,13 +573,18 @@
575
573
"description": "An URL to open on a Tauri webview window.",
576
574
"anyOf": [
577
575
{
578
-
"description": "An external URL.",
576
+
"description": "An external URL. Must use either the `http` or `https` schemes.",
579
577
"type": "string",
580
578
"format": "uri"
581
579
},
582
580
{
583
581
"description": "The path portion of an app URL. For instance, to load `tauri://localhost/users/john`, you can simply provide `users/john` in this configuration.",
584
582
"type": "string"
583
+
},
584
+
{
585
+
"description": "A custom protocol url, for example, `doom://index.html`",
586
+
"type": "string",
587
+
"format": "uri"
585
588
}
586
589
]
587
590
},
@@ -2408,19 +2411,23 @@
2408
2411
},
2409
2412
"devPath": {
2410
2413
"description": "The path to the application assets or URL to load in development.\n\nThis is usually an URL to a dev server, which serves your application assets with live reloading. Most modern JavaScript bundlers provides a way to start a dev server by default.\n\nSee [vite](https://vitejs.dev/guide/), [Webpack DevServer](https://webpack.js.org/configuration/dev-server/) and [sirv](https://github.com/lukeed/sirv) for examples on how to set up a dev server.",
2411
-
"default": "http://localhost:8080/",
2412
-
"allOf": [
2414
+
"anyOf": [
2413
2415
{
2414
2416
"$ref": "#/definitions/AppUrl"
2417
+
},
2418
+
{
2419
+
"type": "null"
2415
2420
}
2416
2421
]
2417
2422
},
2418
2423
"distDir": {
2419
2424
"description": "The path to the application assets or URL to load in production.\n\nWhen a path relative to the configuration file is provided, it is read recursively and all files are embedded in the application binary. Tauri then looks for an `index.html` file unless you provide a custom window URL.\n\nYou can also provide a list of paths to be embedded, which allows granular control over what files are added to the binary. In this case, all files are added to the root and you must reference it that way in your HTML files.\n\nWhen an URL is provided, the application won't have bundled assets and the application will load that URL by default.",
Copy file name to clipboardExpand all lines: core/tauri-utils/CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@
146
146
147
147
### New Features
148
148
149
-
-[`acc36fe1`](https://www.github.com/tauri-apps/tauri/commit/acc36fe1176cc8aa9063bde932abeb94796c5c72)([#6158](https://www.github.com/tauri-apps/tauri/pull/6158)) Add option to configure `require_literal_leading_dot` on `fs` and `asset`protcol scopes.
149
+
-[`acc36fe1`](https://www.github.com/tauri-apps/tauri/commit/acc36fe1176cc8aa9063bde932abeb94796c5c72)([#6158](https://www.github.com/tauri-apps/tauri/pull/6158)) Add option to configure `require_literal_leading_dot` on `fs` and `asset`protocol scopes.
150
150
-[`35cd751a`](https://www.github.com/tauri-apps/tauri/commit/35cd751adc6fef1f792696fa0cfb471b0bf99374)([#5176](https://www.github.com/tauri-apps/tauri/pull/5176)) Added the `desktop_template` option on `tauri.conf.json > tauri > bundle > deb`.
151
151
-[`c4d6fb4b`](https://www.github.com/tauri-apps/tauri/commit/c4d6fb4b1ea8acf02707a9fe5dcab47c1c5bae7b)([#2353](https://www.github.com/tauri-apps/tauri/pull/2353)) Added the `maximizable`, `minimizable` and `closable` options to the window configuration.
152
152
-[`3cb7a3e6`](https://www.github.com/tauri-apps/tauri/commit/3cb7a3e642bb10ee90dc1d24daa48b8c8c15c9ce)([#6997](https://www.github.com/tauri-apps/tauri/pull/6997)) Add `MimeType::parse_with_fallback` and `MimeType::parse_from_uri_with_fallback`
/// See [vite](https://vitejs.dev/guide/), [Webpack DevServer](https://webpack.js.org/configuration/dev-server/) and [sirv](https://github.com/lukeed/sirv)
/// A shell command to run before `tauri dev` kicks in.
1890
1917
///
1891
1918
/// The TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG environment variables are set if you perform conditional compilation.
0 commit comments