Timeo Williams

Results 13 comments of Timeo Williams

@acalcutt - same issue. Currently im checking out the `master` branch to make this action work, but it would be nice to have the option to configure the options of...

Requesting assignment

@qualwebs @sidh01 @Ladvace I had the same error: ``` Error getting active window: Error: spawn ENOTDIR at ChildProcess.spawn (node:internal/child_process:421:11) at spawn (node:child_process:776:9) at execFile (node:child_process:351:17) at node:child_process:243:21 at activeWindow (file:///Applications/deepfocus.app/Contents/Resources/app.asar/node_modules/get-windows/lib/macos.js:38:25)...

@trinhxyz : https://github.com/Tech-Nest-Ventures/get-windows/blob/main/lib/macos.js Something similar to this. I use `electron-builder` right now in combination with https://electron-vite.org/

@trinhxyz , Ended up straying away quite a bit from this repo, but if you're interested in just using the dependency without having to mess with the code/just install, feel...

@Ladvace , 100%! Was using the wrong method. Please change this in `node_modules/get-windows/lib/macos.js` ```js const isPackaged = process.main?.filename.indexOf("app.asar") !== undefined; ``` to this: ```js const isPackaged = process.resourcesPath !== process.cwd();...

@jjfufu , could you share more code (imports and exports)? Also what repo are you currently running?

Which OS and version are you currently using? Electron has 3 different processes ([preload, main & renderer](https://www.electronjs.org/docs/latest/tutorial/process-model)) > which process context is this code being ran in? Are you currently...