Quentin Renard
Quentin Renard
Mmm I find it weird that JS files would be loaded out of order using a `Window` and not a `BrowserView`... 🤔 Could you share JS errors here? Unfortunately right...
OK I get it. Check out [this comment](https://github.com/asticode/go-astilectron/issues/244#issuecomment-626167003). Do you have control on the website you're loading?
Mmm it seems `module` is `undefined`. Could you try the steps in [this comment](https://github.com/asticode/go-astilectron/issues/147#issuecomment-430136895) to check if this is related to the Electron version. You can bump the Electron version...
What if you add `const module = require("module");` just after `const remote = required('electron').remote;` ?
This is really weird. When I add `console.info(module)` at the top of the [demo JS](https://github.com/asticode/go-astilectron-demo/blob/master/resources/app/static/js/index.js) that is executed in the window, it prints the `Module` object which does have the...
@lexesv did you manage to fix your issue?
You need to use the `remote` module to access `session`. However this module is [deprecated](https://www.electronjs.org/docs/breaking-changes#deprecated-remote-module) and this won't work once `astilectron` uses version 12+ of `Electron`. Therefore you have 2...
You need to use a combination of [x and y](https://github.com/asticode/go-astilectron/blob/master/window.go#L121) and the [display](https://github.com/asticode/go-astilectron/blob/master/astilectron.go#L408) attributes (such as `width` and `height`). Let me know how it goes
> I am aware of that but is it possible to have it auto set there? Unfortunately I don't think so > Every computer is gonna have diffrent axis of...
are you using the `bootstrap` or `astilectron` directly?