Skip to content

docs(bundler): document runtime resource paths - #15769

Open
Hushlor wants to merge 1 commit into
tauri-apps:devfrom
Hushlor:docs/15738-bundler-resource-directories
Open

docs(bundler): document runtime resource paths#15769
Hushlor wants to merge 1 commit into
tauri-apps:devfrom
Hushlor:docs/15738-bundler-resource-directories

Conversation

@Hushlor

@Hushlor Hushlor commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • clarify that tauri-bundler packages resources but does not resolve their paths at runtime
  • document tauri_utils::platform::resource_dir as the public helper for applications that use the bundler without the Tauri runtime
  • explain platform-specific resource locations and distinguish generic OS directories from bundle-identifier-specific application directories
  • align the Tauri runtime path documentation with the shared resource-directory helper

Testing

  • cargo fmt --check -- crates/tauri-utils/src/platform.rs crates/tauri/src/path/desktop.rs
  • cargo test -p tauri-utils --doc platform::resource_dir
  • cargo test -p tauri-utils platform::tests::resolve_resource_dir
  • compiled the exact README example as Rust metadata
  • cargo doc -p tauri-utils --no-deps
  • cargo doc -p tauri --no-deps
  • git diff --check

The documentation builds emitted only pre-existing warnings outside the changed lines. Full-workspace tests and Clippy were not run because this change only updates documentation and examples. No .changes entry is included because the change does not require a version bump.

Fixes #15738

@Hushlor
Hushlor requested a review from a team as a code owner July 23, 2026 09:28
@Legend-Master Legend-Master added the ai-slop Low effort content, see https://github.com/tauri-apps/tauri?tab=contributing-ov-file#ai-tool-policy label Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-slop Low effort content, see https://github.com/tauri-apps/tauri?tab=contributing-ov-file#ai-tool-policy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[docs] tauri-bundler does not state how to resolve base directories from non-Tauri applications

2 participants