mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-14 00:06:17 -08:00
feat: add danmuku plugin and i18n setup documentation
- Created a new documentation file for the danmuku plugin with code examples. - Added a new documentation file for language settings (i18n) with detailed instructions on language imports, default languages, and how to add or modify languages.
This commit is contained in:
1 parent
7dffd99cfd
commit
17042867fc
81 files changed
+160
-878
No files matched your search
+3
-2
@@ -9,8 +9,9 @@ function ensureDirExists(filePath) {
|
||||
}
|
||||
}
|
||||
|
||||
function parsePluginInfo(path) {
|
||||
const file = path.split('/').pop() || ''
|
||||
function parsePluginInfo(pluginPath) {
|
||||
// Use path.basename to handle both Unix and Windows paths correctly
|
||||
const file = path.basename(pluginPath)
|
||||
const baseName = file.replace('.d.ts', '')
|
||||
|
||||
const name = baseName
|
||||
|
||||
Reference in new issue
Block a user