Browse Source

fix: replace npx cap copy with npx cap sync

Tienson Qin 4 years ago
parent
commit
aa740ea0a6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -38,8 +38,8 @@
         "release-electron": "run-s gulp:build && gulp electronMaker",
         "debug-electron": "cd static/ && yarn electron:debug",
         "e2e-test": "npx playwright test --reporter github",
-        "run-android-release": "yarn clean && yarn release-app && rm -rf ./public/static && mv static ./public && npx cap copy android && npx cap run android",
-        "run-ios-release": "yarn clean && yarn release-app && rm -rf ./public/static && mv static ./public && npx cap copy ios && npx cap run ios",
+        "run-android-release": "yarn clean && yarn release-app && rm -rf ./public/static && mv static ./public && npx cap sync android && npx cap run android",
+        "run-ios-release": "yarn clean && yarn release-app && rm -rf ./public/static && mv static ./public && npx cap sync ios && npx cap run ios",
         "clean": "gulp clean",
         "test": "run-s cljs:test cljs:run-test",
         "report": "run-s cljs:report",