Skip to content

Commit

Permalink
fix missing icon on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbenington committed Nov 22, 2024
1 parent 5a5c44b commit f69eb76
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

Binary file removed build/icon.png
Binary file not shown.
6 changes: 2 additions & 4 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ files:
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
asarUnpack:
- resources/**
win:
executableName: openhome
icon: build/icon.ico
Expand Down Expand Up @@ -41,7 +39,7 @@ linux:
- deb:arm64
- rpm:x64
- rpm:arm64
maintainer: electronjs.org
maintainer: andrewbenington.dev
category: Utility
appImage:
artifactName: ${name}-${version}-${arch}.${ext}
Expand All @@ -51,4 +49,4 @@ publish:
releaseType: release
owner: andrewbenington
repo: OpenHome
publishAutoUpdate: 'true'
# publishAutoUpdate: 'true'
2 changes: 0 additions & 2 deletions src/main/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { electronApp, is, optimizer } from '@electron-toolkit/utils'
import { app, BrowserWindow, dialog, shell } from 'electron'
import { join } from 'path'
import icon from '../../resources/icon.ico?asset'
import version from '../consts/JSON/version.json'
import { initializeFolders } from './fileHandlers'
import { initListeners, OpenHomeAppBackend } from './initListeners'
Expand All @@ -14,7 +13,6 @@ function createWindow(): void {
width: 1200,
height: 720,
show: false,
...(process.platform === 'linux' ? { icon } : {}),
webPreferences: {
preload: join(__dirname, '../preload/index.js'),
sandbox: false,
Expand Down

0 comments on commit f69eb76

Please sign in to comment.