Skip to content

Commit 6a5ff08

Browse files
authored
refactor: remove bootstrapper, closes #3786 (#3832)
1 parent 985d250 commit 6a5ff08

File tree

24 files changed

+33
-249
lines changed

24 files changed

+33
-249
lines changed

.changes/remove-bootstrapper.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-bundler": patch
3+
"tauri-utils": patch
4+
---
5+
6+
**Breaking change:** Removed the `useBootstrapper` option. Use https://github.com/tauri-apps/fix-path-env-rs instead.

core/tauri-utils/src/config.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ impl BundleTarget {
9191
pub struct DebConfig {
9292
/// The list of deb dependencies your application relies on.
9393
pub depends: Option<Vec<String>>,
94-
/// Enable the boostrapper script.
95-
#[serde(default)]
96-
pub use_bootstrapper: bool,
9794
/// The files to include on the package.
9895
#[serde(default)]
9996
pub files: HashMap<PathBuf, PathBuf>,
@@ -136,9 +133,6 @@ pub struct MacConfig {
136133
pub exception_domain: Option<String>,
137134
/// The path to the license file to add to the DMG bundle.
138135
pub license: Option<String>,
139-
/// Enable the boostrapper script.
140-
#[serde(default)]
141-
pub use_bootstrapper: bool,
142136
/// Identity to use for code signing.
143137
pub signing_identity: Option<String>,
144138
/// Provider short name for notarization.
@@ -154,7 +148,6 @@ impl Default for MacConfig {
154148
minimum_system_version: minimum_system_version(),
155149
exception_domain: None,
156150
license: None,
157-
use_bootstrapper: false,
158151
signing_identity: None,
159152
provider_short_name: None,
160153
entitlements: None,

examples/commands/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
"shortDescription": "",
2626
"longDescription": "",
2727
"deb": {
28-
"depends": [],
29-
"useBootstrapper": false
28+
"depends": []
3029
},
3130
"macOS": {
3231
"frameworks": [],
33-
"useBootstrapper": false,
3432
"exceptionDomain": ""
3533
}
3634
},

examples/helloworld/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@
2424
"shortDescription": "",
2525
"longDescription": "",
2626
"deb": {
27-
"depends": [],
28-
"useBootstrapper": false
27+
"depends": []
2928
},
3029
"macOS": {
3130
"frameworks": [],
32-
"useBootstrapper": false,
3331
"exceptionDomain": ""
3432
}
3533
},

examples/isolation/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@
3535
"shortDescription": "",
3636
"longDescription": "",
3737
"deb": {
38-
"depends": [],
39-
"useBootstrapper": false
38+
"depends": []
4039
},
4140
"macOS": {
4241
"frameworks": [],
43-
"useBootstrapper": false,
4442
"exceptionDomain": "",
4543
"signingIdentity": null,
4644
"entitlements": null

examples/navigation/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
"shortDescription": "",
2626
"longDescription": "",
2727
"deb": {
28-
"depends": [],
29-
"useBootstrapper": false
28+
"depends": []
3029
},
3130
"macOS": {
3231
"frameworks": [],
33-
"useBootstrapper": false,
3432
"exceptionDomain": ""
3533
}
3634
},

examples/resources/src-tauri/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
"shortDescription": "",
2626
"longDescription": "",
2727
"deb": {
28-
"depends": [],
29-
"useBootstrapper": false
28+
"depends": []
3029
},
3130
"macOS": {
3231
"frameworks": [],
33-
"useBootstrapper": false,
3432
"exceptionDomain": ""
3533
}
3634
},

examples/sidecar/src-tauri/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
"shortDescription": "",
2626
"longDescription": "",
2727
"deb": {
28-
"depends": [],
29-
"useBootstrapper": false
28+
"depends": []
3029
},
3130
"macOS": {
3231
"frameworks": [],
33-
"useBootstrapper": false,
3432
"exceptionDomain": ""
3533
}
3634
},

examples/state/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
"shortDescription": "",
2626
"longDescription": "",
2727
"deb": {
28-
"depends": [],
29-
"useBootstrapper": false
28+
"depends": []
3029
},
3130
"macOS": {
3231
"frameworks": [],
33-
"useBootstrapper": false,
3432
"exceptionDomain": ""
3533
}
3634
},

examples/streaming/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
"shortDescription": "",
2626
"longDescription": "",
2727
"deb": {
28-
"depends": [],
29-
"useBootstrapper": false
28+
"depends": []
3029
},
3130
"macOS": {
3231
"frameworks": [],
33-
"useBootstrapper": false,
3432
"exceptionDomain": ""
3533
}
3634
},

0 commit comments

Comments
 (0)