syncthing-macos, change path of syncthing binary

Posted on 2021-04-08(목) in Syncthing

syncthing-macos 에서 syncthing 실행파일 위치변경

기존 설정 (확인)

% defaults read com.github.xor-gate.syncthing-macosx
{
    ApiKey = DLag7TYzLv9kidsfmzam6PkY4JH3ntPh;
    Executable = "/Applications/Syncthing.app/Contents/Resources/syncthing/syncthing";
    "NSStatusItem Preferred Position Item-0" = "56.86328";
    SUHasLaunchedBefore = 1;
    StartAtLogin = 1;
    URI = "http://127.0.0.1:8384";
}

변경

% defaults write com.github.xor-gate.syncthing-macosx Executable /usr/local/bin/syncthing

변경 확인

% defaults read com.github.xor-gate.syncthing-macosx
{
    ApiKey = DLag7TYzLv9kidsfmzam6PkY4JH3ntPh;
    Executable = "/usr/local/bin/syncthing";
    "NSStatusItem Preferred Position Item-0" = "56.86328";
    SUHasLaunchedBefore = 1;
    StartAtLogin = 1;
    URI = "http://127.0.0.1:8384";
}

/끝/