Skip to content

Commit 0a7e464

Browse files
committed
Fix #25
Update installation page URL
1 parent 60cb835 commit 0a7e464

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/add_install_dlg_derived.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void AddNewInstallDlg::GetAllVersions(){
8585
}
8686
// installation URLs
8787
{
88-
auto r = fetch("https://unity3d.com/get-unity/download/archive");
88+
auto r = fetch("https://unity.com/releases/editor/archive");
8989

9090
// check if succeeded
9191
if (r.code != 200){
@@ -95,7 +95,7 @@ void AddNewInstallDlg::GetAllVersions(){
9595
// get all the Unity versions
9696
// they are prefixed with unityhub:// links
9797

98-
std::string_view match("unityhub://");
98+
constexpr std::string_view match("unityhub://");
9999

100100
for(size_t i = 0; i < r.text.size(); i++){
101101
std::string_view section(r.text.data() + i,match.size());

0 commit comments

Comments
 (0)