Skip to content

Commit 500293a

Browse files
committed
fix support for vlcrc
1 parent 49357ae commit 500293a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MossCast/My Project/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
// by using the '*' as shown below:
3232
// <Assembly: AssemblyVersion("1.0.*")>
3333

34-
[assembly: AssemblyVersion("2.0.0.1")]
34+
[assembly: AssemblyVersion("2.0.0.2")]

MossCast/StreamerGroupBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public void genStream(string streamer, string quality, string windowTitle)
269269
{
270270

271271
var (width, height, xPos, yPos) = GetWindowLocation();
272-
string vlcOptions = @"--config %AppData%\MossCast\vlcrc --no-qt-video-autoresize --no-qt-privacy-ask --video-x " + xPos + " --video-y " + yPos + " --width " + width + " --height " + height;
272+
string vlcOptions = @"--config " + My.MyProject.Forms.frmMain.appdataFolder + "/vlcrc --no-qt-video-autoresize --no-qt-privacy-ask --video-x " + xPos + " --video-y " + yPos + " --width " + width + " --height " + height;
273273
string cmdOptions = @"-a "" " + vlcOptions + @" -"" --title " + windowTitle + " --hls-live-edge 1 twitch.tv/" + streamer + " " + quality;
274274

275275
var proc = new Process

0 commit comments

Comments
 (0)