{"id":17012345,"url":"https://github.com/callmeechocodes/ldrestartutil","last_synced_at":"2025-03-22T13:44:49.701Z","repository":{"id":157905776,"uuid":"633709062","full_name":"CallMeEchoCodes/ldrestartutil","owner":"CallMeEchoCodes","description":"🔄 An easy way to run LDRestart as root. Made for tweak developers.","archived":false,"fork":false,"pushed_at":"2023-04-28T13:28:55.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T13:16:02.396Z","etag":null,"topics":["jailbreak","rootless","theos","theos-command-line"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CallMeEchoCodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T05:30:10.000Z","updated_at":"2025-01-17T21:00:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"36feeec1-0c69-442c-bab1-4e0e96746929","html_url":"https://github.com/CallMeEchoCodes/ldrestartutil","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeEchoCodes%2Fldrestartutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeEchoCodes%2Fldrestartutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeEchoCodes%2Fldrestartutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CallMeEchoCodes%2Fldrestartutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CallMeEchoCodes","download_url":"https://codeload.github.com/CallMeEchoCodes/ldrestartutil/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244966462,"owners_count":20539794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jailbreak","rootless","theos","theos-command-line"],"created_at":"2024-10-14T06:10:25.215Z","updated_at":"2025-03-22T13:44:49.676Z","avatar_url":"https://github.com/CallMeEchoCodes.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ldrestartutil\nAn easy way to run LDRestart as root. Made for tweak developers.\n\n### Usage\n1. Add it to your dependencies\n```\nDepends: dev.callmeecho.ldrestartutil\n```\n2. Use it!\n```objc\n// Objective C example\n- (void)ldrestart {\n    pid_t pid;\n    char *args[] = { ROOT_PATH(\"/usr/libexec/ldrestartutil\"), NULL };\n    int status = posix_spawn(\u0026pid, args[0], NULL, NULL, args, NULL);\n    waitpid(pid, NULL, 0);\n}\n```\n\n```swift\n// Swift example\nlet task = NSTask()\n// If you know how to it might be a good idea to use the ROOT_PATH_NS macro. Check Rootpath.h and Rootpath.m on this repo\ntask.setLaunchPath(\"/usr/libexec/ldrestartutil\")\ntask.launch()\ntask.waitUntilExit()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallmeechocodes%2Fldrestartutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallmeechocodes%2Fldrestartutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallmeechocodes%2Fldrestartutil/lists"}