把以下两个文件放到cygwin目录下,cygwin可实现绿色化
install.bat
bin/mount -m | bin/sed s/mount/"%CD%///bin///mount"/ > tmp/mount.log
bin/umount -c
bin/umount -A
bin/mount -bfu %CD%/ /
bin/mount -bfu %CD%//bin /usr/bin
bin/mount -bfu %CD%//lib /usr/lib
echo if you have folder cygwin/usr/i686-pc-cygwin/bin, you should change all files in this folder to system attrib with command "attrib +S"
pause
uninstall.bat
bin/umount -c
bin/umount -A
bin/bash cygwin/tmp/mount.log
bin/rm cygwin/tmp/mount.log
8654

被折叠的 条评论
为什么被折叠?



