Skip to content
Source
Sign inSign up
pingdotgg/t3code

Fix desktop context menu rendering #280

Closedkrishkalaria12(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/280/headopened View on GitHub

Showing 8 changed files with 96 additions and 90 deletions (loading 5).

x
0 of 8 viewed, 8 left
0 additions and 88 deletionsapps/desktop/src/main.tsModified
View file
@@ -10,7 +10,6 @@
dialog,
ipcMain,
Menu,
- nativeImage,
nativeTheme,
protocol,
shell,
@@ -24,7 +23,6 @@
} from "@t3tools/contracts";
import { autoUpdater } from "electron-updater";
​
-import type { ContextMenuItem } from "@t3tools/contracts";
import { NetService } from "@t3tools/shared/Net";
import { RotatingFileSink } from "@t3tools/shared/logging";
import { showDesktopConfirmDialog } from "./confirmDialog";
@@ -49,7 +47,6 @@
const PICK_FOLDER_CHANNEL = "desktop:pick-folder";
const CONFIRM_CHANNEL = "desktop:confirm";
const SET_THEME_CHANNEL = "desktop:set-theme";
-const CONTEXT_MENU_CHANNEL = "desktop:context-menu";
const OPEN_EXTERNAL_CHANNEL = "desktop:open-external";
const MENU_ACTION_CHANNEL = "desktop:menu-action";
const UPDATE_STATE_CHANNEL = "desktop:update-state";
@@ -92,7 +89,6 @@
let backendLogSink: RotatingFileSink | null = null;
let restoreStdIoCapture: (() => void) | null = null;