fix commit

This commit is contained in:
Oren Kedem committed 2021-06-22 15:20:16 +03:00
1 parent 8b2754ab0a
commit 99f69a24c7
1 file changed
+16 -2
+16 -2
View File
@@ -53,5 +53,19 @@ if (os.platform() == "win32") {
// Mac Shortcuts
} else if (os.platform() == "darwin") {
// Uninstall Mac shortcuts here once they have been added.
}
// Remove .desktop files
let command = `rm ~/Desktop/${name}.command`
exec( command,
function ( error, stdout ){
if (error) {
console.log('');
console.log("There was an error uninstalling shortcuts: ");
console.log('');
console.log( error );
return;
} else {
console.log('');
console.log("Shortcuts have been uninstalled successfully.");
}
});
}