Updated Change log script, and builder script.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd src-tauri && cargo clean
|
||||
cargo tauri build --target x86_64-pc-windows-gnu
|
||||
@@ -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
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user