Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Add an API that can open a folder directly. Not the dialog.open() #4150

Closed
PuffMeow opened this issue May 17, 2022 · 2 comments
Closed
Labels

Comments

@PuffMeow
Copy link

Describe the problem

I can't find any related API in the document.

Describe the solution you'd like

I hope the API can open the folder directly based on a path parameter.

Alternatives considered

No response

Additional context

No response

@PuffMeow
Copy link
Author

When this function be called, it can open the OS's file explorer.

@FabianLars
Copy link
Member

You can do this already with shell.open which will open the explorer if given a file path; or shell.Command which needs to be manually set up per OS, but can be expanded, for example if you want to preselect files, see tauri-apps/plugins-workspace#999.

That said i'm closing this as a duplicate because tauri-apps/plugins-workspace#999 should cover this too.

@lucasfernog lucasfernog added status: invalid This is not a valid issue and removed status: duplicate labels Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants