Updated Change log script, and builder script.

This commit is contained in:
2026-06-18 10:40:41 -04:00
parent eecc3c805f
commit bf5c887c6c
3 changed files with 15 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
cd src-tauri && cargo clean
cargo tauri build --target x86_64-pc-windows-gnu
+9
View File
@@ -0,0 +1,9 @@
var fake = document.createElement('div');
fake.id = 'fake-alert';
fake.innerHTML = 'FAKE TEST ALERT\nGeo: Test\nElapsed Time: 0:00:01';
fake.style.position = 'fixed';
fake.style.bottom = '0';
fake.style.right = '0';
fake.style.fontSize = '1px';
fake.style.opacity = '0.01';
document.body.appendChild(fake);
+3 -1
View File
@@ -28,7 +28,9 @@
if (!seenAlerts[key]) {
console.log('[DuressGuard] NEW ALERT:', key);
if (window.__TAURI_INTERNALS__) {
window.__TAURI_INTERNALS__.invoke('alert_detected', { name: key });
window.__TAURI_INTERNALS__.invoke('alert_detected', { name: key })
.then(function () { console.log('[DuressGuard] Invoke succeeded'); })
.catch(function (e) { console.log('[DuressGuard] Invoke failed:', e); });
}
try {
var ctx = new AudioContext();