<p dir="auto">I am constructing this in my main menu structure:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="            {
                label: 'Delete',
                accelerator: 'Backspace',
                click: function () {
                    var focusedWindow = BrowserWindow.getFocusedWindow();
                    focusedWindow.webContents.send('remove', 'removing');
                }"><pre class="notranslate"><code class="notranslate">            {
                label: 'Delete',
                accelerator: 'Backspace',
                click: function () {
                    var focusedWindow = BrowserWindow.getFocusedWindow();
                    focusedWindow.webContents.send('remove', 'removing');
                }
</code></pre></div>
<p dir="auto">Now I would like to use The Backspace AND the Delete keys as an accelerator. Have tried several combination for the accelerator, like:</p>
<p dir="auto"><code class="notranslate">accelerator: 'Alt+Backspace,Alt+Delete'</code></p>
<p dir="auto">or</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="accelerator: 'Alt+Backspace'
accelerator: 'Alt+Delete'"><pre class="notranslate"><code class="notranslate">accelerator: 'Alt+Backspace'
accelerator: 'Alt+Delete'
</code></pre></div>
<p dir="auto">But with both attempts, Electron just used the second one. Is there really now way how we can use two keys for the same Accelerator?</p>
<p dir="auto">I am constructing this in my main menu structure:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="            {
                label: 'Delete',
                accelerator: 'Backspace',
                click: function () {
                    var focusedWindow = BrowserWindow.getFocusedWindow();
                    focusedWindow.webContents.send('remove', 'removing');
                }"><pre class="notranslate"><code class="notranslate">            {
                label: 'Delete',
                accelerator: 'Backspace',
                click: function () {
                    var focusedWindow = BrowserWindow.getFocusedWindow();
                    focusedWindow.webContents.send('remove', 'removing');
                }
</code></pre></div>
<p dir="auto">Now I would like to use The Backspace AND the Delete keys as an accelerator. Have tried several combination for the accelerator, like:</p>
<p dir="auto"><code class="notranslate">accelerator: 'Alt+Backspace,Alt+Delete'</code></p>
<p dir="auto">or</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="accelerator: 'Alt+Backspace'
accelerator: 'Alt+Delete'"><pre class="notranslate"><code class="notranslate">accelerator: 'Alt+Backspace'
accelerator: 'Alt+Delete'
</code></pre></div>
<p dir="auto">But with both attempts, Electron just used the second one. Is there really now way how we can use two keys for the same Accelerator?</p>