From fc93c2ee573a3471e82c9ea370b32f297f85f385 Mon Sep 17 00:00:00 2001 From: Devon Bontrager Date: Mon, 8 Jun 2026 11:46:58 -0400 Subject: [PATCH] Bump version to 1.3.0 and exclude tauri/ from Electron build The Electron build was accidentally bundling the entire tauri/src-tauri/target Rust build directory into app.asar (1.2GB!), inflating the installer to 304MB. Added a files exclusion so Electron and Tauri builds stay independent. --- package.json | 6 +++++- tauri/package.json | 2 +- tauri/src-tauri/Cargo.lock | 2 +- tauri/src-tauri/Cargo.toml | 2 +- tauri/src-tauri/tauri.conf.json | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5cabcae..62f4f93 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "freight-calculator-pro", - "version": "1.2.0", + "version": "1.3.0", "description": "Professional Freight Class Calculator", "main": "main.js", "scripts": { @@ -17,6 +17,10 @@ "build": { "appId": "com.freightcalc.pro", "productName": "Freight Calculator Pro", + "files": [ + "**/*", + "!tauri/**" + ], "win": { "target": "nsis", "icon": "icon.ico" diff --git a/tauri/package.json b/tauri/package.json index 0eeb37c..917770b 100644 --- a/tauri/package.json +++ b/tauri/package.json @@ -1,6 +1,6 @@ { "name": "freight-calculator-pro-tauri", - "version": "1.2.0", + "version": "1.3.0", "description": "Professional Freight Class Calculator (Tauri shell)", "private": true, "scripts": { diff --git a/tauri/src-tauri/Cargo.lock b/tauri/src-tauri/Cargo.lock index ed787d9..162623c 100644 --- a/tauri/src-tauri/Cargo.lock +++ b/tauri/src-tauri/Cargo.lock @@ -945,7 +945,7 @@ dependencies = [ [[package]] name = "freight-calculator-pro" -version = "1.2.0" +version = "1.3.0" dependencies = [ "log", "serde", diff --git a/tauri/src-tauri/Cargo.toml b/tauri/src-tauri/Cargo.toml index 0b6dd0a..99f123f 100644 --- a/tauri/src-tauri/Cargo.toml +++ b/tauri/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "freight-calculator-pro" -version = "1.2.0" +version = "1.3.0" description = "Professional Freight Class Calculator" authors = ["Devon Bontrager"] license = "ISC" diff --git a/tauri/src-tauri/tauri.conf.json b/tauri/src-tauri/tauri.conf.json index 9c44dc9..6e3e9d0 100644 --- a/tauri/src-tauri/tauri.conf.json +++ b/tauri/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Freight Calculator Pro", - "version": "1.2.0", + "version": "1.3.0", "identifier": "com.freightcalc.pro", "build": { "frontendDist": "../dist"