♻️ Remove vditor assets from this repo
use download_dist.sh to download assets
This commit is contained in:
parent
c4ea2e3a07
commit
f87377b365
|
@ -30,7 +30,7 @@ log/
|
|||
nbproject/private/
|
||||
build/
|
||||
nbbuild/
|
||||
./dist/
|
||||
dist/
|
||||
nbdist/
|
||||
.nb-gradle/
|
||||
|
||||
|
|
|
@ -96,6 +96,12 @@ git clone git@github.com:{your_github_id}/vditor-mde.git
|
|||
cd path/to/plugin-starter
|
||||
```
|
||||
|
||||
```bash
|
||||
# 下载依赖包
|
||||
chmod a+x download_dist.sh
|
||||
./download_dist.sh
|
||||
```
|
||||
|
||||
```bash
|
||||
# macOS / Linux
|
||||
./gradlew pnpmInstall
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/zsh
|
||||
|
||||
cd src/main/resources/static
|
||||
pwd
|
||||
curl -o vditor.tgz \
|
||||
https://git.mczhengyi.top/zhengyi/-/packages/npm/@zhengyi%2Fvditor/3.9.7/files/248
|
||||
tar -xzvf vditor.tgz
|
||||
mv package/dist .
|
||||
rm -rf package
|
||||
rm -f vditor.tgz
|
Loading…
Reference in New Issue