2048-f
This commit is contained in:
2
2048/entry/.gitignore
vendored
Normal file
2
2048/entry/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/build
|
||||
/node_modules
|
||||
24
2048/entry/build.gradle
Normal file
24
2048/entry/build.gradle
Normal file
@@ -0,0 +1,24 @@
|
||||
apply plugin: 'com.huawei.ohos.hap'
|
||||
apply plugin: 'com.huawei.ohos.decctest'
|
||||
//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
|
||||
ohos {
|
||||
compileSdkVersion 7
|
||||
defaultConfig {
|
||||
compatibleSdkVersion 7
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
proguardOpt {
|
||||
proguardEnabled false
|
||||
rulesFiles 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
}
|
||||
decc {
|
||||
supportType = ['html','xml']
|
||||
}
|
||||
1
2048/entry/proguard-rules.pro
vendored
Normal file
1
2048/entry/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# config module specific ProGuard rules here.
|
||||
29
2048/entry/src/main/config.json
Normal file
29
2048/entry/src/main/config.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"app": {
|
||||
"bundleName": "com.xcl2048.myapplication",
|
||||
"vendor": "xcl2048",
|
||||
"version": {
|
||||
"code": 1000000,
|
||||
"name": "1.0.0"
|
||||
}
|
||||
},
|
||||
"deviceConfig": {},
|
||||
"module": {
|
||||
"deviceType": [
|
||||
"liteWearable"
|
||||
],
|
||||
"distro": {
|
||||
"deliveryWithInstall": true,
|
||||
"moduleName": "entry",
|
||||
"moduleType": "entry"
|
||||
},
|
||||
"js": [
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index"
|
||||
],
|
||||
"name": "default"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
6
2048/entry/src/main/js/default/i18n/en-US.json
Normal file
6
2048/entry/src/main/js/default/i18n/en-US.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"strings": {
|
||||
"hello": "Hello",
|
||||
"world": "World"
|
||||
}
|
||||
}
|
||||
6
2048/entry/src/main/js/default/i18n/zh-CN.json
Normal file
6
2048/entry/src/main/js/default/i18n/zh-CN.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"strings": {
|
||||
"hello": "您好",
|
||||
"world": "世界"
|
||||
}
|
||||
}
|
||||
@@ -59,4 +59,4 @@
|
||||
.gameover{
|
||||
font-size: 40px;
|
||||
color: #FF7500;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
</div>
|
||||
</stack>
|
||||
<input class="btn" type="button" value="Restart!" onclick="onInit" ></input>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"string": [
|
||||
{
|
||||
"name": "entry_MainAbility",
|
||||
"value": "entry_MainAbility"
|
||||
"name": "xcl2048",
|
||||
"value": "xcl2048"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 6.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 5.8 KiB |
Reference in New Issue
Block a user