最新消息:

超级轻量皮肤SkinH(含皮肤文件及调用方法)

nsis 永恒心锁 1914浏览 0评论
#皮肤演示程序 永恒心锁 www.yhxs3344.net

!define PRODUCT_NAME "My application"
 SetCompressor lzma
 !include "MUI.nsh"

!define MUI_CUSTOMFUNCTION_GUIINIT onGUIInit

!insertmacro MUI_PAGE_WELCOME
 !insertmacro MUI_PAGE_DIRECTORY
 !insertmacro MUI_PAGE_INSTFILES
 !insertmacro MUI_PAGE_FINISH

!insertmacro MUI_LANGUAGE "SimpChinese"

Name "皮肤演示程序"
 OutFile "皮肤演示.exe"
 InstallDir "$PROGRAMFILESMy application"

Section
 SectionEnd

Function onGUIInit
 InitPluginsDir
 SetOutPath $PLUGINSDIR
 File SkinH.dll
 File skinh.she
 System::Call SkinH::SkinH_Attach()

################ SkinSharp补丁, 让小衣服不显示 ################
 System::Call Kernel32::GetModuleHandle(t"SkinH.dll")i.r0
 IntOp $0 $0 + 0x0002CA98
 System::Call Kernel32::GetCurrentProcess()i.s
 System::Call Kernel32::VirtualProtectEx(is,ir0,i4,i0x40,*i)
 System::Call "*$0(&i1 0)"
 ###############################################################
 FunctionEnd

Function .onGUIEnd
 ; 让插件目录可顺利删除
 System::Call Kernel32::GetModuleHandle(t"SkinH.dll")i.s
 System::Call Kernel32::FreeLibrary(is)
 System::Call Kernel32::SetCurrentDirectory(t"$EXEDIR")
 FunctionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » 超级轻量皮肤SkinH(含皮肤文件及调用方法)

您必须 登录 才能发表评论!