diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -184,10 +184,11 @@ class SendFeedback extends HTMLElement {
       throw new Error('Reporter is not set yet!');
     }
 
+    const appName = 'name' in app ? app.name : app.getName();
     body += [
       '\n',
       '------------------------------------',
-      `App: ${app.getName()} ${app.getVersion()}`,
+      `App: ${appName} ${app.getVersion()}`,
       `Electron: ${process.versions.electron} (Node ${process.version})`,
       `Operating System: ${process.platform} ${process.arch} ${os.release()}`
     ].join('\n');
send-feedback: Use app.name in newer electron versions.

app.getName() is depereacted and will throw exeception in electron v9.