Skip to content

Commit

Permalink
drop wrong detection
Browse files Browse the repository at this point in the history
  • Loading branch information
1715173329 committed Sep 30, 2020
1 parent 45ac72a commit fc73c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/init.d/unblockneteasemusic
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ start()
[ ! -e "/usr/share/unblockneteasemusic/core/app.js" ] && { echo "Core Not Found, please download it before starting." >> "/tmp/unblockneteasemusic.log"; exit 1; }

[ "${use_remote_qq_server}" -ne "1" ] && qq_server_mode="local" || qq_server_mode="remote"
grep -q "${qq_server_mode}" "/usr/share/unblockneteasemusic/core/src/provider/qq.js" || bash "/usr/share/unblockneteasemusic/gen_remote_qq_server.sh" "${qq_server_mode}" "${enable_flac}" > "/usr/share/unblockneteasemusic/core/src/provider/qq.js"
bash "/usr/share/unblockneteasemusic/gen_remote_qq_server.sh" "${qq_server_mode}" "${enable_flac}" > "/usr/share/unblockneteasemusic/core/src/provider/qq.js"

[ -n "${neteasemusic_cookie}" ] && {
ub_cookie_line="$(sed -n -e "/netease.path.includes('song\/enhance')/=" "/usr/share/unblockneteasemusic/core/src/hook.js")";
Expand Down

0 comments on commit fc73c53

Please sign in to comment.