教程正文
1、fork隐藏内容提供的仓库。
2、PJ license:修改vmprotect-3.5.1/sdk/sdk.cc的475行和478行,将g_serial_is_correct赋值为true,g_serial_is_blacklisted赋值为false。
3、创建Action:选择set up a workflow yourself,将代码粘贴进去。
4、构建完成后在Artifacts里下载。
所需复制的代码如下;
name: vmpbuild on: [pull_request, push] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v3 - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v2 - name: setup vsdevenv uses: seanmiddleditch/gha-setup-vsdevenv@master - name: Install Qt run: | pip install aqtinstall mkdir Qt cd Qt aqt install-qt windows desktop 5.12.12 win32_msvc2017 aqt install-qt windows desktop 5.12.12 win64_msvc2017_64 - name: build x64 shell: cmd run: | set QTDIR=%GITHUB_WORKSPACE%\Qt\5.12.12\msvc2017_64 set PATH=%PATH%;%GITHUB_WORKSPACE%\Qt\5.12.12\msvc2017_64\bin cmd.exe /c build-libffi.bat cmd.exe /c build-ultimate-x64.bat - name: Upload artifact uses: actions/upload-artifact@v1 with: name: vmp path: bin
隐藏内容需要回复可以看见
回复
卧槽!无奈本人没文化,一句卧槽行天下!
楼主辛苦了,谢谢楼主,楼主好人一生平安!
33333333333333333333333333