Stile's recent timeline updates
Stile

Stile

V2EX member #52198, joined on 2013-12-19 11:00:50 +08:00
Per Stile's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
Stile's recent replies
Jun 21, 2016
Replied to a topic by 1130335361 分享发现 网易云音乐有官方 Linux 版本了
1.内存泄露打个补丁就 OK 了(比给 root 权限的办法好)。
下附脚本及使用方法。
https://bbs.deepin.org/forum.php?mod=viewthread&tid=39708&extra=

2.下正确的版本安装就没其他问题了。(内存泄露要自己修复哦)

# 使用方法

在 home 文件夹新建空白文档,命名为`1.sh`
复制下方分割线---内的脚本内容到 `1.sh`
按键`ctrl+alt+t`呼出终端
输入
`sudo bash ./1.sh`
输入密码
回车
提示
`This patch has be installed to system correctly!`
修复成功
---
# 注释:以下为官方人员提供的修复脚本内容

set -e

BIN_PATH='/usr/bin/netease-cloud-music'

rm_old_sym_link() {
rm $BIN_PATH
}

add_new_exec_file() {
cat > $BIN_PATH << EOF
#!/bin/bash
cd /usr/lib/netease-cloud-music
/usr/lib/netease-cloud-music/netease-cloud-music $*
EOF
chown root:root $BIN_PATH
chmod 0755 $BIN_PATH
}

installed_ok() {
echo 'This patch has be installed to system correctly!'
}

installed_err() {
echo 'Failed to install this patch, please feedback at'
echo '网易云音乐 Linux 版 内存泄露的修复方法'
}

main() {
rm_old_sym_link && add_new_exec_file && installed_ok && exit 0
installed_err
exit 1
}

main

---


@1130335361 @VmuTargh @CRight @pimin @kslr @Tink @qqmishi @wesley @sinalvee @typcn @marenight @fangpeishi @xjp @learnshare @acrisliu @wujunze @killerv @Silicon @imsuwj @hujianxin @acros @fangxing204 @yexm0 @EchoWhale @BOYPT @zts1993 @ETO @Owenjia @junnplus @AntonChen @jakehu @fusae @DaCong @doubleflower @4cat @upczww @Alex5G @ayaseangle @4679kun @lechain @muziki @nocwat @WhoMercy @s0f @kimown @tracyone @oreo @wbsdty331 @zlsun @xifangczy @jiazhoulvke @cankoor @yellowvii @Sasasu @fxxkgw @walleL @cuteshell @qq316107934 @tlze @rwecho @qianlv @monitor14 @svg @hanminghui
Atom
不追求实时预览的话 为知笔记也可以啊。
Remarkable 也行哦
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5970 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 03:32 · PVG 11:32 · LAX 20:32 · JFK 23:32
♥ Do have faith in what you're doing.