坚果云个人文件夹路径自动patch

自动修改坚果云个人配置文件为安装目录下的UserData目录,实现半绿色化的作用,重装不用再重新登录
iL指令如下

0    0000    call    string NutstoreLib.Utils.DirectoryUtils::get_NUTSTORE_INSTALL_DIR()
1    0005    newobj    instance void [mscorlib]System.IO.DirectoryInfo::.ctor(string)
2    000A    call    instance class [mscorlib]System.IO.DirectoryInfo [mscorlib]System.IO.DirectoryInfo::get_Parent()
3    000F    callvirt    instance string [mscorlib]System.IO.FileSystemInfo::get_FullName()
4    0014    ldstr    "UserData"
5    0019    call    string [Pri.LongPath]Pri.LongPath.Path::Combine(string, string)
6    001E    ret

坚果云个人文件夹路径自动patch

使用方法,

将最新的NutstoreLib.dll拷贝进来,执行下,再使用NutstoreLib_patched.dll替换原来安装目录的NutstoreLib.dll即可

源代码地址 https://github.com/ca-x/NutstoreAutoPatch

© 版权声明
THE END
如果内容对您有所帮助,就支持一下吧!
点赞0 分享
晓明的头像 - 宋马
评论 共6条

请登录后发表评论