mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-24 09:52:05 +08:00
should be add
This commit is contained in:
@@ -48,7 +48,7 @@ int main(int argc, char *argv[]) {
|
||||
QObject::connect(update_btn, &QPushButton::clicked, [=, &watcher, &btn]() {
|
||||
btn->setEnabled(false);
|
||||
const std::string git_branch = Params().get("GitBranch");
|
||||
const std::string cmd1 = "git remote set-url origin-update " + Params().get("GitRemote");
|
||||
const std::string cmd1 = "git remote add origin-update " + Params().get("GitRemote");
|
||||
const std::string cmd2 = "git fetch origin-update " + git_branch;
|
||||
const std::string cmd3 = "git reset --hard origin-update/" + git_branch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user