mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
Don't delete symlink unless we're uninstalling.
This commit is contained in:
parent
bba50d1aec
commit
364eeb2ce5
@ -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