Skip to content

Conversation

@CodeF0x
Copy link
Owner

@CodeF0x CodeF0x commented Nov 17, 2025

#57

@CodeF0x
Copy link
Owner Author

CodeF0x commented Nov 19, 2025

It seems like, at least on macOS, directory: true only lets the user select directories and not files anymore. Maybe another tab for just directories is required.

@CodeF0x
Copy link
Owner Author

CodeF0x commented Nov 19, 2025

Also, make directory handling code only available when building the ui target

Copy link
Owner Author

@CodeF0x CodeF0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self review

const files: string[] | null = await open({
multiple: true,
directory: false,
directory: true,
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens if you select multiple folders? will all files in those folder be added to the list?

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