- createWindow(): bypass windowManager on openharmony, use loadURL('file://...')
- showStartupError(): include process.platform and error message in dialog
- Add app/electron/, app/lib/, app/dist/ for Netcatty integration
59 lines
1.7 KiB
Plaintext
59 lines
1.7 KiB
Plaintext
{
|
|
"app": {
|
|
"products": [
|
|
{
|
|
"name": "default",
|
|
"signingConfig": "default",
|
|
"compatibleSdkVersion": "5.0.3(15)",
|
|
"compatibleSdkVersionStage": "beta6",
|
|
"runtimeOS": "HarmonyOS",
|
|
"buildOption": {
|
|
"nativeLib": {
|
|
"collectAllLibs": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"buildModeSet": [
|
|
{
|
|
"name": "debug"
|
|
},
|
|
{
|
|
"name": "release"
|
|
}
|
|
],
|
|
"signingConfigs": [
|
|
{
|
|
"name": "default",
|
|
"material": {
|
|
"storePassword": "00000020B042E2E9E6BBBB331A5D9B84B52B19468492B675BB26884B09AEB4EE1560934B2270ADBA486243A0BE443394",
|
|
"certpath": "/storage/Users/currentUser/appdata/el2/base/com.huawei.devecostudio/files/ohos/config/default_ohos_electron_hap4PU0PdQzlYYcUxXSOoQfdhrl0YhWODdaXilxiORE6vk.cer",
|
|
"keyAlias": "debugKey",
|
|
"keyPassword": "00000020B042E2E9E6BBBB331A5D9B84B52B19468492B675BB26884B09AEB4EE1560934B2270ADBA486243A0BE443394",
|
|
"profile": "/storage/Users/currentUser/appdata/el2/base/com.huawei.devecostudio/files/ohos/config/default_ohos_electron_hap4PU0PdQzlYYcUxXSOoQfdhrl0YhWODdaXilxiORE6vk.p7b",
|
|
"signAlg": "SHA256withECDSA",
|
|
"storeFile": "/storage/Users/currentUser/appdata/el2/base/com.huawei.devecostudio/files/ohos/config/default_ohos_electron_hap4PU0PdQzlYYcUxXSOoQfdhrl0YhWODdaXilxiORE6vk.p12"
|
|
},
|
|
"type": "HarmonyOS"
|
|
}
|
|
]
|
|
},
|
|
"modules": [
|
|
{
|
|
"name": "electron",
|
|
"srcPath": "./electron",
|
|
"targets": [
|
|
{
|
|
"name": "default",
|
|
"applyToProducts": [
|
|
"default"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "web_engine",
|
|
"srcPath": "./web_engine"
|
|
}
|
|
]
|
|
} |