From f820196fee43a0b87788d9454a849354f0b4cc38 Mon Sep 17 00:00:00 2001 From: Alvin Dimas Praditya Date: Wed, 24 Jul 2024 16:25:54 +0700 Subject: [PATCH] update feature --- README.md | 2 +- bun.lockb | Bin 79844 -> 80955 bytes index.ts | 30 ++++++++++++++++++++++++------ package.json | 5 ++++- src/update.ts | 20 ++++++++++++++++++++ src/utils.ts | 7 ++++++- 6 files changed, 55 insertions(+), 9 deletions(-) create mode 100644 src/update.ts diff --git a/README.md b/README.md index b18bf3b..afdfa33 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ from the apps. Our only option is to wait for NootedRed to fix this issue. Install (or update) AMDHelper on your system ``` -bash <(curl -sL https://raw.githubusercontent.com/alvindimas05/AMDHelper/main/install.sh) +curl -sL https://raw.githubusercontent.com/alvindimas05/AMDHelper/main/install.sh | bash ``` Run AMDHelper (Please run as sudo) diff --git a/bun.lockb b/bun.lockb index 9f666224ac0d13dd15d7341d25fb962fd44b0319..ba4658d22cae67562757d20f54f14eb19969fdbd 100755 GIT binary patch delta 15229 zcmeHOd0bW1+TQEH5jJ=PRD=VVfb+nSK{yb4j`Iz-s5l|c$gCg;sG!+7mfirv>DAEE z(zMcUmZe?ub4VLZv{KY=4ry9>(=<)9(k%U+cMs+5v-`W>AK&*^`^Uq(o_9^}yQaPO zI%|J<)pN&9&&9Tm@egnHc=XDptCPw?vo}0B#M$z->+Qos_MZHH*6sKsUNN8jEm=r> z9bJ;%%H`FdhV_54B)KayOY_RWuL1$!XCeI{k3lwu+^@@aCP@kc4~6uF41n~3w0LMT zrz|V8Ff%(RtFT~t0rKpEp39d!we%^F78evN5a5iJF^N-=PAZr>ZF)gzPHAbyWVS;p zFDopV1i8qp6)+EyE3ANIgI;f>>2txGg119jj-T$O#gBr%3HVhNZEviVNxp$(FZ-lCVI{4&X_JCH-XyJb=HwYL2Ze`gO=W`QjNj1`k04hrQn6WoMR9CS zD>%a=CO@+*Dz`8*uNgR((h`Zdf!CpQZpUaeB1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@S{=i3l{l!bsV5#k}In%k5Ese&2I5j#k%LW6JO_ zz(Zx#>q{;+@jo&P31U$Lb^zl;jSVID@*-E;yL#}n#i|@;!ajbb#u^xwpxxwF*G?I; zd+-bEBw>RFPe}NbgLc+h-2*|rK}V(R*}ckVwOJBfpz(+1AvcGyn#Gflg4+{b@A}1# z-TgcykpT^!l79J^u6O6%f3khF#}6%y(egax7LxA}`NmLd$;0j;^(P`NfrJ~#2Dhy- z# process!.getuid() === 0 ; \ No newline at end of file +import {promisify} from "util"; +import child_process from "child_process"; + +export const isRoot = () => process!.getuid() === 0 ; + +export const exec = promisify(child_process.exec);