1 Star 0 Fork 0

XCoder955/unlocker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lnx-uninstall.sh 886 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
set -e
echo "Unlocker 3.0.3 for VMware Workstation"
echo "====================================="
echo "(c) Dave Parsons 2011-21"
# Ensure we only use unmodified commands
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
# Make sure only root can run our script
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
echo Restoring files...
cp -pv ./backup/vmware-vmx /usr/lib/vmware/bin/
cp -pv ./backup/vmware-vmx-debug /usr/lib/vmware/bin/
cp -pv ./backup/vmware-vmx-stats /usr/lib/vmware/bin/
if [ -d /usr/lib/vmware/lib/libvmwarebase.so.0/ ]; then
cp -pv ./backup/libvmwarebase.so.0 /usr/lib/vmware/lib/libvmwarebase.so.0/
elif [ -d /usr/lib/vmware/lib/libvmwarebase.so/ ]; then
cp -pv ./backup/libvmwarebase.so /usr/lib/vmware/lib/libvmwarebase.so/
fi
echo Removing backup files...
rm -rfv ./backup
rm -rfv ./tools
echo Finished!
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/XCoder955/unlocker.git
git@gitee.com:XCoder955/unlocker.git
XCoder955
unlocker
unlocker
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385