File tree Expand file tree Collapse file tree
src/Common/KeyAsio.Secrets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ jobs:
5252 shell : pwsh
5353 run : |
5454 echo '<project outputDir="." baseDir=".\ci-publish-win64" xmlns="http://confuser.codeplex.com"><rule pattern="true" preset="maximum" inherit="false" /><module path="KeyAsio.Secrets.dll" /></project>'>confuse64.crproj
55- mkdir ConfuserEx -Force
56- Invoke-WebRequest https://github.com/mkaring/ConfuserEx/releases/download/v1.6.0/ConfuserEx-CLI.zip -OutFile "ConfuserEx /cli.zip"
57- 7z x "ConfuserEx /cli.zip" -oConfuserEx /
58- .\ConfuserEx\ Confuser.CLI.exe confuse64.crproj -n
55+ mkdir Confuser -Force
56+ Invoke-WebRequest ${{ secrets.CONFUSER_DLURL }} -OutFile "Confuser /cli.zip"
57+ 7z x "Confuser /cli.zip" -oConfuser /
58+ .\Confuser\${{ secrets.CONFUSER_EXE }} -file ".\ci-publish-win64\KeyAsio.Secrets.dll" -targetfile "<AssemblyLocation>\<AssemblyFileName>" -anti_debug 1 -hide_calls 1 -control_flow 1 -flow_level 9 -virtualization 1 -naming stealth
5959 del .\ci-publish-win64\KeyAsio.Secrets.pdb -Force
6060
6161 - name : Set dll path
Original file line number Diff line number Diff line change 11public partial class Secrets
22{
3- internal static readonly string Dsn = "" ;
4- internal static readonly string OfficialPublicKey = "" ;
3+ internal static readonly string Dsn = "mock-dsn " ;
4+ internal static readonly string OfficialPublicKey = "mock-key " ;
55}
You can’t perform that action at this time.
0 commit comments