mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
Don't delete symlink unless we're uninstalling.
This commit is contained in:
parent
8bdbcfeaa6
commit
49d55dd295
@ -60,6 +60,8 @@ Component.prototype.createOperationsForArchive = function(archive)
|
||||
var symlinkPath = targetDirectory + "/../GPT4All.app";
|
||||
|
||||
// Remove the symlink during uninstallation
|
||||
component.addOperation("Delete", symlinkPath, "UNDOEXECUTE");
|
||||
if (installer.isUninstaller()) {
|
||||
component.addOperation("Execute", "rm", "-f", symlinkPath, "UNDOEXECUTE");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -349,6 +349,10 @@ Dialog {
|
||||
Accessible.role: Accessible.ToolTip
|
||||
Accessible.name: modelPathDisplayLabel.text
|
||||
Accessible.description: ToolTip.text
|
||||
background: Rectangle {
|
||||
color: theme.backgroundLighter
|
||||
radius: 10
|
||||
}
|
||||
}
|
||||
Button {
|
||||
text: qsTr("Browse")
|
||||
|
@ -565,6 +565,10 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
||||
Accessible.role: Accessible.ToolTip
|
||||
Accessible.name: modelPathDisplayLabel.text
|
||||
Accessible.description: ToolTip.text
|
||||
background: Rectangle {
|
||||
color: theme.backgroundLighter
|
||||
radius: 10
|
||||
}
|
||||
}
|
||||
Button {
|
||||
Layout.row: 1
|
||||
|
Loading…
Reference in New Issue
Block a user