fix(electron): added macos file associations

This commit is contained in:
2025-08-11 08:30:44 -04:00
parent 6c53e9ca6c
commit d7d7615376
18 changed files with 2497 additions and 43 deletions

View File

@@ -12,6 +12,12 @@ async function handleOpenBundle() {
const bundlePath = await ipcRenderer.invoke('select-file');
if (!bundlePath) return;
await openBundleFromPath(bundlePath);
}
async function openBundleFromPath(bundlePath) {
if (!bundlePath) return;
// Small delay to ensure file dialog closes properly
await new Promise(resolve => setTimeout(resolve, 100));
@@ -249,6 +255,7 @@ function initializeDependencies(deps) {
module.exports = {
initializeDependencies,
handleOpenBundle,
openBundleFromPath,
handleSignBundle,
handleValidateBundle,
handleClearBundle,