add local mode support
This commit is contained in:
parent
9074fdf31b
commit
8aeb90d5ac
1 changed files with 2 additions and 2 deletions
4
hidpi.sh
4
hidpi.sh
|
@ -76,11 +76,11 @@ downloadHost="https://raw.githubusercontent.com/xzhih/one-key-hidpi/master"
|
||||||
# downloadHost="https://raw.githubusercontent.com/xzhih/one-key-hidpi/dev"
|
# downloadHost="https://raw.githubusercontent.com/xzhih/one-key-hidpi/dev"
|
||||||
# downloadHost="http://127.0.0.1:8080"
|
# downloadHost="http://127.0.0.1:8080"
|
||||||
|
|
||||||
shellDir="$( cd "$( dirname "$0" )" && pwd )"
|
shellDir="$(dirname $0)"
|
||||||
|
|
||||||
if [ -d "${shellDir}/displayIcons" ];then
|
if [ -d "${shellDir}/displayIcons" ];then
|
||||||
echo $langLocalMode
|
echo $langLocalMode
|
||||||
downloadHost="fiel://${shellDir}"
|
downloadHost="file://${shellDir}"
|
||||||
else
|
else
|
||||||
echo $langRemoteMode
|
echo $langRemoteMode
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue