auto-git:
[change] main.js
This commit is contained in:
12
main.js
12
main.js
@@ -1374,18 +1374,18 @@ function buildTrayMenu() {
|
||||
ipcMain.on('show-folder-context-menu', (event, folderPath) => {
|
||||
const win = BrowserWindow.fromWebContents(event.sender);
|
||||
const template = [
|
||||
{
|
||||
label: 'Copy Folder Path',
|
||||
click: () => {
|
||||
clipboard.writeText(folderPath);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Open Folder',
|
||||
click: () => {
|
||||
// öffnet den Ordner in der nativen Dateiansicht
|
||||
shell.openPath(folderPath);
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'Copy Folder Path',
|
||||
click: () => {
|
||||
clipboard.writeText(folderPath);
|
||||
}
|
||||
}
|
||||
];
|
||||
const menu = Menu.buildFromTemplate(template);
|
||||
|
||||
Reference in New Issue
Block a user