Skip to content

Commit

Permalink
feat: add images
Browse files Browse the repository at this point in the history
  • Loading branch information
migueldesarrollosoftware committed Mar 15, 2024
1 parent b5c1dbf commit 97fc493
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 3 deletions.
Binary file added assets/brands/pc-cloud/icon.ico
Binary file not shown.
Binary file added assets/brands/pc-cloud/icons/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/alert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/idle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/loading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/syncing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/brands/pc-cloud/tray/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/apps/main/tray/tray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,10 @@ export const setTrayStatus = (status: TrayMenuState) => {
};

export function setupTrayIcon() {
const brandPath = '/brands/pc-cloud/';
const RESOURCES_PATH = app.isPackaged
? path.join(process.resourcesPath, 'assets')
: path.join(__dirname, '../../../../assets');
? path.join(process.resourcesPath, 'assets', brandPath)
: path.join(__dirname, '../../../../assets', brandPath);

const iconsPath = path.join(RESOURCES_PATH, 'tray');

Expand Down
2 changes: 1 addition & 1 deletion src/apps/utils/icon.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'path';

const brandPath = 'brands/pc-cloud';
const brandPath = '/brands/pc-cloud/';

export const iconPath =
process.env.NODE_ENV === 'development'
Expand Down

0 comments on commit 97fc493

Please sign in to comment.