You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

updater.hpp 412B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <common.hpp>
  3. namespace rack {
  4. /** Automatically updates the application.
  5. */
  6. namespace updater {
  7. extern std::string version;
  8. extern std::string changelogUrl;
  9. extern float progress;
  10. void init();
  11. bool isUpdateAvailable();
  12. /** Updates Rack automatically or opens the browser to the URL.
  13. Blocking. Call on a detached thread.
  14. */
  15. void update();
  16. } // namespace updater
  17. } // namespace rack