refactor
This commit is contained in:
@@ -255,7 +255,8 @@ void mgmt_app_config::set_auto_start(bool auto_start) {
|
||||
#if defined(__APPLE__)
|
||||
auto label = "com.fifthgrid.blockstorage.repertory.ui";
|
||||
auto plist_file = utils::file::file{
|
||||
utils::path::combine("~", {"/Library/LaunchAgents", label})};
|
||||
utils::path::combine("~", {"/Library/LaunchAgents", label}),
|
||||
};
|
||||
if (auto_start) {
|
||||
if (not plist_file.exists()) {
|
||||
std::vector<std::string> args = {
|
||||
|
Reference in New Issue
Block a user