Skip to content

Commit

Permalink
Stop autoupdater renaming file across devices
Browse files Browse the repository at this point in the history
  • Loading branch information
RipleyTom authored and Nekotekina committed Nov 2, 2019
1 parent f75661b commit 35c0c05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpcs3/rpcs3qt/update_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ bool update_manager::handle_rpcs3(const QByteArray& rpcs3_data, bool /*automatic
m_progress_dialog->setWindowTitle(tr("Updating RPCS3"));

// Move the appimage/exe and replace with new appimage
fs::rename(replace_path, "/tmp/rpcs3_old", true);
std::string move_dest = replace_path + "_old";
fs::rename(replace_path, move_dest, true);
fs::file new_appimage(replace_path, fs::read + fs::write + fs::create + fs::trunc);
if (!new_appimage)
{
Expand Down

0 comments on commit 35c0c05

Please sign in to comment.