mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Now searches for vlc a few extra places
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@413 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
adf99a24cc
commit
0beaf3ca7d
@ -440,10 +440,22 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers
|
||||
if (File.Exists(path))
|
||||
return path;
|
||||
|
||||
path = Path.Combine(@"C:\Program Files (x86)\VLC", fileName);
|
||||
if (File.Exists(path))
|
||||
return path;
|
||||
|
||||
path = Path.Combine(@"C:\Program Files\VLC", fileName);
|
||||
if (File.Exists(path))
|
||||
return path;
|
||||
|
||||
path = Path.Combine(System.Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), @"VideoLAN\VLC\" + fileName);
|
||||
if (File.Exists(path))
|
||||
return path;
|
||||
|
||||
path = Path.Combine(System.Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), @"VLC\" + fileName);
|
||||
if (File.Exists(path))
|
||||
return path;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user