Skip to content

Commit

Permalink
fix installer
Browse files Browse the repository at this point in the history
we renamed the file earlier and missed this reference
  • Loading branch information
DanielHabenicht committed Jul 5, 2022
1 parent ca9de5c commit 6cfd047
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SettingsInstallerParameters/CustomAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static ActionResult UpdateConfigXml(Session session)
private static void updateConfigXml(Session session)
{
// Write install path to config file
string xmlPath = Path.Combine(getInstallDir(session), "Jitsi Meet Outlook Add-In.dll.config");
string xmlPath = Path.Combine(getInstallDir(session), "JitsiMeetOutlookAddIn.dll.config");

session.Log($"Executing on file: {xmlPath}");
if (!File.Exists(xmlPath))
Expand Down Expand Up @@ -95,6 +95,10 @@ private static void updateConfigXml(Session session)

if (getConferenceSchedulerEndpointSecret(session).Length != 0)
{
if (getConferenceSchedulerEndpointSecret(session).Length < 8)
{
session.Log($"WARNING: The secret is to short. This will throw errors in the application.");
}
session.Log($"Setting custom conferenceSchedulerEndpointSecret: {getConferenceSchedulerEndpointSecret(session)}");
navigator.SelectSingleNode(@"/configuration/userSettings/JitsiMeetOutlook.Properties.Settings/setting[@name='conferenceSchedulerEndpointSecret']/value").SetValue(getConferenceSchedulerEndpointSecret(session));
}
Expand Down

0 comments on commit 6cfd047

Please sign in to comment.