mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
Update browserViewMetaData.ts
This commit is contained in:
parent
fd596ed671
commit
79cc275865
1 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,9 @@ export let extraMeta: WindowMeta[WindowNames] = {};
|
||||||
try {
|
try {
|
||||||
extraMeta = JSON.parse(extraMetaJSONString) as WindowMeta[WindowNames];
|
extraMeta = JSON.parse(extraMetaJSONString) as WindowMeta[WindowNames];
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Failed to parse extraMeta. ${(error as Error).message} extraMeta is ${extraMetaJSONString} and process.argv is`, process.argv);
|
console.error(
|
||||||
|
`Failed to parse extraMeta. ${(error as Error).message} extraMeta is ${extraMetaJSONString} and process.argv is ${JSON.stringify(process.argv)}`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export const browserViewMetaData = { windowName, ...extraMeta };
|
export const browserViewMetaData = { windowName, ...extraMeta };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue