Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executable built by nexe 4.0.0-rc.2 does not have the expected icon #1041

Open
mcuong223 opened this issue Mar 20, 2023 · 3 comments
Open

executable built by nexe 4.0.0-rc.2 does not have the expected icon #1041

mcuong223 opened this issue Mar 20, 2023 · 3 comments
Labels

Comments

@mcuong223
Copy link

I am using nexe to build a simple app to exe with a custom icon but the exe file I got after building didn't have the expected icon, it had the default nodejs icon

my build code:

const { compile } = require('nexe')
compile({
    input: './index.js',
    output: 'app',
    build: true,
    ico: './icon.ico'
}).then((err) => {
    if (err) throw err
    console.log('success')
})

Environment:

  • Platform(OS/Version): Windows 11 Home 64-bit (10.0, Build 22621)
  • Host Node Version: 14.20.0
  • Target Node Version:14.20.0
  • Nexe version: 4.0.0-rc.2
  • Python Version: 2.7.15
@mcuong223 mcuong223 added the bug label Mar 20, 2023
@lrNas
Copy link

lrNas commented Mar 21, 2023

I'm currently having the same issue.
I recommend you to follow #1032 as it's about the same problem.

@danielvandenberg95
Copy link

In my case with v3.3.3 it also doesn't work. I do see that node.exe gets my icon in ~/.nexe/16.17.0/Release, but then my dist exe doesn't have it.

@danielvandenberg95
Copy link

Okay, never mind that. In my case it was windows explorer caching the wrong icon. Killing and restarting explorer.exe solved it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants