fix(bundler): remove unused code

This commit is contained in:
Noah Klayman 2021-02-11 21:25:12 -08:00
parent 7364f97d24
commit 8f5188c8a2
No known key found for this signature in database
GPG Key ID: BF1CE16C2D4EF62C
2 changed files with 18 additions and 22 deletions

View File

@ -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)?;

View File

@ -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()));