Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Conversation

@chalbin73
Copy link

This corrects #293
Set enableRemoteModule to true, and contextIsolation to false as their default values were not correct (this caused a lot errors in controllers scripts, making the app unusable)

… electron

Set enableRemoteModule to true, and contextIsolation to false as their default values were not correct (this caused a lot errors in controllers scripts, making the app unusable)
@amosmarleym
Copy link

where do i find enable remote module to true, so I can fix it.

@amosmarleym
Copy link

Dosent work

@chalbin73
Copy link
Author

In main.js, for each BrowserWindow add the two commented lines

    width: 600,
    height: 400,
    frame: false,
    transparent: true,
    icon: __dirname + '/app/assets/img/icon.png',
    type: "splash",
    alwaysOnTop: true,
    show: false,
    position: "center",
    resizable: false,
    toolbar: false,
    fullscreen: false,
    webPreferences: {
      nodeIntegration: true,
      //enableRemoteModule: true,
      //contextIsolation; false
    }
  });```

@amosmarleym
Copy link

I have successfully gotten Ahmyth to work. but I cant get it to listen to ports even after using my local Ip address and port number.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants