Fix app crashing on self-restart in the AppImage release

This commit is contained in:
Gabriel Florio
2026-07-28 16:02:20 -03:00
parent 4943d3e5f4
commit 6a9e77cde0
3 changed files with 30 additions and 4 deletions
+1 -1
View File
@@ -1860,7 +1860,7 @@ function RomImporter:mousepressed(x, y, button)
if action == "download" and self.Check then
pcall(self.Check.download)
elseif action == "restart" then
love.event.quit("restart")
HostShell.restart()
elseif action == "openurl" and self.Check then
love.system.openURL(self.Check.releaseUrl())
end