fix: unset APPDIR before launching new appimage

This commit is contained in:
RipleyTom 2022-05-29 06:33:53 +02:00 committed by Megamouse
parent 256eb17ae5
commit baf51a2e2f
1 changed files with 2 additions and 0 deletions

View File

@ -620,6 +620,8 @@ bool update_manager::handle_rpcs3(const QByteArray& data, bool auto_accept)
} }
new_appimage.close(); new_appimage.close();
unsetenv("APPDIR");
update_log.success("Successfully updated %s!", replace_path); update_log.success("Successfully updated %s!", replace_path);
#endif #endif