[ui] Add auto-mount on first launch functionality #52
This commit is contained in:
		| @@ -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__) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user