Skip to content

Commit 0434fce

Browse files
author
Stefan Ruepp
committed
fixed wrong encryption/decryption path handling for relative paths which caused sound file not playing
1 parent b1eeee3 commit 0434fce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

EveChatNotifier/FormMain.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private void NewChatLines(object sender, LogFile.EveChatEventArgs e)
280280
if (needsNotify) // isPlaying is managing the notification using sound (only one at a time)
281281
{
282282
Logging.WriteLine(string.Format("{3}: Notify for chat message of '{0}' in '{1}': {2}", le.Sender, curLog.LogInfo.ChannelName, le.Text, curLog.LogInfo.PilotName));
283-
Notifier.GetInstance().Notify(string.Format("{0} in '{1}'", le.Sender, curLog.LogInfo.ChannelName), le.Text, Properties.Settings.Default.SoundFilePath);
283+
Notifier.GetInstance().Notify(string.Format("{0} in '{1}'", le.Sender, curLog.LogInfo.ChannelName), le.Text, PathHelper.DecryptPath(Properties.Settings.Default.SoundFilePath));
284284
}
285285
}
286286
}
@@ -310,7 +310,7 @@ public void CheckForUpdate()
310310
// check for new version
311311
if (Properties.Settings.Default.CheckForUpdates)
312312
{
313-
Github.GithubUpdateCheck.UpdateUsingLocalXmlFile("MyUncleSam", "EveChatNotifier", Properties.Settings.Default.SoundFilePath);
313+
Github.GithubUpdateCheck.UpdateUsingLocalXmlFile("MyUncleSam", "EveChatNotifier");
314314
}
315315
}
316316

0 commit comments

Comments
 (0)