Skip to content

Commit 370bfc0

Browse files
author
Chris Maunder
committed
Corrections to modulesettings selection for edge devices
1 parent 445c305 commit 370bfc0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/server/Modules/ModuleSupportExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ public static IConfigurationBuilder AddModuleSettingsConfigFiles(this IConfigura
109109
? "development" : string.Empty;
110110
string os = SystemInfo.OperatingSystem.ToLower();
111111
string architecture = SystemInfo.Architecture.ToLower();
112-
string deviceSpecifier = SystemInfo.EdgeDevice.ToLower();
112+
string deviceSpecifier = string.IsNullOrWhiteSpace(SystemInfo.EdgeDevice)
113+
? string.Empty : SystemInfo.Platform.ToLower();
113114

114115
// Module settings files are loaded in this order. Each file will overwrite (but not
115116
// delete) settings of the previous file.

src/server/version.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"versionInfo": {
44
"Major": 2,
55
"Minor": 9,
6-
"Patch": 5,
6+
"Patch": 6,
77
"Build": 0,
88
"PreRelease": "",
99
"SecurityUpdate": false,
10-
"File": "CodeProject.AI-Server-win-x64-2.9.5.zip",
11-
"ReleaseNotes": "Updated to .NET 9, Improvements to installers, updates to .NET SDK."
10+
"File": "CodeProject.AI-Server-win-x64-2.9.6.zip",
11+
"ReleaseNotes": "Updated to .NET 9, Improvements to installers, updates to .NET SDK, better edge device support."
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)