Blame view

打印机安卓基座/native-fast-printer/sync-to-uniapp.sh 572 Bytes
a6f5c1af   “wangming”   开发了安卓基座
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #!/bin/bash
  set -euo pipefail
  
  PLUGIN_DIR="$(cd "$(dirname "$0")" && pwd)"
  PROJECT_ROOT="$(cd "$PLUGIN_DIR/../.." && pwd)"
  UNIAPP_PLUGIN_DIR="$PROJECT_ROOT/美国版/Food Labeling Management App UniApp/nativeplugins/native-fast-printer"
  
  rm -rf "$UNIAPP_PLUGIN_DIR"
  mkdir -p "$UNIAPP_PLUGIN_DIR/android"
  
  cp "$PLUGIN_DIR/package.json" "$UNIAPP_PLUGIN_DIR/package.json"
  cp "$PLUGIN_DIR/README.md" "$UNIAPP_PLUGIN_DIR/README.md"
  cp "$PLUGIN_DIR/android/native_fast_printer-release.aar" "$UNIAPP_PLUGIN_DIR/android/"
  
  echo "Synced native-fast-printer to: $UNIAPP_PLUGIN_DIR"