Compare commits
4 Commits
v2.6.12
...
f860f39e59
Author | SHA1 | Date | |
---|---|---|---|
f860f39e59 | |||
fa4516de3b | |||
539547beb8 | |||
6eb92959ec |
11
changelog.md
11
changelog.md
@ -1,5 +1,16 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-03-26 - 2.6.14 - fix(systemd)
|
||||||
|
Shorten closing log divider in systemd service installation output for consistent formatting.
|
||||||
|
|
||||||
|
- Replaced the overly long footer with a shorter one in ts/systemd.ts.
|
||||||
|
- This change improves log readability without affecting functionality.
|
||||||
|
|
||||||
|
## 2025-03-26 - 2.6.13 - fix(cli)
|
||||||
|
Fix CLI update output box formatting
|
||||||
|
|
||||||
|
- Adjusted the closing box line in the update process log messages for consistent visual formatting
|
||||||
|
|
||||||
## 2025-03-26 - 2.6.12 - fix(systemd)
|
## 2025-03-26 - 2.6.12 - fix(systemd)
|
||||||
Adjust logging border in systemd service installation output
|
Adjust logging border in systemd service installation output
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@serve.zone/nupst",
|
"name": "@serve.zone/nupst",
|
||||||
"version": "2.6.12",
|
"version": "2.6.14",
|
||||||
"description": "Node.js UPS Shutdown Tool for SNMP-enabled UPS devices",
|
"description": "Node.js UPS Shutdown Tool for SNMP-enabled UPS devices",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/nupst',
|
name: '@serve.zone/nupst',
|
||||||
version: '2.6.12',
|
version: '2.6.14',
|
||||||
description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices'
|
description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices'
|
||||||
}
|
}
|
||||||
|
@ -471,11 +471,11 @@ Options:
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log('│ Update completed successfully!');
|
console.log('│ Update completed successfully!');
|
||||||
console.log('└──────────────────────────────────────────┘');
|
console.log('└─────────────────────────────────────────────┘');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('│ Error during update process:');
|
console.error('│ Error during update process:');
|
||||||
console.error(`│ ${error.message}`);
|
console.error(`│ ${error.message}`);
|
||||||
console.error('└──────────────────────────────────────────┘');
|
console.error('└─────────────────────────────────────────────┘');
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
@ -76,7 +76,7 @@ WantedBy=multi-user.target
|
|||||||
// Enable the service
|
// Enable the service
|
||||||
execSync('systemctl enable nupst.service');
|
execSync('systemctl enable nupst.service');
|
||||||
console.log('│ Service enabled to start on boot');
|
console.log('│ Service enabled to start on boot');
|
||||||
console.log('└────────────────────────────────────────────────┘');
|
console.log('└─────────────────────────────────────────────┘');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.message === 'Configuration not found') {
|
if (error.message === 'Configuration not found') {
|
||||||
// Just rethrow the error as the message has already been displayed
|
// Just rethrow the error as the message has already been displayed
|
||||||
|
Reference in New Issue
Block a user