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.
This commit is contained in:
Devon Bontrager
2026-06-08 11:46:58 -04:00
parent e5ed1d3c9f
commit fc93c2ee57
5 changed files with 9 additions and 5 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "freight-calculator-pro", "name": "freight-calculator-pro",
"version": "1.2.0", "version": "1.3.0",
"description": "Professional Freight Class Calculator", "description": "Professional Freight Class Calculator",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
@@ -17,6 +17,10 @@
"build": { "build": {
"appId": "com.freightcalc.pro", "appId": "com.freightcalc.pro",
"productName": "Freight Calculator Pro", "productName": "Freight Calculator Pro",
"files": [
"**/*",
"!tauri/**"
],
"win": { "win": {
"target": "nsis", "target": "nsis",
"icon": "icon.ico" "icon": "icon.ico"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "freight-calculator-pro-tauri", "name": "freight-calculator-pro-tauri",
"version": "1.2.0", "version": "1.3.0",
"description": "Professional Freight Class Calculator (Tauri shell)", "description": "Professional Freight Class Calculator (Tauri shell)",
"private": true, "private": true,
"scripts": { "scripts": {
+1 -1
View File
@@ -945,7 +945,7 @@ dependencies = [
[[package]] [[package]]
name = "freight-calculator-pro" name = "freight-calculator-pro"
version = "1.2.0" version = "1.3.0"
dependencies = [ dependencies = [
"log", "log",
"serde", "serde",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "freight-calculator-pro" name = "freight-calculator-pro"
version = "1.2.0" version = "1.3.0"
description = "Professional Freight Class Calculator" description = "Professional Freight Class Calculator"
authors = ["Devon Bontrager"] authors = ["Devon Bontrager"]
license = "ISC" license = "ISC"
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "Freight Calculator Pro", "productName": "Freight Calculator Pro",
"version": "1.2.0", "version": "1.3.0",
"identifier": "com.freightcalc.pro", "identifier": "com.freightcalc.pro",
"build": { "build": {
"frontendDist": "../dist" "frontendDist": "../dist"