Fix file/dir pickers, non-recursive filename scan, build hash in bundle names#17
Open
davidstephengrant wants to merge 3 commits into
Open
Fix file/dir pickers, non-recursive filename scan, build hash in bundle names#17davidstephengrant wants to merge 3 commits into
davidstephengrant wants to merge 3 commits into
Conversation
When a stored path has become invalid, pickers now reset it immediately on click and fall back to the user's home directory instead of letting the OS dialog open at an unreachable location. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Scripts only process files directly in the selected directory, so the recursive collect_files walker was unnecessary. Replaced with a flat read_dir over the top level only. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a `build` npm script that runs `tauri build` then renames all bundle outputs to insert the git hash (e.g. `5c468e9` or `5c468e9-dirty`) between the version and arch fields: vtests-gui_0.1.0_amd64.AppImage → vtests-gui_0.1.0_5c468e9_amd64.AppImage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scan_testfile_namespreviously walked subdirectories recursively, but the vtests scripts only process files directly in the selected directory. Simplified to a flatread_dirover the top level, removing the recursivecollect_fileshelper and theby_parentHashMap.buildnpm script that runstauri buildthen renames bundle outputs to insert the git hash (and-dirtyflag if applicable) between the version and arch fields — e.g.vtests-gui_0.1.0_5c468e9_amd64.AppImage. Uses the same hash/dirty logic asbuild.rs.Test plan
npm run build— confirm the AppImage is renamed to include the current git hash🤖 Generated with Claude Code