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:
19
packages/shim/src/process.js
Normal file
19
packages/shim/src/process.js
Normal file
@@ -0,0 +1,19 @@
|
||||
export const processShim = {
|
||||
platform: "linux",
|
||||
versions: {
|
||||
electron: "28.2.3",
|
||||
node: "18.18.0",
|
||||
chrome: "120.0.0.0",
|
||||
},
|
||||
env: {},
|
||||
cwd: () => "/",
|
||||
nextTick: (fn, ...args) => setTimeout(() => fn(...args), 0),
|
||||
argv: [],
|
||||
type: "renderer",
|
||||
resourcesPath: "/",
|
||||
stdout: { write: (s) => console.log(s) },
|
||||
stderr: { write: (s) => console.error(s) },
|
||||
on: () => {},
|
||||
once: () => {},
|
||||
removeListener: () => {},
|
||||
};
|
||||
Reference in New Issue
Block a user