mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
Break on first found app
This commit is contained in:
@@ -67,6 +67,7 @@ setImmediate ->
|
||||
try
|
||||
packagePath = path.join process.resourcesPath, packagePath
|
||||
packageJson = JSON.parse(fs.readFileSync(path.join(packagePath, 'package.json')))
|
||||
break
|
||||
catch e
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user