aboutsummaryrefslogtreecommitdiff
path: root/src/systemLevelInformation.ts
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2021-04-27 20:42:13 +0530
committerPriyansh <[email protected]>2021-04-27 20:42:13 +0530
commita8edac4105f007003c3f244b482d03732ce74398 (patch)
tree1440e377da6b4ba18ca3151066efbafeed7a9c06 /src/systemLevelInformation.ts
parentb18cf71249b26d965215bcf06204daf6af5f55e7 (diff)
downloadstyx-master.tar.xz
styx-master.zip
Preferences + List FavoritesHEADmaster
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()
};
}