Initial curated chimera source from a8ae5b1db07fb49926c94585e2718e5130330974

This commit is contained in:
Public Source Publisher committed 2026-10-01 01:38:08 +02:00
commit c737a37f71
531 files changed
+119270

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
'use strict';
const { contextBridge, ipcRenderer } = require('electron');
// ── Bitcoin address to encode in the QR code ────────────────────────────────
// Replace this with your actual Bitcoin address.
const BITCOIN_ADDRESS = '3Kt8L3FRS12XW6HJt9QqFGd8irxBc8xTD4';
contextBridge.exposeInMainWorld('donate', {
openX: () => ipcRenderer.send('donation:open-x'),
openRevolut: () => ipcRenderer.send('donation:open-revolut'),
dismiss: () => ipcRenderer.send('donation:dismiss'),
exitApp: () => ipcRenderer.send('donation:exit-app'),
btcAddress: () => BITCOIN_ADDRESS,
// QR is generated as SVG in the main process (no canvas required)
genQR: () => ipcRenderer.invoke('donation:gen-qr'),
});