File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release
22on :
33 push :
4- branches : ["main"]
5- paths-ignore :
6- - " README.md"
7- - " README-*.md"
8- - " .github/ISSUE_TEMPLATE/*"
4+ tags :
5+ - " v*"
6+ workflow_dispatch :
97jobs :
108 publish_on_linux :
119 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ process.env.PUBLIC = process.env.VITE_DEV_SERVER_URL
2727
2828if ( release ( ) . startsWith ( '6.1' ) ) app . disableHardwareAcceleration ( )
2929
30- if ( process . platform === 'win32' ) app . setAppUserModelId ( app . getName ( ) )
30+ if ( process . platform === 'win32' ) app . setAppUserModelId ( 'com.dnschanger.desktop' )
3131
3232if ( ! app . requestSingleInstanceLock ( ) ) {
3333 app . quit ( )
@@ -46,12 +46,13 @@ const startUrl =
4646 } )
4747
4848// const indexHtml = join(process.env.DIST, 'index.html')
49- const icon = nativeImage . createFromPath ( getIconPath ( ) )
49+ const iconPath = getIconPath ( )
50+ const icon = nativeImage . createFromPath ( iconPath )
5051
5152async function createWindow ( ) {
5253 win = new BrowserWindow ( {
5354 title : 'DNS Changer' ,
54- icon : icon ,
55+ icon : iconPath ,
5556 height : 500 ,
5657 width : 743 ,
5758 webPreferences : {
You can’t perform that action at this time.
0 commit comments