mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-24 19:25:12 +03:00
9e891933d8
* fix(utils): fix resources map becomes directory closes #10187 Fixes the behavior of mapped resources generating extra directory, for example: `"../resources/user.json": "resources/user.json"` generates this resource `resources/user.json/user.json` where it should generate `resources/user.json` This PR includes a refactor of the Iterator implementation which splits it into more scoped functions and relis on recursing instead of a loop which makes the code a lot more readable and easier to maintain. * clippy * cover more cases * clippy * fix glob into directory, not resolving target correctly * return error when resource origin path doesn't exist * fix resources example build * Update .changes/resources-map-becoming-dirs.md --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app> |
||
---|---|---|
.. | ||
.icons | ||
api | ||
commands | ||
file-associations | ||
helloworld | ||
isolation | ||
multiwebview | ||
multiwindow | ||
navigation | ||
parent-window | ||
plugins/tauri-plugin-example | ||
resources | ||
run-iteration | ||
splashscreen | ||
state | ||
streaming | ||
web | ||
workspace | ||
README.md |
Examples
Following directories contain examples of tauri app functionality.
There are different execution steps depending on the example. See each directory README.md
for execution method.