From 9a76c29f936a2f8b46ed3b832878e7dcc69e9742 Mon Sep 17 00:00:00 2001 From: nobbo Date: Mon, 26 Feb 2024 10:02:53 +0800 Subject: [PATCH] =?UTF-8?q?OAT=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nobbo --- OAT.xml | 4 ++++ product/default/hvigorfile.js | 15 +++++++++++++++ .../src/main/ets/Application/AbilityStage.ts | 15 +++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/OAT.xml b/OAT.xml index ff14c6f..38f00be 100644 --- a/OAT.xml +++ b/OAT.xml @@ -38,7 +38,9 @@ + + @@ -46,7 +48,9 @@ + + diff --git a/product/default/hvigorfile.js b/product/default/hvigorfile.js index d7720ee..175f4cf 100644 --- a/product/default/hvigorfile.js +++ b/product/default/hvigorfile.js @@ -1,2 +1,17 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. module.exports = require('@ohos/hvigor-ohos-plugin').hapTasks diff --git a/product/default/src/main/ets/Application/AbilityStage.ts b/product/default/src/main/ets/Application/AbilityStage.ts index 5f781ee..03d46a9 100644 --- a/product/default/src/main/ets/Application/AbilityStage.ts +++ b/product/default/src/main/ets/Application/AbilityStage.ts @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import AbilityStage from '@ohos.app.ability.AbilityStage'; export default class MyAbilityStage extends AbilityStage { -- Gitee