Adding functional usage of client self updater #10
- Added update command to the server - Server can request nodes update - Nodes have an 'endpoint' for updating - Fixes to the install script
This commit is contained in:
@@ -24,8 +24,10 @@ export const checkForUpdates = async () => {
|
||||
console.log('Update completed successfully. Restarting the application...');
|
||||
// Restart the application to apply the updates
|
||||
restartApplication();
|
||||
return true
|
||||
} else {
|
||||
console.log('The application is up to date.');
|
||||
return false
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Error checking for updates:', error);
|
||||
|
||||
Reference in New Issue
Block a user