Converts a file path to a URL that can be used to load assets.
In Tauri mode: delegates to @tauri-apps/api/core's convertFileSrc(),
which returns an asset:// protocol URL.
In web mode: returns the path as-is — no protocol conversion is needed
since web apps load assets via standard HTTP URLs.
Converts a file path to a URL that can be used to load assets.
In Tauri mode: delegates to
@tauri-apps/api/core'sconvertFileSrc(), which returns anasset://protocol URL. In web mode: returns the path as-is — no protocol conversion is needed since web apps load assets via standard HTTP URLs.