1 Star 0 Fork 6

谢鑫/kylin-connectivity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
installfile 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
if [ ! -d "/usr/share/kylin-connectivity" ]; then
mkdir /usr/share/kylin-connectivity
fi
cp ./build/kylin-connectivity /usr/bin/
cp ./kylin-connectivity.desktop /usr/share/applications/
cp ./third_party/scrcpy-server.jar /usr/share/kylin-connectivity/
cp ./third_party/sndcpy /usr/share/kylin-connectivity/
cp -r ./translations/ /usr/share/kylin-connectivity/
cp ./output/lib/plugin/libpeony-vfs-kylin-multiterminal.so /lib
cp ./output/lib/plugin/libpeony-send-to-connectivity.so /lib
if [ ! -d "/opt/kylin-connectivity/" ]; then
mkdir /opt/kylin-connectivity/
fi
cp ./output/bin/* /opt/kylin-connectivity/
#arch
get_arch=`uname -i`
if [[ $get_arch =~ "x86_64" ]];then
mv /lib/libpeony-vfs-kylin-multiterminal.so /lib/x86_64-linux-gnu/peony-extensions/
mv /lib/libpeony-send-to-connectivity.so /lib/x86_64-linux-gnu/peony-extensions/
elif [[ $get_arch =~ "aarch64" ]];then
mv /lib/libpeony-vfs-kylin-multiterminal.so /lib/aarch64-linux-gnu/peony-extensions/
mv /lib/libpeony-send-to-connectivity.so /lib/aarch64-linux-gnu/peony-extensions/
else
echo "unknown!!"
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Max_xie/kylin-connectivity.git
[email protected]:Max_xie/kylin-connectivity.git
Max_xie
kylin-connectivity
kylin-connectivity
master

搜索帮助