Files
ignis/shims/electron/remote/shell.js

16 lines
345 B
JavaScript
Raw Normal View History

2026-03-07 14:38:51 +01:00
export const shellShim = {
openExternal(url) {
2026-03-11 22:08:30 +01:00
window.open(url, "_blank");
2026-03-07 14:38:51 +01:00
return Promise.resolve();
},
openPath(filePath) {
2026-03-11 22:08:30 +01:00
console.log("[shim:shell] openPath (stub):", filePath);
return Promise.resolve("");
2026-03-07 14:38:51 +01:00
},
showItemInFolder(filePath) {
2026-03-11 22:08:30 +01:00
console.log("[shim:shell] showItemInFolder (stub):", filePath);
2026-03-07 14:38:51 +01:00
},
};