♻️ 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/
|
nbproject/private/
|
||||||
build/
|
build/
|
||||||
nbbuild/
|
nbbuild/
|
||||||
./dist/
|
dist/
|
||||||
nbdist/
|
nbdist/
|
||||||
.nb-gradle/
|
.nb-gradle/
|
||||||
|
|
||||||
|
|
|
@ -96,6 +96,12 @@ git clone git@github.com:{your_github_id}/vditor-mde.git
|
||||||
cd path/to/plugin-starter
|
cd path/to/plugin-starter
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 下载依赖包
|
||||||
|
chmod a+x download_dist.sh
|
||||||
|
./download_dist.sh
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# macOS / Linux
|
# macOS / Linux
|
||||||
./gradlew pnpmInstall
|
./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