db8 app Id change

This commit is contained in:
hyunwoo93.cha
2025-01-16 11:35:58 +09:00
parent 0941b3bbe8
commit 30c4ea70f2

View File

@@ -326,12 +326,14 @@ export const checkFirstLaunch = ({ onSuccess, onFailure, onComplete }) => {
return;
}
const id = window.PalmSystem.identifier ?? appinfo.id;
return new LS2Request().send({
service: "luna://com.webos.service.db",
method: "find",
parameters: {
query: {
from: `${appinfo.id}:20`,
from: `${id}:20`,
where: [{ prop: "type", op: "=", val: "app_init" }],
},
},
@@ -348,13 +350,15 @@ export const saveFirstLaunchInfo = ({ onSuccess, onFailure, onComplete }) => {
return;
}
const id = window.PalmSystem.identifier ?? appinfo.id;
return new LS2Request().send({
service: "luna://com.webos.service.db",
method: "put",
parameters: {
object: [
{
_kind: `${appinfo.id}:20`,
_kind: `${id}:20`,
type: "app_init",
initialized: true,
timestamp: new Date().toISOString(),