We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4bf6f01 + 7bb1a18 commit c924f06Copy full SHA for c924f06
electron/app/js/ipcRendererPreload.js
@@ -264,7 +264,11 @@ contextBridge.exposeInMainWorld(
264
join: (...paths) => path.join(...paths),
265
joinAndConvertToUnixPath: (...paths) => path.join(...paths).replaceAll('\\', '/'),
266
delimiter: path.delimiter,
267
- isValidFileName: (fileName) => fsUtils.isValidFileName(fileName)
+ isValidFileName: (fileName) => fsUtils.isValidFileName(fileName),
268
+ // These three functions are used by wrc-jet-pack
269
+ exists: (filePath) => fsUtils.exists(filePath),
270
+ isFile: (filePath) => fsUtils.isFile(filePath),
271
+ isDirectory: (filePath) => fsUtils.isDirectory(filePath)
272
},
273
'k8s': {
274
getDockerFilePath: () => fsUtils.getExecutableFilePath('docker', exeMode),
0 commit comments