mirror of
https://github.com/Nystik-gh/ignis.git
synced 2026-06-17 04:35:53 +00:00
move shim to new package
This commit is contained in:
15
packages/shim/src/electron/remote/shell.js
Normal file
15
packages/shim/src/electron/remote/shell.js
Normal file
@@ -0,0 +1,15 @@
|
||||
export const shellShim = {
|
||||
openExternal(url) {
|
||||
window.open(url, "_blank");
|
||||
return Promise.resolve();
|
||||
},
|
||||
|
||||
openPath(filePath) {
|
||||
console.log("[shim:shell] openPath (stub):", filePath);
|
||||
return Promise.resolve("");
|
||||
},
|
||||
|
||||
showItemInFolder(filePath) {
|
||||
console.log("[shim:shell] showItemInFolder (stub):", filePath);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user