some changes for tests
This commit is contained in:
parent
c6beedf675
commit
d15b1a2c01
2 changed files with 1 additions and 4 deletions
|
|
@ -193,7 +193,7 @@ By default the application runs in the root of your hosted address (i.e. https:/
|
||||||
- (optional) Resharper
|
- (optional) Resharper
|
||||||
|
|
||||||
1. Open the client folder project in VS Code and run `npm install`.
|
1. Open the client folder project in VS Code and run `npm install`.
|
||||||
1. To debug run `ng serve`, to build run `ng build --prod`.
|
1. To debug run `ng serve`, to build run `ng build -c production`.
|
||||||
1. Open the Visual Studio 2019 project `RdtClient.sln` and `Publish` the `RdtClient.Web` to the given `PublishFolder` target.
|
1. Open the Visual Studio 2019 project `RdtClient.sln` and `Publish` the `RdtClient.Web` to the given `PublishFolder` target.
|
||||||
1. When debugging, make sure to run `RdtClient.Web.dll` and not `IISExpress`.
|
1. When debugging, make sure to run `RdtClient.Web.dll` and not `IISExpress`.
|
||||||
1. The result is found in `Publish`.
|
1. The result is found in `Publish`.
|
||||||
|
|
|
||||||
|
|
@ -16,9 +16,6 @@ public static class DownloadHelper
|
||||||
|
|
||||||
var directory = RemoveInvalidPathChars(torrent.RdName);
|
var directory = RemoveInvalidPathChars(torrent.RdName);
|
||||||
|
|
||||||
// RealDebrid sometimes change TorrentName when it's a single file torrent adding the extension of the single file
|
|
||||||
directory = Path.ChangeExtension(directory, null);
|
|
||||||
|
|
||||||
var uri = new Uri(fileUrl);
|
var uri = new Uri(fileUrl);
|
||||||
var torrentPath = Path.Combine(downloadPath, directory);
|
var torrentPath = Path.Combine(downloadPath, directory);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue