message: Fix entrypoint when options are passed to electron
  Change-type: patch
  Changelog-entry: Fix entrypoint when options are passed to electron
diff: @@ -56,8 +56,7 @@ const getApplicationEntryPoint = () => {
  return path.join(process.resourcesPath, 'app.asar')
  }
  - const ENTRY_POINT_ARGV_INDEX = 1
  - const relativeEntryPoint = electron.remote.process.argv[ENTRY_POINT_ARGV_INDEX]
  + const relativeEntryPoint = _.last(electron.remote.process.argv)
  const PROJECT_ROOT = path.join(__dirname, '..', '..', '..', '..')
  return path.resolve(PROJECT_ROOT, relativeEntryPoint)
  