[ui] Add auto-mount on first launch functionality #52

This commit is contained in:
2025-09-06 18:34:00 -05:00
parent 98a277713b
commit 9d58e804a0
3 changed files with 26 additions and 26 deletions

View File

@@ -28,7 +28,7 @@
namespace repertory::utils {
#if defined(__linux__)
struct create_autostart_opts final {
struct autostart_cfg final {
std::string app_name;
std::optional<std::string> comment;
bool enabled{true};
@@ -51,7 +51,7 @@ template <typename thread_t>
#endif // defined(__APPLE__)
#if defined(__linux__)
[[nodiscard]] auto create_autostart_entry(create_autostart_opts opts,
[[nodiscard]] auto create_autostart_entry(const autostart_cfg &cfg,
bool overwrite_existing = true)
-> bool;
#endif // defined(__linux__)