release: v1.2.1 — login captcha, docs site, and bug fixes
Add slider captcha for web login, VitePress documentation on GitHub Pages, and fixes for gallery delete refresh, pagination jump, and copy-format persistence.
This commit is contained in:
1 parent
469d3be735
commit
ff20f97522
66 files changed
+2497
-616
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { cpSync, existsSync, mkdirSync } from 'node:fs'
|
||||
import { dirname, join } from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
const root = join(dirname(fileURLToPath(import.meta.url)), '..')
|
||||
const src = join(root, 'docs', 'screenshots')
|
||||
const dest = join(root, 'docs-site', 'public', 'screenshots')
|
||||
|
||||
if (!existsSync(src)) {
|
||||
console.error(`Screenshot source missing: ${src}`)
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
mkdirSync(dest, { recursive: true })
|
||||
cpSync(src, dest, { recursive: true })
|
||||
console.log(`Copied screenshots to ${dest}`)
|
||||
Reference in new issue
Block a user