From 9a6efdf1f765ef6b5f9748313dd8d35ad4d5b145 Mon Sep 17 00:00:00 2001 From: pengfeizhou Date: Fri, 26 Feb 2021 15:24:10 +0800 Subject: [PATCH] feat:update template file,fix android --- doric-cli/assets/_package.json | 4 +++- doric-cli/assets/android/app/src/main/AndroidManifest.xml | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doric-cli/assets/_package.json b/doric-cli/assets/_package.json index 1a8eeebd..b2be5604 100644 --- a/doric-cli/assets/_package.json +++ b/doric-cli/assets/_package.json @@ -6,7 +6,9 @@ "test": "echo \"Error: no test specified\" && exit 1", "build": "doric build", "dev": "doric dev", - "clean": "doric clean" + "clean": "doric clean", + "android": "doric run android", + "ios": "doric run iOS" }, "license": "Apache-2.0", "dependencies": { diff --git a/doric-cli/assets/android/app/src/main/AndroidManifest.xml b/doric-cli/assets/android/app/src/main/AndroidManifest.xml index c888ca96..d413fe49 100644 --- a/doric-cli/assets/android/app/src/main/AndroidManifest.xml +++ b/doric-cli/assets/android/app/src/main/AndroidManifest.xml @@ -1,9 +1,9 @@ + package="pub.doric.android"> - +