mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
💄 Update default_app to ES6 conventions
Add space before object literal method
This commit is contained in:
@@ -113,9 +113,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
const electron = require('electron');
|
||||
const remote = electron.remote;
|
||||
const shell = electron.shell;
|
||||
const {remote, shell} = require('electron');
|
||||
|
||||
var execPath = remote.process.execPath;
|
||||
var command = execPath + ' path-to-your-app';
|
||||
|
||||
Reference in New Issue
Block a user