Skip to content

Commit

Permalink
Merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Nov 8, 2024
1 parent ad6f99d commit af667cf
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/tray.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
import { Tray, Menu, BrowserWindow, app } from 'electron';
import { Tray, Menu, app } from 'electron';
import path from 'path';
import { exec } from 'child_process';
import log from 'electron-log/main';
import { PythonEnvironment } from './pythonEnvironment';

import { VirtualEnvironment } from './virtualEnvironment';

export function SetupTray(
mainView: BrowserWindow,
reinstall: () => void,
virtualEnvironment: VirtualEnvironment
): Tray {

import { AppWindow } from './main-process/appWindow';

export function SetupTray(mainView: AppWindow, reinstall: () => void, pythonEnvironment: PythonEnvironment): Tray {

export function SetupTray(mainView: AppWindow, reinstall: () => void, virtualEnvironment: VirtualEnvironment): Tray {
// Set icon for the tray
// I think there is a way to packaged the icon in so you don't need to reference resourcesPath
const trayImage = path.join(
Expand Down

0 comments on commit af667cf

Please sign in to comment.