Skip to content

Commit

Permalink
Use .ico for Windows (#1097) (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzdunek authored Aug 17, 2022
1 parent f514c1e commit 267b353
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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 @@ -99,7 +99,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 @@ -112,7 +112,7 @@
"deb"
],
"category": "Development",
"icon": "assets/icon-win-linux",
"icon": "assets/icon-linux",
"extraResources": [
{
"from": "../../../teleport/build/tsh",
Expand Down
6 changes: 3 additions & 3 deletions web/packages/teleterm/src/mainProcess/windowsManager.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { BrowserWindow, Menu, Rectangle, screen } from 'electron';
import { getAssetPath } from 'teleterm/mainProcess/runtimeSettings';
import path from 'path';

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

import { FileStorage } from 'teleterm/services/fileStorage';
import { RuntimeSettings } from 'teleterm/mainProcess/types';
import theme from 'teleterm/ui/ThemeProvider/theme';
Expand Down Expand Up @@ -41,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 267b353

Please sign in to comment.