From a8edac4105f007003c3f244b482d03732ce74398 Mon Sep 17 00:00:00 2001 From: Priyansh Date: Tue, 27 Apr 2021 20:42:13 +0530 Subject: Preferences + List Favorites --- src/systemLevelInformation.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/systemLevelInformation.ts') diff --git a/src/systemLevelInformation.ts b/src/systemLevelInformation.ts index e902d32..43edcc9 100644 --- a/src/systemLevelInformation.ts +++ b/src/systemLevelInformation.ts @@ -5,10 +5,11 @@ import { extname, basename } from 'path'; class systemLevelInformation { - getUserInfo(): { username: string, homedir: string } { + getUserInfo(): { username: string, homedir: string, platform: string } { return { username: os.userInfo().username, - homedir: os.userInfo().homedir + homedir: os.userInfo().homedir, + platform: os.platform() }; } -- cgit v1.2.3