aboutsummaryrefslogtreecommitdiff
path: root/src/systemLevelInformation.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemLevelInformation.ts')
-rw-r--r--src/systemLevelInformation.ts5
1 files changed, 3 insertions, 2 deletions
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()
};
}