Skip to content

Commit

Permalink
Bumped up version to 2.8.0-alpha5
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmatena committed Jun 14, 2024
1 parent 35c520f commit 8601d82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions src/slic3r/GUI/UserAccountCommunication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ UserAccountCommunication::UserAccountCommunication(wxEvtHandler* evt_handler, Ap
shared_session_key = key0;

} else {
access_token = m_app_config->get("access_token");
refresh_token = m_app_config->get("refresh_token");
shared_session_key = m_app_config->get("shared_session_key");
next_timeout = m_app_config->get("access_token_timeout");
// Do nothing.
}
long long next = next_timeout.empty() ? 0 : std::stoll(next_timeout);
long long remain_time = next - std::time(nullptr);
Expand Down Expand Up @@ -214,10 +211,7 @@ void UserAccountCommunication::set_username(const std::string& username)
save_secret("tokens", m_session->get_shared_session_key(), tokens);
}
else {
m_app_config->set("access_token", m_remember_session ? m_session->get_access_token() : std::string());
m_app_config->set("refresh_token", m_remember_session ? m_session->get_refresh_token() : std::string());
m_app_config->set("shared_session_key", m_remember_session ? m_session->get_shared_session_key() : std::string());
m_app_config->set("access_token_timeout", m_remember_session ? GUI::format("%1%", m_session->get_next_token_timeout()) : "0");
// If we can't store the tokens securely, don't store them at all.
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion version.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

set(SLIC3R_APP_NAME "PrusaSlicer")
set(SLIC3R_APP_KEY "PrusaSlicer")
set(SLIC3R_VERSION "2.8.0-alpha4")
set(SLIC3R_VERSION "2.8.0-alpha5")
set(SLIC3R_BUILD_ID "PrusaSlicer-${SLIC3R_VERSION}+UNKNOWN")
set(SLIC3R_RC_VERSION "2,8,0,0")
set(SLIC3R_RC_VERSION_DOTS "2.8.0.0")

0 comments on commit 8601d82

Please sign in to comment.