mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-17 19:24:01 +02:00
Fix app crashing on self-restart in the AppImage release
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user