diff options
author | Minteck <contact@minteck.org> | 2022-07-07 11:06:12 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-07-07 11:06:12 +0200 |
commit | 3e064be8020ed1eccc5cddcac5ab355320ebccb5 (patch) | |
tree | 37ca0fa0141b5600955ce5d001a4c7a7745902a0 /Library/SDK/Modules/Strawberry.SystemInfo.js | |
parent | 0e9f2dc57e9df8fbc5a5da6d68d1268278aa4129 (diff) | |
download | strawberry-os-mane.tar.gz strawberry-os-mane.tar.bz2 strawberry-os-mane.zip |
Diffstat (limited to 'Library/SDK/Modules/Strawberry.SystemInfo.js')
-rw-r--r-- | Library/SDK/Modules/Strawberry.SystemInfo.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/SDK/Modules/Strawberry.SystemInfo.js b/Library/SDK/Modules/Strawberry.SystemInfo.js index b52b1c2..cf44c52 100644 --- a/Library/SDK/Modules/Strawberry.SystemInfo.js +++ b/Library/SDK/Modules/Strawberry.SystemInfo.js @@ -57,6 +57,9 @@ module.exports = { if (proc['name'].startsWith(global._STRAWBERRY_SYSTEM_ROOT)) { proc['name'] = "/System" + proc['name'].substring(global._STRAWBERRY_SYSTEM_ROOT.length); } + if (proc['name'].includes("/node_modules/")) { + proc['name'] = chalk.gray(proc['name']); + } if (proc['name'].startsWith("/Strawberry")) { proc['name'] = proc['name'].substring(11); } @@ -107,6 +110,9 @@ module.exports = { if (child['name'].startsWith("/Strawberry")) { child['name'] = child['name'].substring(11); } + if (child['name'].includes("/node_modules/")) { + child['name'] = chalk.gray(child['name']); + } if (child['name'].startsWith("/System/Library/SDK/")) { child['name'] = chalk.yellow(child['name']); } @@ -157,6 +163,9 @@ module.exports = { if (child2['name'].startsWith("/Strawberry")) { child2['name'] = child2['name'].substring(11); } + if (child2['name'].includes("/node_modules/")) { + child2['name'] = chalk.gray(child2['name']); + } if (child2['name'].startsWith("/System/Library/SDK/")) { child2['name'] = chalk.yellow(child2['name']); } |