Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Commit

Permalink
[Commit] Minor changes to folder structure and assets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jun 26, 2022
1 parent 86509ca commit b6d178c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ const electron = require('electron');
const { app, BrowserWindow, ipcMain, remote, screen } = require('electron');
// let {getCurrentWindow, globalShortcut} = remote;
const notifier = require('electron-notifications');
const ut = require("./src/utils");
const ut = require("./src/modules_utilities/utils");
let { Tray, notes, displayNoteToTray, addNoteToTrayMenu } = require("./src/native/electron_tray");

let Menu = electron.Menu;

let trayIcon = null;
let menus = "default";
let config_folder = "/www/configs";
Expand Down Expand Up @@ -180,7 +179,7 @@ async function createWindow(dirname, config, options) {

try {
trayIcon = new Tray(path.join(dirname, applicationConfiguration.trayIcon))
} catch(e) {
} catch (e) {
console.log("Desktop-CGI-Server: index.js: Error in tray icon #007 ", e.toString())
};
let contextMenu = Menu.buildFromTemplate(notes.map(addNoteToTrayMenu));
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit b6d178c

Please sign in to comment.