Open hyliang96 opened 9 months ago
Replace ${currentDir}/tmp by mktemp -d, to avoid lacking permission to ${currentDir} when running bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)" under a root dir.
${currentDir}/tmp
mktemp -d
bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)"
Replace
${currentDir}/tmp
bymktemp -d
, to avoid lacking permission to ${currentDir} when runningbash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)"
under a root dir.