-
Notifications
You must be signed in to change notification settings - Fork 115
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
[feature request] 关于静态资源文件缓存的建议 #46
Comments
唔……打包的话……这里如果不打包 asar 的话……应该是可以正常写入的…… |
因为打包的时候只能把所有的文件安装到系统目录,不能直接安装到用户目录 嘛,所以以用户权限运行的时候就没办法去写入了,所以写到用户有权限管理的路径比较合适啦,加入指定路径的命令行选项也是可行的方案。 |
收到建议,我个人近期有些忙所以可能无法及时实现相关特性,实在不好意思了……(逃 |
/static |
我先尝试在 typescript 分支下弄一下吧,我现在就在用 manjaro( |
Windows 下为 %appdata%/Majsoul_Plus/static *nix下为~/.local/Majsoul_Plus/static
您是在使用中遇到了什么问题导致的您提交功能建议么?如果是,请描述您遇到的问题
运行环境:Arch Linux
尝试打包到 AUR 但运行时会尝试往
应用安装位置/resources/app/static
缓存静态文件,一般打包以后这个位置是不允许在普通用户权限下修改,例如/opt/majsoul-plus/resources/app/static
描述您希望的解决方案
修改静态文件的缓存位置到用户主目录下的合适位置
The text was updated successfully, but these errors were encountered: