config.json 2.1 KB
Newer Older
B
bayanxing 已提交
1
{
2 3 4 5 6 7 8 9 10 11 12 13
    "app": {
        "bundleName": "com.open.harmony.webview",
        "vendor": "open",
        "version": {
            "code": 1000000,
            "name": "1.0.0"
        },
        "apiVersion": {
            "compatible": 8,
            "releaseType": "Release",
            "target": 8
        }
B
bayanxing 已提交
14
    },
15 16 17 18 19 20 21 22 23 24
    "deviceConfig": {},
    "module": {
        "package": "com.open.harmony.webview",
        "name": ".MyApplication",
        "mainAbility": "com.open.harmony.webview.MainAbility",
        "deviceType": [
            "tablet",
            "default",
            "phone",
            "2in1"
B
bayanxing 已提交
25
        ],
26 27 28 29 30
        "distro": {
            "deliveryWithInstall": true,
            "moduleName": "entry",
            "moduleType": "entry",
            "installationFree": false
B
bayanxing 已提交
31
        },
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
        "abilities": [
            {
                "skills": [
                    {
                        "entities": [
                            "entity.system.home"
                        ],
                        "actions": [
                            "action.system.home"
                        ]
                    }
                ],
                "orientation": "unspecified",
                "visible": true,
                "srcPath": "MainAbility",
                "name": ".MainAbility",
                "srcLanguage": "ets",
                "icon": "$media:icon",
                "description": "$string:description_mainability",
                "formsEnabled": false,
                "label": "$string:entry_MainAbility",
                "type": "page",
                "launchType": "standard"
            }
B
bayanxing 已提交
56
        ],
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
        "js": [
            {
                "mode": {
                    "syntax": "ets",
                    "type": "pageAbility"
                },
                "pages": [
                    "pages/index",
                    "pages/webStyle",
                    "pages/webProp",
                    "pages/webEvent"
                ],
                "name": ".MainAbility",
                "window": {
                    "designWidth": 720,
                    "autoDesignWidth": false
                }
            }
        ]
    }
}