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

Ico option not working #1032

Closed
GrayR0ot opened this issue Jan 27, 2023 · 1 comment
Closed

Ico option not working #1032

GrayR0ot opened this issue Jan 27, 2023 · 1 comment
Labels

Comments

@GrayR0ot
Copy link

What happened: Icon not set on output binary file (Windows)

What you expected to happen: I want to have my icon set on my output

How to reproduce it (as minimally and precisely as possible):

Here is my compiler file:
`const { compile } = require('nexe')

const inputAppName = 'main.js'
const outputAppName = 'GrayTool v0.5.0'

compile({
build: true,
name: outputAppName_${Date.now()},
input: inputAppName,
output: outputAppName,
ico: './assets/ico.ico',
}).then((err) => {
if (err) throw err
})
`

I'm trying with this CLI command too: nexe main.js -b -n "GrayTool v0.5.0" --ico ico.ico

Anything else we need to know?:

Environment: - NodeJs - "exe": "^4.0.0-rc.2

  • Platform(OS/Version): Windows 10
  • Host Node Version: v16.15.0
  • Target Node Version: v16.15.0
  • Nexe version: 4.0.0-rc.2
  • Python Version: 3.10.0
@lrNas
Copy link

lrNas commented Mar 21, 2023

A possible workarround to use until get a bug solution is to use Resource Editor manually add this to your nexe-built file.

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

2 participants