mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Update build script
This commit is contained in:
35
.github/workflows/github_actions.yml
vendored
35
.github/workflows/github_actions.yml
vendored
@@ -145,32 +145,13 @@ jobs:
|
|||||||
7z a -tzip ${file_name} * -mx=7 -xr0!*.log
|
7z a -tzip ${file_name} * -mx=7 -xr0!*.log
|
||||||
mv ${file_name} ../../${file_name}
|
mv ${file_name} ../../${file_name}
|
||||||
echo "Zip FileName: ${file_name}"
|
echo "Zip FileName: ${file_name}"
|
||||||
|
- name: Upload Setup artifact
|
||||||
- name: Download Electron AppImage artifacts
|
uses: actions/upload-artifact@v3
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: Electron-AppImage
|
name: VRCX-Setup
|
||||||
|
path: "VRCX_${{ needs.set_version.outputs.version }}_Setup.exe"
|
||||||
- name: Generate hashes
|
- name: Upload Zip artifact
|
||||||
run: |
|
uses: actions/upload-artifact@v3
|
||||||
sha256sum "VRCX_${{ needs.set_version.outputs.version }}_Setup.exe" "VRCX_${{ needs.set_version.outputs.version }}.AppImage" > "SHA256SUMS.txt"
|
|
||||||
- name: Create Release
|
|
||||||
id: create_release
|
|
||||||
uses: actions/create-release@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
with:
|
||||||
tag_name: "${{ needs.set_version.outputs.version }}"
|
name: VRCX-Zip
|
||||||
release_name: "VRCX Nightly ${{ needs.set_version.outputs.version }}"
|
path: "VRCX_${{ needs.set_version.outputs.version }}.zip"
|
||||||
draft: false
|
|
||||||
prerelease: false
|
|
||||||
- name: Upload multiple assets to release
|
|
||||||
uses: csexton/release-asset-action@v2
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
VRCX_${{ needs.set_version.outputs.version }}_Setup.exe
|
|
||||||
VRCX_${{ needs.set_version.outputs.version }}.zip
|
|
||||||
VRCX_${{ needs.set_version.outputs.version }}.AppImage
|
|
||||||
SHA256SUMS.txt
|
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
release-url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
|
|||||||
@@ -108,11 +108,15 @@
|
|||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
<Exec Command="$(ProjectDir)..\build-tools\Topten.nvpatch.exe --enable VRCX.exe" WorkingDirectory="$(OutDir)" />
|
<Exec Command="$(ProjectDir)..\build-tools\Topten.nvpatch.exe --enable $(ProjectDir)..\build\Cef\VRCX.exe" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Remove="obj1\**" />
|
<Content Remove="obj1\**" />
|
||||||
<Compile Remove="obj1\**" />
|
<Compile Remove="obj1\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
||||||
|
<Exec Command="$(ProjectDir)..\build-scripts\make-junction.cmd" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -1,2 +1 @@
|
|||||||
mklink /J "%~dp0\..\build\Cef\html" "%~dp0\..\build\html"
|
mklink /J "%~dp0\..\build\Cef\html" "%~dp0\..\build\html"
|
||||||
pause
|
|
||||||
Reference in New Issue
Block a user