tr200 2.0.4 → 2.0.6
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/bin/tr200.js +8 -7
- package/package.json +1 -1
package/bin/tr200.js
CHANGED
|
@@ -100,15 +100,16 @@ function getProfilePaths() {
|
|
|
100
100
|
path.join(homeDir, 'Documents', 'WindowsPowerShell', 'Microsoft.PowerShell_profile.ps1')
|
|
101
101
|
];
|
|
102
102
|
} else if (isMac) {
|
|
103
|
+
// macOS: only .zshrc needed (zsh is default since Catalina)
|
|
104
|
+
// SSH login sources .zshrc for interactive sessions
|
|
103
105
|
return [
|
|
104
|
-
path.join(homeDir, '.zshrc')
|
|
105
|
-
path.join(homeDir, '.bash_profile')
|
|
106
|
+
path.join(homeDir, '.zshrc')
|
|
106
107
|
];
|
|
107
108
|
} else {
|
|
108
|
-
// Linux/BSD
|
|
109
|
+
// Linux/BSD - only .bashrc needed
|
|
110
|
+
// .profile sources .bashrc on most distros, so adding to both causes duplicates
|
|
109
111
|
return [
|
|
110
|
-
path.join(homeDir, '.bashrc')
|
|
111
|
-
path.join(homeDir, '.profile')
|
|
112
|
+
path.join(homeDir, '.bashrc')
|
|
112
113
|
];
|
|
113
114
|
}
|
|
114
115
|
}
|
|
@@ -342,7 +343,7 @@ function runReport() {
|
|
|
342
343
|
// Handle help flag
|
|
343
344
|
if (process.argv.includes('--help') || process.argv.includes('-h')) {
|
|
344
345
|
console.log(`
|
|
345
|
-
TR-200 Machine Report v2.0.
|
|
346
|
+
TR-200 Machine Report v2.0.6
|
|
346
347
|
|
|
347
348
|
Usage: tr200 [options]
|
|
348
349
|
report [options]
|
|
@@ -362,7 +363,7 @@ More info: https://github.com/RealEmmettS/usgc-machine-report
|
|
|
362
363
|
|
|
363
364
|
// Handle version flag
|
|
364
365
|
if (process.argv.includes('--version') || process.argv.includes('-v')) {
|
|
365
|
-
console.log('2.0.
|
|
366
|
+
console.log('2.0.6');
|
|
366
367
|
process.exit(0);
|
|
367
368
|
}
|
|
368
369
|
|