wobs-js 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/userInfo.js
CHANGED
|
@@ -281,8 +281,8 @@ function getUserInfoFromIni(userInfo) {
|
|
|
281
281
|
if (fs.existsSync(runtimeIniPath)) {
|
|
282
282
|
try {
|
|
283
283
|
const cfg = readRuntimeIni(runtimeIniPath);
|
|
284
|
-
if (cfg.
|
|
285
|
-
userInfo.AliUID = cfg.
|
|
284
|
+
if (cfg.AliUid) {
|
|
285
|
+
userInfo.AliUID = cfg.AliUid;
|
|
286
286
|
}
|
|
287
287
|
if (cfg.DesktopId) {
|
|
288
288
|
userInfo.desktopID = cfg.DesktopId;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
{"time":"2026-01-
|
|
2
|
-
{"time":"2026-01-
|
|
1
|
+
{"time":"2026-01-22T11:04:47.765+0800","eventName":"test","module":"builder","InstanceID":"i-123","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}
|
|
2
|
+
{"time":"2026-01-22T11:05:21.515+0800","eventName":"test","module":"builder","InstanceID":"i-123","aliUid":"123","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}
|
|
3
|
+
{"time":"2026-01-22T11:06:17.391+0800","eventName":"test","module":"builder","InstanceID":"i-123","aliUid":"abc","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}
|