make minor version label invisible on update

This commit is contained in:
camila314 2023-09-11 13:12:15 -05:00
parent 3f8cdd994a
commit 0f179dad45
2 changed files with 4 additions and 1 deletions

View file

@ -64,7 +64,7 @@ void Loader::Impl::openPlatformConsole() {
dup2(outFd, 1); dup2(outFd, 1);
dup2(outFd, 2); dup2(outFd, 2);
NSTask *task = [[NSTask alloc] init]; NSTask* task = [[NSTask alloc] init];
task.launchPath = @"/usr/bin/open"; task.launchPath = @"/usr/bin/open";
task.arguments = @[[NSString stringWithUTF8String:script.c_str()]]; task.arguments = @[[NSString stringWithUTF8String:script.c_str()]];
[task launch]; [task launch];

View file

@ -353,6 +353,9 @@ void ModInfoPopup::preInstall() {
if (m_latestVersionLabel) { if (m_latestVersionLabel) {
m_latestVersionLabel->setVisible(false); m_latestVersionLabel->setVisible(false);
} }
if (m_minorVersionLabel) {
m_minorVersionLabel->setVisible(false);
}
this->setInstallStatus(UpdateProgress(0, "Starting install")); this->setInstallStatus(UpdateProgress(0, "Starting install"));
m_installBtn->setTarget( m_installBtn->setTarget(