Skip to content

Commit

Permalink
更新 CI 和版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSpring114 committed Jul 29, 2024
1 parent 1600aca commit 6c1797f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI-Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
id: package_version
uses: Blessing-Studio/get-csproj-version@main
with:
file: WonderLab.Desktop/WonderLab.Desktop.csproj
file: WonderLab/WonderLab.csproj
- name: Build
run: pupnet --runtime linux-${{ matrix.arch }} --kind appimage -y -o WonderLab.${{ steps.package_version.outputs.version }}.linux-${{ matrix.arch }}.AppImage
- name: Upload build artifacts
Expand Down
6 changes: 3 additions & 3 deletions WonderLab/Classes/Datas/TaskData/PreLaunchCheckTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public override async ValueTask BuildWorkItemAsync(CancellationToken token) {
}
}

async Task CheckJavaAndExecuteAsync() {
private async Task CheckJavaAndExecuteAsync() {
ReportProgress("正在检查 Java 相关信息");
var resultJava = await CheckJavaAsync();
if (!resultJava.value && !resultJava.canExecute) {
Expand All @@ -119,7 +119,7 @@ async Task CheckJavaAndExecuteAsync() {
}
}

async Task CheckResourcesAndExecuteAsync() {
private async Task CheckResourcesAndExecuteAsync() {
ReportProgress("正在检查游戏本体资源完整性");
var resultResource = await CheckResourcesAsync();
if (!resultResource) {
Expand Down Expand Up @@ -151,7 +151,7 @@ async Task CheckResourcesAndExecuteAsync() {
}
}

async Task CheckAccountAndExecuteAsync() {
private async Task CheckAccountAndExecuteAsync() {
IsIndeterminate = true;
ReportProgress("正在验证账户信息");
var (value, canExecute) = await CheckAccountAsync();
Expand Down
3 changes: 0 additions & 3 deletions WonderLab/Classes/TelemetryInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@ public void Initialize(ITelemetry telemetry) {
telemetry.Context.Cloud.RoleName = "WonderLab.Override";
telemetry.Context.Cloud.RoleInstance = "WonderLab.Override";
telemetry.Context.Component.Version = UpdateService.Version;
//telemetry.Context.GlobalProperties["Branch"] = BranchSymbol.CurrentDes;
//telemetry.Context.GlobalProperties["BranchFramework"] = BranchSymbol.Framework;
//telemetry.Context.GlobalProperties["BranchRuntime"] = BranchSymbol.Runtime;
}
}
2 changes: 1 addition & 1 deletion WonderLab/WonderLab.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Branch>lsaac</Branch>
<Version>2.0.0</Version>
<Version>2.0.1</Version>
<Nullable>disable</Nullable>
<LangVersion>latest</LangVersion>
<TargetFramework>net8.0</TargetFramework>
Expand Down

0 comments on commit 6c1797f

Please sign in to comment.