Summary: Fixed the issue with empty plugin list on Windows because of env var length limit Reviewed By: passy Differential Revision: D19411466 fbshipit-source-id: 7fa390f7dd342e23e965b2135fbeb8e88e5857ef
25 lines
485 B
TypeScript
25 lines
485 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
module.exports = {
|
|
remote: {
|
|
process: {
|
|
env: {},
|
|
},
|
|
app: {
|
|
getAppPath: process.cwd,
|
|
getVersion: () => '0.9.99',
|
|
relaunch: () => {},
|
|
exit: () => {},
|
|
},
|
|
getCurrentWindow: () => ({isFocused: () => true}),
|
|
},
|
|
ipcRenderer: {},
|
|
};
|