Skip to content

Commit

Permalink
> Fixed setup custom folder
Browse files Browse the repository at this point in the history
  • Loading branch information
trueromanus committed Oct 17, 2023
1 parent 9378770 commit e121e79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
var directoryWritable = CheckIfDirectoryIsWritable ( downloadDirectory );
if ( !directoryWritable ) Console.WriteLine ( $"Directory {downloadDirectory} not writable or corrupt!" );

GlobalConfiguration.BaseFolder = downloadDirectory;
if ( directoryExists && directoryWritable ) GlobalConfiguration.BaseFolder = downloadDirectory;
}

static bool CheckIfDirectoryIsWritable ( string downloadDirectory ) {
Expand Down
4 changes: 2 additions & 2 deletions src/TorrentStream.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<RepositoryUrl>https://github.com/trueromanus/TorrentStream</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>torrent;streaming</PackageTags>
<AssemblyVersion>1.0.1.5</AssemblyVersion>
<FileVersion>1.0.1.5</FileVersion>
<AssemblyVersion>1.0.1.6</AssemblyVersion>
<FileVersion>1.0.1.6</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit e121e79

Please sign in to comment.