mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-05 18:47:50 +03:00
fix(bundler): remove unused code
This commit is contained in:
parent
7364f97d24
commit
8f5188c8a2
@ -65,7 +65,6 @@ pub fn bundle_project(settings: Settings) -> crate::Result<Vec<PathBuf>> {
|
||||
|
||||
#[cfg(windows)]
|
||||
{
|
||||
if let Ok(tauri_config) = get_tauri_config() {
|
||||
let exempt_output = Command::new("CheckNetIsolation")
|
||||
.args(&vec!["LoopbackExempt", "-s"])
|
||||
.output()
|
||||
@ -87,7 +86,6 @@ pub fn bundle_project(settings: Settings) -> crate::Result<Vec<PathBuf>> {
|
||||
.expect("failed to run Loopback command");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
print_finished(&paths)?;
|
||||
|
||||
|
@ -449,9 +449,7 @@ pub fn build_wix_app_installer(
|
||||
|
||||
let mut data = BTreeMap::new();
|
||||
|
||||
if let Ok(tauri_config) = crate::bundle::tauri_config::get() {
|
||||
data.insert("embedded_server", to_json(true));
|
||||
}
|
||||
|
||||
data.insert("product_name", to_json(settings.bundle_name()));
|
||||
data.insert("version", to_json(settings.version_string()));
|
||||
|
Loading…
Reference in New Issue
Block a user