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

fileStorage改进 #138 #199

Merged
merged 4 commits into from Jun 13, 2023
Merged

fileStorage改进 #138 #199

merged 4 commits into from Jun 13, 2023

Conversation

CodFrm
Copy link
Member

@CodFrm CodFrm commented Jun 12, 2023

增加自定义存储路径功能

增加一个baseDir的参数来指定文件夹,默认为脚本的uuid

切割fileStorage和脚本猫云同步

在设置模块增加关于fileStorage的配置,当未配置时,产生一个错误,可用GM_fileStorage("config")引导用户打开

示例

@CodFrm CodFrm linked an issue Jun 12, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.24 ⚠️

Comparison is base (af0ba88) 46.13% compared to head (47b5e17) 45.90%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
- Coverage   46.13%   45.90%   -0.24%     
==========================================
  Files          65       65              
  Lines        4348     4370      +22     
  Branches      998     1006       +8     
==========================================
  Hits         2006     2006              
- Misses       2342     2364      +22     
Impacted Files Coverage Δ
src/pkg/config/config.ts 20.19% <0.00%> (-1.02%) ⬇️
src/runtime/background/gm_api.ts 60.57% <0.00%> (-1.67%) ⬇️
src/runtime/content/gm_api.ts 56.29% <0.00%> (-0.57%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@CodFrm CodFrm merged commit 707d391 into main Jun 13, 2023
5 checks passed
@CodFrm CodFrm deleted the develop/file-storage branch June 13, 2023 13:26
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.

【功能建议】fileStorage改进
2 participants