Skip to content

Commit

Permalink
Update MainPanel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aabytt authored May 30, 2024
1 parent 70ba9a8 commit 5409d3a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions frontend/views/MainPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ module.exports = kind({
name: 'MainPanel',
kind: Panel,
title: 'webOS Aerial Screensaver',
titleBelow: "webosbrew.org",
headerType: 'small',
components: [
{kind: FittableColumns, fit: true, components: [
Expand Down Expand Up @@ -102,9 +101,9 @@ module.exports = kind({
{kind: Divider, content: 'Result'},
{kind: BodyText, name: 'result', content: 'Nothing selected...'}
]},
{kind: LunaService, name: 'statusCheck', service: 'luna://org.webosbrew.hbchannel.service', method: 'exec', onResponse: 'onStatusCheck', onError: 'onStatusCheck'},
{kind: LunaService, name: 'exec', service: 'luna://org.webosbrew.hbchannel.service', method: 'exec', onResponse: 'onExec', onError: 'onExec'},
{kind: LunaService, name: 'init', service: 'luna://org.webosbrew.hbchannel.service', method: 'exec', onResponse: 'onInit', onError: 'onInit'},
{kind: LunaService, name: 'statusCheck', service: 'luna://org..hbchannel.service', method: 'exec', onResponse: 'onStatusCheck', onError: 'onStatusCheck'},
{kind: LunaService, name: 'exec', service: 'luna://org..hbchannel.service', method: 'exec', onResponse: 'onExec', onError: 'onExec'},
{kind: LunaService, name: 'init', service: 'luna://org..hbchannel.service', method: 'exec', onResponse: 'onInit', onError: 'onInit'},
],

bindings: [],
Expand Down Expand Up @@ -178,7 +177,7 @@ module.exports = kind({

autostartToggle: function (sender) {
if (sender.active) {
this.exec('mkdir -p /var/lib/webosbrew/init.d && ln -sf ' + applyPath + ' ' + linkPath);
this.exec('mkdir -p /var/lib//init.d && ln -sf ' + applyPath + ' ' + linkPath);
} else {
this.exec('rm -rf ' + linkPath);
}
Expand Down

0 comments on commit 5409d3a

Please sign in to comment.