Skip to content

Commit

Permalink
修复首次获取在线壁纸时需要再刷新一次才能显示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedPartner committed Apr 15, 2023
1 parent e825831 commit 5bd4a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/usr/libexec/argon/online_wallpaper
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ try_update() {
if flock -n 200 >/dev/null 2>&1; then
local picurl=$(fetch_pic_url)
if [ -n "$picurl" ]; then
echo "${picurl}" >"$CACHE"
echo "${picurl}" | tee "$CACHE"
else
if [ -s "$CACHE" ]; then
cat "$CACHE"
Expand Down

0 comments on commit 5bd4a5e

Please sign in to comment.