You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
fix: unable to fetch security patch
add back missing PATH for busybox and curl #42
This commit is contained in:
@@ -313,7 +313,8 @@ export function securityPatch() {
|
||||
// Get button
|
||||
getButton.addEventListener('click', async () => {
|
||||
showPrompt('security_patch.fetching');
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--get-security-patch']);
|
||||
const output = spawn('sh', [`${basePath}/common/get_extra.sh`, '--get-security-patch'],
|
||||
{ env: { PATH: "/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:/data/data/com.termux/files/usr/bin:$PATH" }});
|
||||
output.stdout.on('data', (data) => {
|
||||
showPrompt('security_patch.fetched', true, 1000);
|
||||
checkAdvanced(true);
|
||||
|
||||
Reference in New Issue
Block a user