mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-03-13 22:29:59 -04:00
allow reusing render process / fix deprecation warning
This commit is contained in:
parent
3cdcb199bd
commit
73a2d3e015
1 changed files with 3 additions and 1 deletions
|
@ -8,8 +8,10 @@ import telemetry from './ScratchDesktopTelemetry';
|
|||
import MacOSMenu from './MacOSMenu';
|
||||
import log from '../common/log.js';
|
||||
|
||||
telemetry.appWasOpened();
|
||||
// suppress deprecation warning; this will be the default in Electron 9
|
||||
app.allowRendererProcessReuse = true;
|
||||
|
||||
telemetry.appWasOpened();
|
||||
|
||||
// const defaultSize = {width: 1096, height: 715}; // minimum
|
||||
const defaultSize = {width: 1280, height: 800}; // good for MAS screenshots
|
||||
|
|
Loading…
Reference in a new issue