diff --git a/assets/data/icons/RemixIcon/download-line.svg b/assets/data/icons/RemixIcon/download-line.svg new file mode 100644 index 0000000..d77ea4e --- /dev/null +++ b/assets/data/icons/RemixIcon/download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Screens/FileSelectScreen.cpp b/src/Screens/FileSelectScreen.cpp index 2f02957..b7034d6 100644 --- a/src/Screens/FileSelectScreen.cpp +++ b/src/Screens/FileSelectScreen.cpp @@ -918,6 +918,11 @@ void FileSelectScreen::main_menu() { icon_text_transparent_option_selected_button("Donate", "data/icons/RemixIcon/hand-coin-line.svg", "Donate", false, [&] { SDL_OpenURL("https://infinipaint.com/donate.html"); }); + if(main.updateCheckerData.showGui) { + icon_text_transparent_option_selected_button("Get Update", "data/icons/RemixIcon/download-line.svg", "Get Update", false, [&] { + SDL_OpenURL("https://infinipaint.com/download.html"); + }); + } } } });