Repository navigation
Windows: release builds open without a console and carry the Athas icon - #809
Open
divyanshudhruv wants to merge 1 commit into
Open
divyanshudhruv wants to merge 1 commit into
divyanshudhruv wants to merge 1 commit into
Conversation
divyanshudhruv
force-pushed
the
fix/windows-console-window
branch
2 times, most recently
from
November 24, 2026 20:19
03dd95d to
c10607a
Compare
divyanshudhruv
force-pushed
the
fix/windows-console-window
branch
from
November 24, 2026 20:21
c10607a to
a33473a
Compare
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
Release builds on Windows no longer open a logging console window, and the app icon is now embedded in the exe.
Short description
Fixes #806 and #804. The Windows binary was built with the console subsystem, so launching the installed app opened a terminal that streamed logs. Closing that terminal closed the app. Release builds now use the GUI subsystem. Logs still go to
Athas.log, andcargo runstill prints to the terminal you started it from.The Windows icon was not embedded in the exe, so the window and taskbar showed the generic icon. A Windows build script now embeds
icon.icoas resource 1, the resource GPUI loads the app icon from.Problems
What / Solution
Windows release binary:markedwindows_subsystem = "windows"for non-debug builds.Debug builds:unchanged, socargo runstill shows logs in the terminal.Logs:unchanged, still written toAthas.log.App icon:Windows build script embedspackaging/icons/icon.icoas resource 1 withwinres.Before / After
Media
Full windowApp iconSummary
Double-click launchClosing the consolecargo runLog fileAthas.logAthas.logApp iconIssues
Testing