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

【BUG】调用 Tauri.fs 创建目录未成功 #2

Closed
BTMuli opened this issue Mar 7, 2023 · 2 comments
Closed

【BUG】调用 Tauri.fs 创建目录未成功 #2

BTMuli opened this issue Mar 7, 2023 · 2 comments
Assignees
Labels
Question Further information is requested
Milestone

Comments

@BTMuli
Copy link
Owner

BTMuli commented Mar 7, 2023

如题,晚上一直在尝试通过各种方式创建目录,在 Tauri 配置的 allowlist.fs"scope":["*"] 的情况下,控制台报错都是报的权限不够之类的。

文件的读取跟保存都是可以的,就是文件目录的创建出了问题。

明天上午再试着写一下,实在不行我去 Tauri 那边提个 issue。

@BTMuli BTMuli added BUG Something isn't working help wanted Question Further information is requested labels Mar 7, 2023
@BTMuli BTMuli added this to the AlphaTarget milestone Mar 7, 2023
@BTMuli BTMuli pinned this issue Mar 7, 2023
@BTMuli
Copy link
Owner Author

BTMuli commented Mar 7, 2023

Api文档:https://tauri.app/v1/api/js/fs/

找到一个类似的,明天试试:tauri-apps/tauri#6256

@BTMuli
Copy link
Owner Author

BTMuli commented Mar 7, 2023

应该不是我配置写错了吧()tauri-apps/tauri#6158

@BTMuli BTMuli closed this as completed Mar 8, 2023
@BTMuli BTMuli unpinned this issue Mar 8, 2023
@BTMuli BTMuli removed the BUG Something isn't working label Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants