publish-plugin-net-disk.sh 307 B

12345678910111213
  1. #!/bin/bash
  2. cd ../
  3. rm -rf net-disk
  4. git clone https://git.finogeeks.club/finoapp-desktop/net-disk.git
  5. cd net-disk
  6. yarn
  7. yarn build
  8. cd dist && zip -q -r dist.zip *
  9. cd ../../
  10. rm -rf static/plugin-net-disk
  11. mkdir -p static/plugin-net-disk
  12. unzip -o net-disk/dist/dist.zip -d static/plugin-net-disk
  13. rm -rf net-disk