Skip to content

Commit

Permalink
Use .ico for Windows (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzdunek authored Aug 12, 2022
1 parent caba61a commit fdafe6d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
Binary file added web/packages/teleterm/assets/icon-win.ico
Binary file not shown.
Binary file removed web/packages/teleterm/assets/icon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions web/packages/teleterm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"nsis"
],
"artifactName": "${productName} Setup-${version}.${ext}",
"icon": "assets/icon-win-linux",
"icon": "assets/icon-win.ico",
"extraResources": [
{
"from": "../../../teleport/build/tsh.exe",
Expand All @@ -111,7 +111,7 @@
"deb"
],
"category": "Development",
"icon": "assets/icon-win-linux",
"icon": "assets/icon-linux",
"extraResources": [
{
"from": "../../../teleport/build/tsh",
Expand Down
2 changes: 0 additions & 2 deletions web/packages/teleterm/src/mainProcess/windowsManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import path from 'path';

import { BrowserWindow, Menu, Rectangle, screen } from 'electron';

import { getAssetPath } from 'teleterm/mainProcess/runtimeSettings';
import { FileStorage } from 'teleterm/services/fileStorage';
import { RuntimeSettings } from 'teleterm/mainProcess/types';
import theme from 'teleterm/ui/ThemeProvider/theme';
Expand Down Expand Up @@ -43,7 +42,6 @@ export class WindowsManager {
minHeight: 300,
autoHideMenuBar: true,
title: 'Teleport Connect Preview',
icon: getAssetPath('icon.png'),
webPreferences: {
devTools: this.settings.dev,
webgl: false,
Expand Down

0 comments on commit fdafe6d

Please sign in to comment.