From 6a5ff08ce9052b656aa40accedfd4315825164a3 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Thu, 31 Mar 2022 10:51:17 -0700 Subject: [PATCH] refactor: remove bootstrapper, closes #3786 (#3832) --- .changes/remove-bootstrapper.md | 6 ++ core/tauri-utils/src/config.rs | 7 -- examples/commands/tauri.conf.json | 4 +- examples/helloworld/tauri.conf.json | 4 +- examples/isolation/tauri.conf.json | 4 +- examples/navigation/tauri.conf.json | 4 +- examples/resources/src-tauri/tauri.conf.json | 4 +- examples/sidecar/src-tauri/tauri.conf.json | 4 +- examples/state/tauri.conf.json | 4 +- examples/streaming/tauri.conf.json | 4 +- .../src-tauri/tauri.conf.json | 4 +- examples/updater/src-tauri/tauri.conf.json | 4 +- .../cpu_intensive/src-tauri/tauri.conf.json | 4 +- .../files_transfer/src-tauri/tauri.conf.json | 4 +- .../helloworld/src-tauri/tauri.conf.json | 4 +- tooling/bundler/README.md | 8 +- tooling/bundler/src/bundle/linux/debian.rs | 83 +------------------ tooling/bundler/src/bundle/macos/app.rs | 70 +--------------- tooling/bundler/src/bundle/settings.rs | 12 --- tooling/cli/schema.json | 30 ++----- tooling/cli/src/interface/rust.rs | 2 - .../templates/app/src-tauri/tauri.conf.json | 4 +- .../vanilla/src-tauri/tauri.conf.json | 4 +- .../svelte-app/src-tauri/tauri.conf.json | 4 +- 24 files changed, 33 insertions(+), 249 deletions(-) create mode 100644 .changes/remove-bootstrapper.md diff --git a/.changes/remove-bootstrapper.md b/.changes/remove-bootstrapper.md new file mode 100644 index 000000000..6f535fa96 --- /dev/null +++ b/.changes/remove-bootstrapper.md @@ -0,0 +1,6 @@ +--- +"tauri-bundler": patch +"tauri-utils": patch +--- + +**Breaking change:** Removed the `useBootstrapper` option. Use https://github.com/tauri-apps/fix-path-env-rs instead. diff --git a/core/tauri-utils/src/config.rs b/core/tauri-utils/src/config.rs index 761a7021a..0bff7b817 100644 --- a/core/tauri-utils/src/config.rs +++ b/core/tauri-utils/src/config.rs @@ -91,9 +91,6 @@ impl BundleTarget { pub struct DebConfig { /// The list of deb dependencies your application relies on. pub depends: Option>, - /// Enable the boostrapper script. - #[serde(default)] - pub use_bootstrapper: bool, /// The files to include on the package. #[serde(default)] pub files: HashMap, @@ -136,9 +133,6 @@ pub struct MacConfig { pub exception_domain: Option, /// The path to the license file to add to the DMG bundle. pub license: Option, - /// Enable the boostrapper script. - #[serde(default)] - pub use_bootstrapper: bool, /// Identity to use for code signing. pub signing_identity: Option, /// Provider short name for notarization. @@ -154,7 +148,6 @@ impl Default for MacConfig { minimum_system_version: minimum_system_version(), exception_domain: None, license: None, - use_bootstrapper: false, signing_identity: None, provider_short_name: None, entitlements: None, diff --git a/examples/commands/tauri.conf.json b/examples/commands/tauri.conf.json index 9ff77ef6f..7164c83c6 100644 --- a/examples/commands/tauri.conf.json +++ b/examples/commands/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/helloworld/tauri.conf.json b/examples/helloworld/tauri.conf.json index d299a317c..09bc55c96 100644 --- a/examples/helloworld/tauri.conf.json +++ b/examples/helloworld/tauri.conf.json @@ -24,12 +24,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/isolation/tauri.conf.json b/examples/isolation/tauri.conf.json index 70bfca09f..f15807dab 100644 --- a/examples/isolation/tauri.conf.json +++ b/examples/isolation/tauri.conf.json @@ -35,12 +35,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "", "signingIdentity": null, "entitlements": null diff --git a/examples/navigation/tauri.conf.json b/examples/navigation/tauri.conf.json index 5a2d233cf..0a64be7ae 100644 --- a/examples/navigation/tauri.conf.json +++ b/examples/navigation/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/resources/src-tauri/tauri.conf.json b/examples/resources/src-tauri/tauri.conf.json index f1abcf963..d10e4513e 100644 --- a/examples/resources/src-tauri/tauri.conf.json +++ b/examples/resources/src-tauri/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/sidecar/src-tauri/tauri.conf.json b/examples/sidecar/src-tauri/tauri.conf.json index 596b13c46..b90046e50 100644 --- a/examples/sidecar/src-tauri/tauri.conf.json +++ b/examples/sidecar/src-tauri/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/state/tauri.conf.json b/examples/state/tauri.conf.json index 9ff77ef6f..7164c83c6 100644 --- a/examples/state/tauri.conf.json +++ b/examples/state/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/streaming/tauri.conf.json b/examples/streaming/tauri.conf.json index 8a5e84a71..4a85ce235 100644 --- a/examples/streaming/tauri.conf.json +++ b/examples/streaming/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/tauri-dynamic-lib/src-tauri/tauri.conf.json b/examples/tauri-dynamic-lib/src-tauri/tauri.conf.json index a93774057..3e71fd3fc 100644 --- a/examples/tauri-dynamic-lib/src-tauri/tauri.conf.json +++ b/examples/tauri-dynamic-lib/src-tauri/tauri.conf.json @@ -24,12 +24,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/examples/updater/src-tauri/tauri.conf.json b/examples/updater/src-tauri/tauri.conf.json index 99b839ab7..37d18442e 100644 --- a/examples/updater/src-tauri/tauri.conf.json +++ b/examples/updater/src-tauri/tauri.conf.json @@ -24,14 +24,12 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "signingIdentity": null, "entitlements": "../entitlements.plist", "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" }, "windows": { diff --git a/tooling/bench/tests/cpu_intensive/src-tauri/tauri.conf.json b/tooling/bench/tests/cpu_intensive/src-tauri/tauri.conf.json index ffaf51b1a..1cf73adc7 100644 --- a/tooling/bench/tests/cpu_intensive/src-tauri/tauri.conf.json +++ b/tooling/bench/tests/cpu_intensive/src-tauri/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, 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 1abccf226..12efdce8e 100644 --- a/tooling/bench/tests/files_transfer/src-tauri/tauri.conf.json +++ b/tooling/bench/tests/files_transfer/src-tauri/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/tooling/bench/tests/helloworld/src-tauri/tauri.conf.json b/tooling/bench/tests/helloworld/src-tauri/tauri.conf.json index ffaf51b1a..1cf73adc7 100644 --- a/tooling/bench/tests/helloworld/src-tauri/tauri.conf.json +++ b/tooling/bench/tests/helloworld/src-tauri/tauri.conf.json @@ -25,12 +25,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } }, diff --git a/tooling/bundler/README.md b/tooling/bundler/README.md index 871920659..61c28b1ad 100644 --- a/tooling/bundler/README.md +++ b/tooling/bundler/README.md @@ -48,7 +48,6 @@ These settings are used only when bundling `deb` packages. * `depends`: A list of strings indicating other packages (e.g. shared libraries) that this package depends on to be installed. If present, this forms the `Depends:` field of the `deb` package control file. -* `use_bootstrapper`: Enables the bootstrapper script, which allows access to the environment variables. ### Mac OS X-specific settings @@ -75,7 +74,6 @@ These settings are used only when bundling `app` and `dmg` packages. you want) to ensure that the compiled binary has the same minimum version. * `license`: Path to the license file for the DMG bundle. * `exception_domain`: The exception domain to use on the macOS .app bundle. Allows communication to the outside world e.g. a web server you're shipping. -* `use_bootstrapper`: Enables the bootstrapper script, which allows access to the environment variables. * `provider_short_name`: If your Apple ID is connected to multiple teams, you have to specify the provider short name of the team you want to use to notarize your app. See [Customizing the notarization workflow](https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow) and search for `--list-providers` for more information how to obtain your provider short name. ### Example `tauri.conf.json`: @@ -102,14 +100,12 @@ These settings are used only when bundling `app` and `dmg` packages. ], "resources": ["./assets/**/*.png"], "deb": { - "depends": ["debian-dependency1", "debian-dependency2"], - "useBootstrapper": true + "depends": ["debian-dependency1", "debian-dependency2"] }, "macOS": { "frameworks": [], "minimumSystemVersion": "10.11", - "license": "./LICENSE", - "useBootstrapper": true + "license": "./LICENSE" }, "externalBin": ["./sidecar-app"] } diff --git a/tooling/bundler/src/bundle/linux/debian.rs b/tooling/bundler/src/bundle/linux/debian.rs index 07a59323a..66d1c6d65 100644 --- a/tooling/bundler/src/bundle/linux/debian.rs +++ b/tooling/bundler/src/bundle/linux/debian.rs @@ -29,7 +29,6 @@ use anyhow::Context; use heck::ToKebabCase; use image::{self, codecs::png::PngDecoder, GenericImageView, ImageDecoder}; use libflate::gzip; -use std::process::{Command, Stdio}; use walkdir::WalkDir; use std::{ @@ -128,80 +127,9 @@ pub fn generate_data( generate_icon_files(settings, &data_dir).with_context(|| "Failed to create icon files")?; generate_desktop_file(settings, &data_dir).with_context(|| "Failed to create desktop file")?; - let use_bootstrapper = settings.deb().use_bootstrapper.unwrap_or_default(); - if use_bootstrapper { - generate_bootstrap_file(settings, &data_dir) - .with_context(|| "Failed to generate bootstrap file")?; - } - Ok((data_dir, icons)) } -/// Generates the bootstrap script file. -fn generate_bootstrap_file(settings: &Settings, data_dir: &Path) -> crate::Result<()> { - let bin_name = settings.main_binary_name(); - let bin_dir = data_dir.join("usr/bin"); - - let bootstrap_file_name = format!("__{}-bootstrapper", bin_name); - let bootstrapper_file_path = bin_dir.join(bootstrap_file_name.clone()); - let bootstrapper_file = &mut common::create_file(&bootstrapper_file_path)?; - write!( - bootstrapper_file, - "#!/usr/bin/env sh -# This bootstraps the environment for Tauri, so environments are available. -export NVM_DIR=\"$([ -z \"${{XDG_CONFIG_HOME-}}\" ] && printf %s \"${{HOME}}/.nvm\" || printf %s \"${{XDG_CONFIG_HOME}}/nvm\")\" -[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\" - -if [ -e ~/.bash_profile ] -then - source ~/.bash_profile -fi -if [ -e ~/.zprofile ] -then - source ~/.zprofile -fi -if [ -e ~/.profile ] -then - source ~/.profile -fi -if [ -e ~/.bashrc ] -then - source ~/.bashrc -fi -if [ -e ~/.zshrc ] -then - source ~/.zshrc -fi - -echo $PATH - -source /etc/profile - -if pidof -x \"{}\" >/dev/null; then - exit 0 -else - Exec=/usr/bin/env /usr/bin/{} $@ & disown -fi -exit 0", - bootstrap_file_name, bin_name - )?; - bootstrapper_file.flush()?; - - let status = Command::new("chmod") - .arg("+x") - .arg(bootstrap_file_name) - .current_dir(&bin_dir) - .stdout(Stdio::piped()) - .stderr(Stdio::piped()) - .status()?; - - if !status.success() { - return Err(anyhow::anyhow!("failed to make the bootstrapper an executable",).into()); - } - - Ok(()) -} - /// Generate the application desktop file and store it under the `data_dir`. fn generate_desktop_file(settings: &Settings, data_dir: &Path) -> crate::Result<()> { let bin_name = settings.main_binary_name(); @@ -221,16 +149,7 @@ fn generate_desktop_file(settings: &Settings, data_dir: &Path) -> crate::Result< if !settings.short_description().is_empty() { writeln!(file, "Comment={}", settings.short_description())?; } - let use_bootstrapper = settings.deb().use_bootstrapper.unwrap_or_default(); - writeln!( - file, - "Exec={}", - if use_bootstrapper { - format!("__{}-bootstrapper", bin_name) - } else { - bin_name.to_string() - } - )?; + writeln!(file, "Exec={}", bin_name)?; writeln!(file, "Icon={}", bin_name)?; writeln!(file, "Name={}", settings.product_name())?; writeln!(file, "Terminal=false")?; diff --git a/tooling/bundler/src/bundle/macos/app.rs b/tooling/bundler/src/bundle/macos/app.rs index d04884936..769456d2a 100644 --- a/tooling/bundler/src/bundle/macos/app.rs +++ b/tooling/bundler/src/bundle/macos/app.rs @@ -80,12 +80,6 @@ pub fn bundle_project(settings: &Settings) -> crate::Result> { copy_binaries_to_bundle(&bundle_directory, settings)?; - let use_bootstrapper = settings.macos().use_bootstrapper.unwrap_or_default(); - if use_bootstrapper { - create_bootstrapper(&bundle_directory, settings) - .with_context(|| "Failed to create macOS bootstrapper")?; - } - if let Some(identity) = &settings.macos().signing_identity { // setup keychain allow you to import your certificate // for CI build @@ -117,63 +111,6 @@ fn copy_binaries_to_bundle(bundle_directory: &Path, settings: &Settings) -> crat Ok(()) } -// Creates the bootstrap script file. -fn create_bootstrapper(bundle_dir: &Path, settings: &Settings) -> crate::Result<()> { - let file = &mut common::create_file(&bundle_dir.join("MacOS/__bootstrapper"))?; - // Create a shell script to bootstrap the $PATH for Tauri, so environments like node are available. - write!( - file, - "#!/usr/bin/env sh -# This bootstraps the environment for Tauri, so environments are available. - -if [ -e ~/.bash_profile ] -then - . ~/.bash_profile -fi -if [ -e ~/.zprofile ] -then - . ~/.zprofile -fi -if [ -e ~/.profile ] -then - . ~/.profile -fi -if [ -e ~/.bashrc ] -then - . ~/.bashrc -fi - -if [ -e ~/.zshrc ] -then - . ~/.zshrc -fi - -if pidof \"__bootstrapper\" >/dev/null; then - exit 0 -else - exec \"`dirname \\\"$0\\\"`/{}\" $@ & disown -fi -exit 0", - settings.product_name() - )?; - file.flush()?; - - // We have to make the __bootstrapper executable, or the bundle will not work - let status = Command::new("chmod") - .arg("+x") - .arg("__bootstrapper") - .current_dir(&bundle_dir.join("MacOS/")) - .stdout(Stdio::piped()) - .stderr(Stdio::piped()) - .status()?; - - if !status.success() { - return Err(anyhow::anyhow!("failed to make the bootstrapper an executable",).into()); - } - - Ok(()) -} - // Creates the Info.plist file. fn create_info_plist( bundle_dir: &Path, @@ -188,7 +125,6 @@ fn create_info_plist( let bundle_plist_path = bundle_dir.join("Info.plist"); let file = &mut common::create_file(&bundle_plist_path)?; - let use_bootstrapper = settings.macos().use_bootstrapper.unwrap_or_default(); write!( file, "\n\ @@ -210,11 +146,7 @@ fn create_info_plist( write!( file, " CFBundleExecutable\n {}\n", - if use_bootstrapper { - "__bootstrapper" - } else { - settings.main_binary_name() - } + settings.main_binary_name() )?; if let Some(path) = bundle_icon_file { write!( diff --git a/tooling/bundler/src/bundle/settings.rs b/tooling/bundler/src/bundle/settings.rs index 21618e847..a13ba21cc 100644 --- a/tooling/bundler/src/bundle/settings.rs +++ b/tooling/bundler/src/bundle/settings.rs @@ -126,12 +126,6 @@ pub struct DebianSettings { // OS-specific settings: /// the list of debian dependencies. pub depends: Option>, - /// whether we should use the bootstrap script on debian or not. - /// - /// this script goal is to allow your app to access environment variables e.g $PATH. - /// - /// without it, you can't run some applications installed by the user. - pub use_bootstrapper: Option, /// List of custom files to add to the deb package. /// Maps the path on the debian package to the path of the file to include (relative to the current working directory). pub files: HashMap, @@ -157,12 +151,6 @@ pub struct MacOsSettings { /// The path to the LICENSE file for macOS apps. /// Currently only used by the dmg bundle. pub license: Option, - /// whether we should use the bootstrap script on macOS .app or not. - /// - /// this script goal is to allow your app to access environment variables e.g $PATH. - /// - /// without it, you can't run some applications installed by the user. - pub use_bootstrapper: Option, /// The exception domain to use on the macOS .app bundle. /// /// This allows communication to the outside world e.g. a web server you're shipping. diff --git a/tooling/cli/schema.json b/tooling/cli/schema.json index 7113fb59a..99e14f710 100644 --- a/tooling/cli/schema.json +++ b/tooling/cli/schema.json @@ -134,14 +134,12 @@ "bundle": { "active": false, "deb": { - "files": {}, - "useBootstrapper": false + "files": {} }, "icon": [], "identifier": "", "macOS": { - "minimumSystemVersion": "10.13", - "useBootstrapper": false + "minimumSystemVersion": "10.13" }, "windows": { "allowDowngrades": true, @@ -482,8 +480,7 @@ "deb": { "description": "Configuration for the Debian bundle.", "default": { - "files": {}, - "useBootstrapper": false + "files": {} }, "allOf": [ { @@ -523,8 +520,7 @@ "macOS": { "description": "Configuration for the macOS bundles.", "default": { - "minimumSystemVersion": "10.13", - "useBootstrapper": false + "minimumSystemVersion": "10.13" }, "allOf": [ { @@ -925,11 +921,6 @@ "additionalProperties": { "type": "string" } - }, - "useBootstrapper": { - "description": "Enable the boostrapper script.", - "default": false, - "type": "boolean" } }, "additionalProperties": false @@ -1168,11 +1159,6 @@ "string", "null" ] - }, - "useBootstrapper": { - "description": "Enable the boostrapper script.", - "default": false, - "type": "boolean" } }, "additionalProperties": false @@ -1637,14 +1623,12 @@ "default": { "active": false, "deb": { - "files": {}, - "useBootstrapper": false + "files": {} }, "icon": [], "identifier": "", "macOS": { - "minimumSystemVersion": "10.13", - "useBootstrapper": false + "minimumSystemVersion": "10.13" }, "windows": { "allowDowngrades": true, @@ -2258,4 +2242,4 @@ "additionalProperties": false } } -} +} \ No newline at end of file diff --git a/tooling/cli/src/interface/rust.rs b/tooling/cli/src/interface/rust.rs index d9ad15457..634fb084f 100644 --- a/tooling/cli/src/interface/rust.rs +++ b/tooling/cli/src/interface/rust.rs @@ -456,14 +456,12 @@ fn tauri_config_to_bundle_settings( } else { Some(depends) }, - use_bootstrapper: Some(config.deb.use_bootstrapper), files: config.deb.files, }, macos: MacOsSettings { frameworks: config.macos.frameworks, minimum_system_version: config.macos.minimum_system_version, license: config.macos.license, - use_bootstrapper: Some(config.macos.use_bootstrapper), exception_domain: config.macos.exception_domain, signing_identity, provider_short_name, diff --git a/tooling/cli/templates/app/src-tauri/tauri.conf.json b/tooling/cli/templates/app/src-tauri/tauri.conf.json index d2871684a..79829f625 100644 --- a/tooling/cli/templates/app/src-tauri/tauri.conf.json +++ b/tooling/cli/templates/app/src-tauri/tauri.conf.json @@ -28,12 +28,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "", "signingIdentity": null, "providerShortName": null, diff --git a/tooling/cli/templates/plugin/backend/examples/vanilla/src-tauri/tauri.conf.json b/tooling/cli/templates/plugin/backend/examples/vanilla/src-tauri/tauri.conf.json index 9eab8e89c..a1f6e0f7e 100644 --- a/tooling/cli/templates/plugin/backend/examples/vanilla/src-tauri/tauri.conf.json +++ b/tooling/cli/templates/plugin/backend/examples/vanilla/src-tauri/tauri.conf.json @@ -26,12 +26,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "", "signingIdentity": null, "entitlements": null diff --git a/tooling/cli/templates/plugin/with-api/examples/svelte-app/src-tauri/tauri.conf.json b/tooling/cli/templates/plugin/with-api/examples/svelte-app/src-tauri/tauri.conf.json index 36a0875d8..a38c6b9b7 100644 --- a/tooling/cli/templates/plugin/with-api/examples/svelte-app/src-tauri/tauri.conf.json +++ b/tooling/cli/templates/plugin/with-api/examples/svelte-app/src-tauri/tauri.conf.json @@ -24,12 +24,10 @@ "shortDescription": "", "longDescription": "", "deb": { - "depends": [], - "useBootstrapper": false + "depends": [] }, "macOS": { "frameworks": [], - "useBootstrapper": false, "exceptionDomain": "" } },