From: Cheng Zhao Date: Wed, 1 Oct 2014 12:40:52 +0000 (+0800) Subject: Break on first found app X-Git-Tag: v0.17.1~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d754b2bda7e27109d802c56abb8e3e97ed682284;p=electron.git Break on first found app --- diff --git a/atom/browser/lib/init.coffee b/atom/browser/lib/init.coffee index ddfa5616..a00e9adc 100644 --- a/atom/browser/lib/init.coffee +++ b/atom/browser/lib/init.coffee @@ -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