may open settings file (#980)

This commit is contained in:
an-lee
2024-08-16 15:59:05 +08:00
committed by GitHub
parent 99b9b36920
commit 22c5ba32d5
3 changed files with 3 additions and 0 deletions

View File

@@ -727,6 +727,7 @@
"libraryDescriptions": {
"library": "Contains all files created by Enjoy while you are using the app.",
"database": "Records all your activities and settings.",
"settings": "Save all your settings.",
"audios": "Contains all audio files you added.",
"videos": "Contains all video files you added.",
"segments": "Contains all segments you make recording or note.",

View File

@@ -727,6 +727,7 @@
"libraryDescriptions": {
"library": "资源库总目录,包含所有您使用 Enjoy 过程产生的文件",
"database": "数据库文件,记录您使用 Enjoy 的所有数据",
"settings": "您的配置文件",
"audios": "您添加的所有音频文件",
"videos": "您添加的所有视频文件",
"segments": "音频/视频文件的段落,跟读过程中产生",

View File

@@ -388,6 +388,7 @@ ${log}
const paths: { [key: string]: string } = {
library: settings.libraryPath(),
database: settings.dbPath(),
settings: settings.file(),
audios: path.join(settings.userDataPath(), "audios"),
videos: path.join(settings.userDataPath(), "videos"),
segments: path.join(settings.userDataPath(), "segments"),