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

Packaging - Windows: Add ICO file #494

Merged
merged 2 commits into from
Jul 30, 2019
Merged

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Jul 29, 2019

This adds a .ico file following up from @CrossR 's work in #486

@@ -36,6 +36,7 @@ const valuesToReplace = {
AppExecutableName: executableName,
AppSetupExecutableName: `${prodName}-${version}-${buildFolderPrefix}win`,
Version: version,
SetupIconFile: path.join(__dirname, "..", "..", "assets", "images", "oni2.ico"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Icon"/"DefaultIcon" bits below will also need updating with this new path, since I just put a temp {app}\\oni2.ico one in.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CrossR for reviewing!

I think it should be OK - I added a line to copy the oni2.ico to the root application directory (the change above in scripts/release.js - so that {app}\\oni2.cio should be valid.

Seems like it works (although we'll need a better icon at some point!)
image

@bryphe bryphe merged commit 08377bb into master Jul 30, 2019
@bryphe bryphe deleted the packaging/windows/add-ico-file branch July 30, 2019 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants