Skip to content

Commit

Permalink
添加7z解压模块
Browse files Browse the repository at this point in the history
  • Loading branch information
GengGode committed Sep 18, 2021
1 parent 3b48a33 commit 1ce4be2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ environment:
ProjectName: GenshinImpactNaturalLaw
ProJectExeName: TianLi_Launcher
MyProjectDir: C:\projects\%ProjectName%

Lib7zExeDll: https://github.com/GengGode/7zExeDllRelease/releases/download/1.0.0/Release.zip

skip_tags: true

before_build:
Expand All @@ -36,12 +37,17 @@ build_script:
after_build:
# copy include and source code files\
- mkdir %MyProjectDir%\x64\build\
- cd %MyProjectDir%\x64\build\
- appveyor DownloadFile %Lib7zExeDll%
- 7z x ./Release.zip -y -o./
- rm -f ./Release.zip

- cd %MyProjectDir%\x64\Release\
#- ren *.exe tmp.exe
- copy %MyProjectDir%\x64\Release\%ProJectExeName%.exe %MyProjectDir%\x64\build\

- cd %MyProjectDir%\x64\build\
- windeployqt %ProJectExeName%.exe
- windeployqt %ProJectExeName%.exe

#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

Expand Down

0 comments on commit 1ce4be2

Please sign in to comment.