Skip to content

Fix minor stuff - #847

Merged
louis-e merged 5 commits into
mainfrom
fix/release-beds-gui-errors
Mar 26, 2026
Merged

louis-e merged 5 commits into
mainfrom
fix/release-beds-gui-errors

Conversation

@louis-e

@louis-e louis-e commented Mar 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

louis-e added 2 commits March 26, 2026 18:35
…prefix

- Package Linux/macOS binaries as .tar.gz in CI to preserve executable
  permission (fixes "not executable" reports from Mac/Linux users)
- Add missing occupied=false block state to all red bed variants so
  they render correctly in Minecraft Java Edition, and add proper
  Bedrock bed converter with direction/head_piece_bit/occupied_bit
- Remove duplicate "Error!" prefix from download_with_reqwest error
  return values (emit_gui_error already prepends it)
When the GUI's Minecraft saves directory detection falls back to Desktop,
users may not realize where their world was saved. Now opens the file
explorer highlighting the generated world folder, using the same
show-in-folder mechanism already used for Bedrock .mcworld files.
Copilot AI review requested due to automatic review settings March 26, 2026 18:01
@github-actions

Copy link
Copy Markdown

⏱️ Benchmark run finished in 0m 36s
🧠 Peak memory usage: 1131 MB

📈 Compared against baseline: 30s
🧮 Delta: 6s
🔢 Commit: 23289fc

⚠️ This PR worsens generation time.

📅 Last benchmark: 2026-03-26 18:04:57 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 focuses on a handful of UX and compatibility tweaks across data retrieval, world generation UX, Bedrock block conversion, and release packaging.

Changes:

  • Improves Overpass download error messaging/propagation.
  • Adds GUI behavior to reveal the generated Java world folder when output is on the Desktop.
  • Extends Bedrock conversion to properly translate Java bed state properties and updates release artifacts to use .tar.gz on non-Windows for preserved permissions.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/retrieve_data.rs Refines error strings and returns cleaner error messages from download_with_reqwest.
src/data_processing.rs Emits a GUI event to reveal Java output folders when generated on Desktop.
src/block_definitions.rs Adds default occupied=false to red bed block-state variants.
src/bedrock_block_map.rs Adds bed property conversion (facing/part/occupied) into Bedrock states.
.github/workflows/release.yml Packages non-Windows binaries as .tar.gz and updates macOS universal build + release uploads accordingly.

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

Comment thread src/data_processing.rs Outdated
Comment thread src/bedrock_block_map.rs Outdated
Comment thread src/bedrock_block_map.rs
louis-e and others added 2 commits March 26, 2026 19:14
- Derive Bedrock bed color from Java block name instead of hardcoding
  "red", so non-red beds (if added) convert correctly
- Update gui_show_in_folder doc comment to reflect it handles both
  files and directories (not just Bedrock .mcworld)
- Add unit tests for bed property conversion (with and without props)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 6 out of 6 changed files in this pull request and generated 2 comments.


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

Comment thread src/data_processing.rs Outdated
Comment thread src/data_processing.rs Outdated
The event is now used for both Bedrock .mcworld files and Java world
directories saved to the Desktop. Rename function, Tauri event, and
JS listener to reflect the generic purpose. Also fix misleading
comment on the Desktop path check.
@louis-e
louis-e merged commit d8f8d6e into main Mar 26, 2026
2 checks passed
@louis-e
louis-e deleted the fix/release-beds-gui-errors branch March 26, 2026 18:21
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