diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e9b9304..2aecc69 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -28,7 +28,7 @@ }, "bundle": { "active": true, - "targets": "all", + "targets": ["nsis"], "icon": [ "icons/32x32.png", "icons/128x128.png", @@ -38,6 +38,9 @@ ], "windows": { "webviewInstallMode": { "type": "embedBootstrapper" } + }, + "resources": { + "../src/*": "./" } } } diff --git a/src/index.html b/src/index.html index b847aeb..0e7c7ed 100644 --- a/src/index.html +++ b/src/index.html @@ -358,7 +358,7 @@
πŸ’° Vales (FuncionΓ‘rios)
-
NomeObsValor (R$)
TOTALR$ 0,00
+
NomeValor (R$)
TOTALR$ 0,00
@@ -576,7 +576,7 @@ let estado = { // ─── Helpers ────────────────────────────────────────────────────────────── const fmt = v => 'R$ ' + (parseFloat(v) || 0).toLocaleString('pt-BR', { minimumFractionDigits: 2 }); -const parseNum = v => parseFloat((v || '0').replace(/\./g,'').replace(',','.')) || 0; +const parseNum = v => parseFloat((String(v) || '0').replace(/\./g,'').replace(',','.')) || 0; const setText = (id, t) => { const e = document.getElementById(id); if (e) e.textContent = t; }; const setVal = (id, v) => { const e = document.getElementById(id); if (e) e.value = v; }; const val = id => { const e = document.getElementById(id); return e ? e.value : ''; };