Discuss Scratch
- Discussion Forums
- » New Scratchers
- » scratch-gui desktop application using Electron.
- crypticMake
-
New Scratcher
1 post
scratch-gui desktop application using Electron.
Hello everyone,
i'm trying to make scratch desktop application (offline) with the help of electron. Basically i'm trying to create EXE of scratch 3.0.
i'm getting some errors and how do i set entry file of scratch in electron loadfile().
How can i initialize scratch 3.0 in electron .
This in my main.js file for creating exe
const {app, BrowserWindow} = require('electron');
let mainWindow;
app.on('ready', function(){
mainWindow = new BrowserWindow({});
mainWindow.loadFile('./src/renderer/index.html');
});
app.allowRendererProcessReuse = true;
is there any option to make this possible. please reply.
i'm trying to make scratch desktop application (offline) with the help of electron. Basically i'm trying to create EXE of scratch 3.0.
i'm getting some errors and how do i set entry file of scratch in electron loadfile().
How can i initialize scratch 3.0 in electron .
This in my main.js file for creating exe
const {app, BrowserWindow} = require('electron');
let mainWindow;
app.on('ready', function(){
mainWindow = new BrowserWindow({});
mainWindow.loadFile('./src/renderer/index.html');
});
app.allowRendererProcessReuse = true;
is there any option to make this possible. please reply.
- dhuls
-
Scratcher
1000+ posts
scratch-gui desktop application using Electron.
The offline editor already uses Electron.- Discussion Forums
- » New Scratchers
-
» scratch-gui desktop application using Electron.