db8 app Id change
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user