Skip to content

Commit e0867e4

Browse files
committed
improvements
1 parent 199a436 commit e0867e4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

App/Services/UpdateController.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ public SparkleUpdateController(ILogger<SparkleUpdateController> logger, IOptions
9292
{
9393
// TODO: custom Configuration for persistence, could just specify
9494
// our own save path with JSONConfiguration TBH
95+
// GitHub releases endpoint returns a random UUID as the filename,
96+
// so we tell NetSparkle to ignore it and use the last segment of
97+
// the URL instead.
98+
CheckServerFileName = false,
9599
LogWriter = new CoderSparkleLogger(logger),
96100
AppCastHelper = new CoderSparkleAppCastHelper(_config.ForcedUpdateChannel),
97101
UIFactory = uiFactory,

Installer/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ private static int BuildMsiPackage(MsiOptions opts)
263263
programFiles64Folder.AddDir(installDir);
264264
project.AddDir(programFiles64Folder);
265265

266-
267266
project.AddRegValues(
268267
// Add registry values that are consumed by the manager. Note that these
269268
// should not be changed. See Vpn.Service/Program.cs (AddDefaultConfig) and

0 commit comments

Comments
 (0)