mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
arm64 pls pls
This commit is contained in:
8
.github/workflows/github_actions.yml
vendored
8
.github/workflows/github_actions.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
|||||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||||
cat Version
|
cat Version
|
||||||
- name: Build Electron x64 .NET Application
|
- name: Build Electron x64 .NET Application
|
||||||
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 --self-contained
|
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64
|
||||||
- name: Upload Electron x64 dotnet artifacts
|
- name: Upload Electron x64 dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rm -R build/Electron
|
rm -R build/Electron
|
||||||
- name: Build Electron arm64 .NET Application
|
- name: Build Electron arm64 .NET Application
|
||||||
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64 --self-contained
|
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64
|
||||||
- name: Upload Electron arm64 dotnet artifacts
|
- name: Upload Electron arm64 dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
echo "${{ needs.set_version.outputs.version }}" > Version
|
echo "${{ needs.set_version.outputs.version }}" > Version
|
||||||
cat Version
|
cat Version
|
||||||
- name: Build Electron x64 .NET Application
|
- name: Build Electron x64 .NET Application
|
||||||
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 --self-contained
|
run: dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64
|
||||||
- name: Upload Electron x64 .NET artifacts
|
- name: Upload Electron x64 .NET artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -99,7 +99,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rm -R build/Electron
|
rm -R build/Electron
|
||||||
- name: Build Electron arm64 .NET Application
|
- name: Build Electron arm64 .NET Application
|
||||||
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64 --self-contained
|
run: dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64
|
||||||
- name: Upload Electron arm64 dotnet artifacts
|
- name: Upload Electron arm64 dotnet artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -69,7 +69,12 @@ tryRelaunchWithArgs(args);
|
|||||||
tryCopyFromWinePrefix();
|
tryCopyFromWinePrefix();
|
||||||
|
|
||||||
const rootDir = app.getAppPath();
|
const rootDir = app.getAppPath();
|
||||||
require(path.join(rootDir, 'build/Electron/VRCX-Electron.cjs'));
|
const armPath = path.join(rootDir, 'build/Electron/VRCX-Electron-arm64.cjs');
|
||||||
|
if (fs.existsSync(armPath)) {
|
||||||
|
require(armPath);
|
||||||
|
} else {
|
||||||
|
require(path.join(rootDir, 'build/Electron/VRCX-Electron.cjs'));
|
||||||
|
}
|
||||||
|
|
||||||
const InteropApi = require('./InteropApi');
|
const InteropApi = require('./InteropApi');
|
||||||
const interopApi = new InteropApi();
|
const interopApi = new InteropApi();
|
||||||
|
|||||||
Reference in New Issue
Block a user