Initial commit — Luma Home trampoline for webOS 5/6
Bind-mounts a transparent web page over LG Home that launches Luma via WebOSServiceBridge, with a subscription-based background watcher as fallback. Tested on LG 65NANO813PA, webOS 6.5.3. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
332bbc8fe2
5 files changed
+177
No files matched your search
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": "com.webos.app.home",
|
||||
"version": "1.0.0",
|
||||
"vendor": "LG Electronics",
|
||||
"type": "web",
|
||||
"main": "index.html",
|
||||
"title": "Home",
|
||||
"transparent": true,
|
||||
"noSplashOnLaunch": true,
|
||||
"icon": "icon.png",
|
||||
"mediumIcon": "icon.png",
|
||||
"largeIcon": "icon.png",
|
||||
"iconColor": "#1ec15f",
|
||||
"visible": false,
|
||||
"disableBackHistoryAPI": true,
|
||||
"lockable": false,
|
||||
"hasPromotion": false,
|
||||
"accessibility": {
|
||||
"supportsAudioGuidance": true
|
||||
},
|
||||
"defaultWindowType": "home",
|
||||
"handleScreenRemoteKey": true,
|
||||
"bgColor": "#000000"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<!doctype html>
|
||||
<html><head><meta charset="utf-8"><title>Home</title>
|
||||
<meta name="viewport" content="width=1920">
|
||||
<style>html,body{margin:0;padding:0;width:1920px;height:1080px;background:transparent;overflow:hidden}</style>
|
||||
<script>
|
||||
(function(){
|
||||
try {
|
||||
var b = new WebOSServiceBridge();
|
||||
b.onservicecallback = function(){};
|
||||
b.call('luna://com.webos.applicationManager/launch', JSON.stringify({id:'com.ecklf.luma'}));
|
||||
} catch(e) {
|
||||
setTimeout(function(){
|
||||
try {
|
||||
var b2 = new WebOSServiceBridge();
|
||||
b2.onservicecallback = function(){};
|
||||
b2.call('luna://com.webos.applicationManager/launch', JSON.stringify({id:'com.ecklf.luma'}));
|
||||
} catch(e2){}
|
||||
}, 500);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
</head><body></body></html>
|
||||
Reference in new issue
Block a user