Skip to content

fix: hide console in Windows releases - #12

Merged
brettheap merged 2 commits into
mainfrom
fix/hide-windows-console
Jul 26, 2026
Merged

fix: hide console in Windows releases#12
brettheap merged 2 commits into
mainfrom
fix/hide-windows-console

Conversation

@brettheap

@brettheap brettheap commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • build installed Windows releases as GUI-subsystem applications
  • keep the console available in debug builds
  • bump the application version to 0.1.2

Validation

  • pnpm format:check
  • pnpm test
  • pnpm build
  • cargo fmt --all --check
  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings

Summary by Sourcery

Hide the console window in Windows release builds while keeping it available in debug builds, and bump the project version to 0.1.2.

New Features:

  • Configure the Windows application to run as a GUI subsystem in non-debug builds so the console window is hidden for end users.

Enhancements:

  • Add a CI step to verify that the built Windows binary uses the WINDOWS_GUI PE subsystem.

Build:

  • Bump Rust crate, Tauri app, and JavaScript package versions from 0.1.1 to 0.1.2 to align release artifacts.

Documentation:

  • Update README to reflect the new 0.1.2 release tag used for Windows installers.

Copilot AI review requested due to automatic review settings July 26, 2026 04:19
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@sourcery-ai

sourcery-ai Bot commented Jul 26, 2026

Copy link
Copy Markdown

🧙 Sourcery is reviewing your pull request!


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Windows release behavior of the Tauri shell so installed builds run as GUI-subsystem applications (no console window), while keeping the console available for debug builds. It also bumps the project version to 0.1.2 across the relevant Rust, Tauri, and Node manifests.

Changes:

  • Hide the console window on Windows in non-debug builds via a crate-level windows_subsystem = "windows" attribute.
  • Bump version from 0.1.10.1.2 in Tauri config, Cargo manifests, npm manifest, and lockfile.
  • Update README release-tag example to match the new version.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src-tauri/tauri.conf.json Bumps Tauri app version to 0.1.2 for packaging/release alignment.
src-tauri/src/main.rs Enables GUI subsystem on Windows for non-debug builds to hide the console.
src-tauri/Cargo.toml Bumps the Tauri Rust crate version to 0.1.2.
crates/open-profiler-core/Cargo.toml Bumps core crate version to 0.1.2.
package.json Bumps frontend/package version to 0.1.2.
README.md Updates Windows release tagging example to v0.1.2.
Cargo.lock Updates locked workspace package versions to 0.1.2.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings July 26, 2026 04:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/windows-release.yml
@brettheap
brettheap merged commit 9764beb into main Jul 26, 2026
9 checks passed
@brettheap
brettheap deleted the fix/hide-windows-console branch July 26, 2026 04:33
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