mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-02-25 01:21:02 -08:00
12 lines
264 B
JavaScript
12 lines
264 B
JavaScript
const path = require('path');
|
|
|
|
window.mode = 'about';
|
|
|
|
window.iconPath = path.join(__dirname, '..', 'icon.png');
|
|
|
|
const { remote } = require('electron');
|
|
const contextMenu = require('electron-context-menu');
|
|
|
|
contextMenu({
|
|
window: remote.getCurrentWindow(),
|
|
});
|