Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Update check: once a day the app reads website/latest.json and shows a banner when a newer version is out
islandmed11a325bb29f7
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 08ff0110..5110ff04 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -15,6 +15,7 @@ option(SCULPTFORGE_BUILD_PYTHON "Build the Python module (import sculptforge)" Oset(SCULPTFORGE_PACKAGE_SUFFIX "" CACHE STRING "Extra tag in package file names, e.g. vfx2026")option(SCULPTFORGE_BUILD_TESTS "Build unit tests" ON)option(SCULPTFORGE_USE_SYSTEM_SDL "Use an installed SDL3 if one is found" ON)+option(SCULPTFORGE_UPDATE_CHECK "The app checks the website for a newer version once a day (OFF for package managers)" ON)if(SCULPTFORGE_BUILD_TESTS)enable_testing()endif()@@ -77,6 +78,7 @@ add_library(sculptforge_core STATICsrc/core/Matcap.cppsrc/core/Project.cppsrc/core/Guide.cpp+ src/core/UpdateCheck.cppsrc/core/Tablet.cppsrc/io/ObjIO.cppsrc/io/FbxIO.cpp@@ -195,7 +197,8 @@ if(SCULPTFORGE_BUILD_APP))target_link_libraries(sculptforge PRIVATE sculptforge_core sculptforge_ai imgui SDL3::SDL3)target_include_directories(sculptforge PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/third_party/lucide)- target_compile_definitions(sculptforge PRIVATE SCULPTFORGE_VERSION="${PROJECT_VERSION}")+ target_compile_definitions(sculptforge PRIVATE SCULPTFORGE_VERSION="${PROJECT_VERSION}"+ SF_UPDATE_CHECK=$<BOOL:${SCULPTFORGE_UPDATE_CHECK}>)if(MSVC)target_compile_options(sculptforge PRIVATE /W4 /utf-8 /permissive-)else()diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILDindex 762e6c7f..4566a0a8 100644--- a/packaging/arch/PKGBUILD+++ b/packaging/arch/PKGBUILD@@ -24,6 +24,7 @@ build() {-DCMAKE_BUILD_TYPE=Release \-DCMAKE_INSTALL_PREFIX=/usr \-DSCULPTFORGE_USE_SYSTEM_SDL=ON \+ -DSCULPTFORGE_UPDATE_CHECK=OFF \-DFETCHCONTENT_FULLY_DISCONNECTED=ON \-DFETCHCONTENT_SOURCE_DIR_IMGUI="$srcdir/imgui-$_imgui" \-DFETCHCONTENT_SOURCE_DIR_GLM="$srcdir/glm-$_glm"diff --git a/src/app/App.h b/src/app/App.hindex 06f55b6a..32d64d47 100644--- a/src/app/App.h+++ b/src/app/App.h@@ -24,6 +24,7 @@#include "core/QRemesh.h"#include "core/Stroke.h"#include "core/Tablet.h"+#include "core/UpdateCheck.h"#include "core/Texture.h"#include "render/Camera.h"#include "render/Renderer.h"@@ -38,6 +39,7 @@#include <future>#include <memory>#include <mutex>+#include <optional>#include <string>#include <vector>@@ -534,6 +536,26 @@ private:bool continueAfterSave_ = false; // run discardAction_ once the Save As dialog savedbool offerRestore_ = false;bool showWhatsNew_ = false; // the first start after an update opens the guide's What's New chapter+ // Update check (PanelProject.cpp): website/latest.json at most once a day, on a worker thread; a banner when a+ // newer version is out. Off with Preferences > Updates, SF_NO_UPDATE_CHECK, or -DSCULPTFORGE_UPDATE_CHECK=OFF+ // (package managers); SF_UPDATE_FEED points it at another URL or a local file (UI tests).+ struct UpdateJob {+ std::atomic<bool> done{false};+ bool manual = false;+ bool ok = false;+ UpdateInfo info;+ std::string error;+ };+ void startUpdateCheck(bool manual);+ void pollUpdateCheck();+ void drawUpdateBanner();+ void drawUpdatesSection(); // Preferences > Updates+ bool checkUpdates_ = true;+ int64_t updateCheckedAt_ = 0; // unix time of the last automatic check+ std::string updateSkipped_; // "Skip this version"+ std::shared_ptr<UpdateJob> updateJob_;+ std::optional<UpdateInfo> updateAvailable_; // shown as the banner until dismissed+ std::string updateStatus_; // the last check's result, for Preferences > Updatesint autosaveMinutes_ = 5; // 0 = offfloat autosaveTimer_ = 0.0f;uint64_t autosaveRevision_ = ~uint64_t(0);diff --git a/src/app/Config.cpp b/src/app/Config.cppindex 2b069441..d1b792fe 100644--- a/src/app/Config.cpp+++ b/src/app/Config.cpp@@ -280,6 +280,10 @@ void App::initActions() {"the chapter about it.");add("help.whats_new", "What's New", "Help", nullptr, [this] { guide_.open("whats-new.md"); }, ICON_LC_SPARKLES, nullptr,nullptr, nullptr, "What changed in this version and the ones before it (opens once by itself after an update).");+ add("help.check_updates", "Check for updates", "Help", nullptr, [this] { startUpdateCheck(true); }, ICON_LC_REFRESH_CW,+ nullptr, nullptr, [this] { return !updateJob_; },+ "Ask the SculptForge website whether a newer version is out. SculptForge also checks by itself once a day "+ "(Preferences > Updates).");add("help.about", "About SculptForge", "Help", nullptr, [this] { showAbout_ = true; }, ICON_LC_INFO, nullptr, nullptr, nullptr,"Version, licence and the open-source components SculptForge is built with.");add("help.website", "Website & documentation", "Help", nullptr, [] { SDL_OpenURL("https://islandmed.github.io/SculptForge/"); },diff --git a/src/app/Palettes.cpp b/src/app/Palettes.cppindex 14a540c9..62614b9f 100644--- a/src/app/Palettes.cpp+++ b/src/app/Palettes.cpp@@ -262,6 +262,7 @@ void App::drawPalette_Help() {menuAction(*this, "help.controls");menuAction(*this, "help.guide");menuAction(*this, "help.whats_new");+ menuAction(*this, "help.check_updates");menuAction(*this, "ui.command_palette");menuAction(*this, "help.website");menuAction(*this, "help.report");@@ -284,6 +285,7 @@ void App::drawPalette_Preferences() {if (subpalette("preferences.lightbox", "LightBox")) config::drawLightBoxSection(*this);if (subpalette("preferences.tablet", "Tablet")) drawTabletSection();if (subpalette("preferences.performance", "Performance")) drawPerformanceSection();+ if (subpalette("preferences.updates", "Updates")) drawUpdatesSection();if (subpalette("preferences.autosave", "Autosave")) {ImGui::SetNextItemWidth(-1);ImGui::SliderInt("##autosave", &autosaveMinutes_, 0, 60, autosaveMinutes_ ? "Every %d min" : "Autosave off");diff --git a/src/app/PanelProject.cpp b/src/app/PanelProject.cppindex b6ac12db..6a3d124e 100644--- a/src/app/PanelProject.cpp+++ b/src/app/PanelProject.cpp@@ -6,6 +6,9 @@// Recent and autosave with crash recovery. Prompts only appear in interactive// sessions; --render, --record and demos run straight through.#include "app/App.h"+#include "app/Ui.h"++#include "ai/Http.h"#include "core/Matcap.h"#include "core/Project.h"@@ -14,10 +17,13 @@#include <algorithm>#include <cctype>+#include <chrono>+#include <cstdlib>#include <filesystem>#include <fstream>#include <iterator>#include <system_error>+#include <thread>namespace sf {@@ -78,10 +84,19 @@ void App::initProject() {// Updated since the last start (a new install has no prefs yet and gets the LightBox instead).const std::string lastSeen = prefs["last_seen_version"].isString() ? prefs["last_seen_version"].asString() : "";showWhatsNew_ = lastSeen != SCULPTFORGE_VERSION;+ checkUpdates_ = prefs["check_updates"].asBool(checkUpdates_);+ updateCheckedAt_ = int64_t(prefs["update_checked_at"].asNumber(0));+ if (prefs["update_skipped"].isString()) updateSkipped_ = prefs["update_skipped"].asString();}recentFiles_ = pruneRecentFiles(std::move(recentFiles_), fileExists);saveProjectPrefs(); // records this version, so What's New shows once+#if SF_UPDATE_CHECK+ const int64_t now = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now().time_since_epoch()).count();+ if (checkUpdates_ && options_.uiTest.empty() && !std::getenv("SF_NO_UPDATE_CHECK") && updateCheckDue(updateCheckedAt_, now))+ startUpdateCheck(false);+#endif+// An autosave newer than the last clean exit means the previous session ended unexpectedly.std::error_code ec;const auto autosave = fsPath(autosavePath(prefDir_)), marker = fsPath(prefDir_ + "clean_exit");@@ -106,6 +121,9 @@ void App::saveProjectPrefs() {prefs.set("recent_files", std::move(recent));prefs.set("autosave_minutes", autosaveMinutes_);prefs.set("last_seen_version", std::string(SCULPTFORGE_VERSION));+ prefs.set("check_updates", checkUpdates_);+ prefs.set("update_checked_at", double(updateCheckedAt_));+ if (!updateSkipped_.empty()) prefs.set("update_skipped", updateSkipped_);std::ofstream(fsPath(prefDir_ + "project.json"), std::ios::binary | std::ios::trunc) << prefs.dump(true);}@@ -409,6 +427,7 @@ void App::drawProjectPopups() {guide_.open("whats-new.md");showWhatsNew_ = false;}+ drawUpdateBanner();ImGui::SetNextWindowPos(center, ImGuiCond_Appearing, ImVec2(0.5f, 0.5f));if (ImGui::BeginPopupModal(kRestorePopup, nullptr, ImGuiWindowFlags_AlwaysAutoResize)) {ImGui::TextUnformatted("SculptForge did not close normally last time.");@@ -435,4 +454,106 @@ void App::drawProjectPopups() {}}+// --- Update check ---++void App::startUpdateCheck(bool manual) {+ if (updateJob_) return; // one at a time+ auto job = std::make_shared<UpdateJob>();+ job->manual = manual;+ updateJob_ = job;+ if (!manual) {+ updateCheckedAt_ = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now().time_since_epoch()).count();+ saveProjectPrefs();+ }+ const char* feed = std::getenv("SF_UPDATE_FEED");+ std::string source = feed && *feed ? feed : kUpdateFeedUrl;+ // Detached: a slow network never holds up quitting (the job is shared, so it outlives the app if it must).+ std::thread([job, source] {+ std::string body;+ if (source.rfind("https://", 0) == 0 || source.rfind("http://", 0) == 0) {+ const ai::HttpResponse r = ai::httpRequest("GET", source, {"Accept: application/json"}, {}, 15);+ if (r.status == 200) body = r.body;+ else job->error = r.status ? "the server answered " + std::to_string(r.status) : (r.error.empty() ? "no connection" : r.error);+ } else {+ std::ifstream f(fsPath(source), std::ios::binary);+ if (f) body.assign(std::istreambuf_iterator<char>(f), {});+ else job->error = "can't read " + source;+ }+ if (job->error.empty()) job->ok = parseUpdateFeed(body, job->info, job->error);+ job->done = true;+ }).detach();+}++void App::pollUpdateCheck() {+ if (!updateJob_ || !updateJob_->done) return;+ const std::shared_ptr<UpdateJob> job = std::move(updateJob_);+ updateJob_.reset();+ if (!job->ok) {+ updateStatus_ = "Couldn't check for updates: " + job->error;+ if (job->manual) status_ = updateStatus_;+ return;+ }+ const UpdateInfo& u = job->info;+ if (compareVersions(u.version, SCULPTFORGE_VERSION) <= 0) {+ updateStatus_ = "SculptForge " SCULPTFORGE_VERSION " is the newest version";+ if (job->manual) status_ = updateStatus_;+ return;+ }+ updateStatus_ = "SculptForge " + u.version + " is available";+ // An automatic check stays quiet about a version the user chose to skip; asking again shows it.+ if (job->manual || u.version != updateSkipped_) updateAvailable_ = u;+ if (job->manual) status_ = updateStatus_;+}++void App::drawUpdateBanner() {+ pollUpdateCheck(); // (here, not in tickProject: this runs every frame, UI tests included)+ if (!updateAvailable_) return;+ const UpdateInfo& u = *updateAvailable_;+ const CanvasRect c = canvasRect(); // top centre of the 3D view, clear of the shelves+ ImGui::SetNextWindowPos(ImVec2(c.x + c.w * 0.5f, c.y + 12.0f * uiScale_), ImGuiCond_Always, ImVec2(0.5f, 0.0f));+ ImGui::SetNextWindowBgAlpha(0.96f);+ const ImGuiWindowFlags flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_AlwaysAutoResize |+ ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoFocusOnAppearing |+ ImGuiWindowFlags_NoNav | ImGuiWindowFlags_NoMove;+ if (ImGui::Begin("##update_banner", nullptr, flags)) {+ ImGui::Text("SculptForge %s is available", u.version.c_str());+ ImGui::SameLine();+ ImGui::TextDisabled("(you have %s)", SCULPTFORGE_VERSION);+ for (const auto& h : u.highlights) ImGui::BulletText("%s", h.c_str());+ ImGui::Spacing();+ bool close = false;+ if (ImGui::Button("What's new")) SDL_OpenURL(u.notesUrl.c_str());+ ImGui::SameLine();+ if (ImGui::Button("Download")) {+ SDL_OpenURL(u.downloadUrl.c_str());+ close = true;+ }+ ImGui::SameLine();+ if (ImGui::Button("Later")) close = true;+ ImGui::SameLine();+ if (ImGui::Button("Skip this version")) {+ updateSkipped_ = u.version;+ saveProjectPrefs();+ close = true;+ }+ if (close) updateAvailable_.reset();+ }+ ImGui::End();+}++void App::drawUpdatesSection() {+#if SF_UPDATE_CHECK+ if (ImGui::Checkbox("Check for updates", &checkUpdates_)) saveProjectPrefs();+ ui::HelpText("Check for updates", nullptr,+ "Once a day at startup, download a small file from the SculptForge website that names the newest "+ "version, and show a banner when there is a newer one. Nothing about you or your computer is sent.",+ "Preferences > Updates");+#else+ ImGui::TextWrapped("This build gets its updates from your package manager.");+#endif+ ui::ActionButton(*this, "help.check_updates", ImVec2(-1, 0));+ if (updateJob_) ImGui::TextDisabled("Checking...");+ else if (!updateStatus_.empty()) ImGui::TextWrapped("%s", updateStatus_.c_str());+}+} // namespace sfdiff --git a/src/core/UpdateCheck.cpp b/src/core/UpdateCheck.cppnew file mode 100644index 00000000..6aeeb394--- /dev/null+++ b/src/core/UpdateCheck.cpp@@ -0,0 +1,68 @@+// SculptForge - open source digital sculpting+// SPDX-License-Identifier: GPL-3.0-or-later+#include "core/UpdateCheck.h"++#include "core/Json.h"++#include <algorithm>+#include <cctype>++namespace sf {++namespace {++bool httpsUrl(const std::string& s) { return s.rfind("https://", 0) == 0 && s.size() > 8; }++std::vector<uint64_t> versionParts(const std::string& v) {+ std::vector<uint64_t> parts;+ size_t i = v.size() > 1 && (v[0] == 'v' || v[0] == 'V') && std::isdigit(static_cast<unsigned char>(v[1])) ? 1 : 0;+ while (i < v.size() && std::isdigit(static_cast<unsigned char>(v[i]))) {+ uint64_t n = 0;+ for (; i < v.size() && std::isdigit(static_cast<unsigned char>(v[i])); ++i)+ n = n < (UINT64_MAX - 9) / 10 ? n * 10 + uint64_t(v[i] - '0') : n;+ parts.push_back(n);+ if (i + 1 < v.size() && v[i] == '.' && std::isdigit(static_cast<unsigned char>(v[i + 1]))) ++i;+ else break;+ }+ return parts;+}++} // namespace++bool parseUpdateFeed(const std::string& json, UpdateInfo& out, std::string& error) {+ Json j;+ if (!Json::parse(json, j, error)) return false;+ if (!j.isObject()) {+ error = "the update feed is not a JSON object";+ return false;+ }+ UpdateInfo info;+ if (j["version"].isString()) info.version = j["version"].asString();+ if (j["download"].isString()) info.downloadUrl = j["download"].asString();+ if (j["notes"].isString()) info.notesUrl = j["notes"].asString();+ if (versionParts(info.version).empty()) {+ error = "the update feed has no version";+ return false;+ }+ if (!httpsUrl(info.downloadUrl)) {+ error = "the update feed has no https download link";+ return false;+ }+ if (!httpsUrl(info.notesUrl)) info.notesUrl = info.downloadUrl;+ for (const auto& h : j["highlights"].items())+ if (h.isString() && !h.asString().empty() && info.highlights.size() < 4)+ info.highlights.push_back(h.asString().substr(0, 200));+ out = std::move(info);+ return true;+}++int compareVersions(const std::string& a, const std::string& b) {+ const auto pa = versionParts(a), pb = versionParts(b);+ for (size_t i = 0; i < std::max(pa.size(), pb.size()); ++i) {+ const uint64_t x = i < pa.size() ? pa[i] : 0, y = i < pb.size() ? pb[i] : 0;+ if (x != y) return x < y ? -1 : 1;+ }+ return 0;+}++} // namespace sfdiff --git a/src/core/UpdateCheck.h b/src/core/UpdateCheck.hnew file mode 100644index 00000000..8f845e38--- /dev/null+++ b/src/core/UpdateCheck.h@@ -0,0 +1,36 @@+// SculptForge - open source digital sculpting+// SPDX-License-Identifier: GPL-3.0-or-later+//+// The update check's feed: website/latest.json names the newest release, where to get it and what's in it. The+// app downloads it at most once a day (app/PanelProject.cpp); nothing about the user is sent.+#pragma once++#include <cstdint>+#include <string>+#include <vector>++namespace sf {++inline constexpr const char* kUpdateFeedUrl = "https://islandmed.github.io/SculptForge/latest.json";+inline constexpr int64_t kUpdateCheckInterval = 24 * 60 * 60; // seconds++struct UpdateInfo {+ std::string version; // "0.6.0"+ std::string downloadUrl; // the download page+ std::string notesUrl; // what's new+ std::vector<std::string> highlights; // a few short lines for the banner+};++// Reads the feed; false (with `error`) when it isn't one: the version and an https download link are required.+bool parseUpdateFeed(const std::string& json, UpdateInfo& out, std::string& error);++// Compares dotted version numbers ("0.10.0" > "0.9.2"; a missing part counts as 0, text after the numbers such as+// "-rc1" is ignored): < 0, 0 or > 0.+int compareVersions(const std::string& a, const std::string& b);++// The check runs when the last one is a day old (or in the future: the clock was changed).+inline bool updateCheckDue(int64_t lastCheck, int64_t now) {+ return lastCheck <= 0 || now < lastCheck || now - lastCheck >= kUpdateCheckInterval;+}++} // namespace sfdiff --git a/tests/test_update_check.cpp b/tests/test_update_check.cppnew file mode 100644index 00000000..873b9cdb--- /dev/null+++ b/tests/test_update_check.cpp@@ -0,0 +1,64 @@+// SculptForge - open source digital sculpting+// SPDX-License-Identifier: GPL-3.0-or-later+//+// The update check's feed and version comparison (src/core/UpdateCheck.cpp).+#include "TestHarness.h"++#include "core/UpdateCheck.h"++#include <fstream>+#include <iterator>++using namespace sf;++TEST(update_versions_compare_numerically) {+ CHECK(compareVersions("0.6.0", "0.5.0") > 0);+ CHECK(compareVersions("0.5.0", "0.6.0") < 0);+ CHECK(compareVersions("0.10.0", "0.9.2") > 0); // not as text+ CHECK(compareVersions("0.6", "0.6.0") == 0);+ CHECK(compareVersions("v0.6.1", "0.6.0") > 0);+ CHECK(compareVersions("0.6.0-rc1", "0.6.0") == 0);+ CHECK(compareVersions("1.0.0", "0.99.99") > 0);+ CHECK(compareVersions("", "0.1.0") < 0);+}++TEST(update_feed_parses) {+ UpdateInfo u;+ std::string err;+ CHECK(parseUpdateFeed(R"({"version":"0.6.0","download":"https://example.org/dl","notes":"https://example.org/new",+ "highlights":["Faster","Lighter","",3,"More","Even more","Too many"]})",+ u, err));+ CHECK(u.version == "0.6.0" && u.downloadUrl == "https://example.org/dl" && u.notesUrl == "https://example.org/new");+ CHECK(u.highlights.size() == 4 && u.highlights[0] == "Faster" && u.highlights[2] == "More");+ // Notes fall back to the download page.+ CHECK(parseUpdateFeed(R"({"version":"0.6.0","download":"https://example.org/dl"})", u, err) &&+ u.notesUrl == "https://example.org/dl" && u.highlights.empty());+}++TEST(update_feed_rejects_bad_feeds) {+ UpdateInfo u;+ std::string err;+ CHECK(!parseUpdateFeed("not json", u, err));+ CHECK(!parseUpdateFeed("[]", u, err));+ CHECK(!parseUpdateFeed(R"({"download":"https://example.org/dl"})", u, err));+ CHECK(!parseUpdateFeed(R"({"version":"soon","download":"https://example.org/dl"})", u, err));+ CHECK(!parseUpdateFeed(R"({"version":"0.6.0","download":"http://example.org/dl"})", u, err)); // https only+ CHECK(!parseUpdateFeed(R"x({"version":"0.6.0","download":"javascript:alert(1)"})x", u, err));+ CHECK(!err.empty());+}++TEST(update_check_once_a_day) {+ CHECK(updateCheckDue(0, 1000));+ CHECK(!updateCheckDue(1000, 1000 + kUpdateCheckInterval - 1));+ CHECK(updateCheckDue(1000, 1000 + kUpdateCheckInterval));+ CHECK(updateCheckDue(5000, 1000)); // the clock went back+}++TEST(update_feed_on_the_website_parses) {+ std::ifstream f(SF_TEST_DATA_DIR "/../../website/latest.json", std::ios::binary);+ CHECK(bool(f));+ UpdateInfo u;+ std::string err;+ CHECK(parseUpdateFeed(std::string(std::istreambuf_iterator<char>(f), {}), u, err));+ CHECK(!u.highlights.empty());+}diff --git a/tests/ui/data/update_newer.json b/tests/ui/data/update_newer.jsonnew file mode 100644index 00000000..304c8b81--- /dev/null+++ b/tests/ui/data/update_newer.json@@ -0,0 +1,6 @@+{+ "version": "99.0.0",+ "download": "https://islandmed.github.io/SculptForge/#download",+ "notes": "https://islandmed.github.io/SculptForge/guide/whats-new.html",+ "highlights": ["Twice as fast", "Half the memory"]+}diff --git a/tests/ui/data/update_older.json b/tests/ui/data/update_older.jsonnew file mode 100644index 00000000..16527347--- /dev/null+++ b/tests/ui/data/update_older.json@@ -0,0 +1 @@+{"version": "0.1.0", "download": "https://islandmed.github.io/SculptForge/#download"}diff --git a/tests/ui/update_check.sfui b/tests/ui/update_check.sfuinew file mode 100644index 00000000..6bb8bc15--- /dev/null+++ b/tests/ui/update_check.sfui@@ -0,0 +1,27 @@+# Help > Check for updates: a newer version shows the banner (Skip this version hides it), the same or an older one+# says SculptForge is up to date, and a feed that can't be read says so. The feed is a local file here+# (SF_UPDATE_FEED); UI tests never check automatically.+run new_sphere subdivisions=3+env SF_UPDATE_FEED $SCRIPT_DIR/data/update_newer.json+click "Help##palette.help"+click "Check for updates##help.check_updates"+wait_for "Skip this version" 10+expect_text "SculptForge 99.0.0 is available"+expect_text "Twice as fast"+expect "Download"+shot update-banner+click "Skip this version"+expect_not "Skip this version"++env SF_UPDATE_FEED $SCRIPT_DIR/data/update_older.json+click "Help##palette.help"+click "Check for updates##help.check_updates"+wait 1+expect_status "is the newest version"+expect_not "Skip this version"++env SF_UPDATE_FEED $SCRIPT_DIR/data/no_such_feed.json+click "Help##palette.help"+click "Check for updates##help.check_updates"+wait 1+expect_status "Couldn't check for updates"diff --git a/website/latest.json b/website/latest.jsonnew file mode 100644index 00000000..138de192--- /dev/null+++ b/website/latest.json@@ -0,0 +1,11 @@+{+ "version": "0.6.0",+ "download": "https://islandmed.github.io/SculptForge/#download",+ "notes": "https://islandmed.github.io/SculptForge/guide/whats-new.html",+ "highlights": [+ "Half the memory: a 33 million triangle sculpt with levels in 3.4 GB, Divide past 100 million",+ "The view turns twice as fast on huge meshes (270 fps at 33M with Fast Navigation)",+ "Faster brushes, masking and painting on big meshes",+ "SculptForge now tells you when an update is out"+ ]+}