Skip to content

Commit

Permalink
Rdx 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Decimation committed Nov 5, 2024
1 parent ee779e3 commit b0f10b7
Show file tree
Hide file tree
Showing 8 changed files with 255 additions and 159 deletions.
2 changes: 1 addition & 1 deletion SmartImage.Lib/SearchConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public bool ReadCookies
/// </remarks>
public bool FlareSolverr
{
get { return Configuration.ReadSetting(nameof(FlareSolverr), false); }
get { return Configuration.ReadSetting(nameof(FlareSolverr), FLARESOLVERR_DEFAULT); }
set
{
Configuration.AddUpdateSetting(nameof(FlareSolverr), value.ToString());
Expand Down
Binary file added SmartImage.Rdx/Icon.ico
Binary file not shown.
3 changes: 2 additions & 1 deletion SmartImage.Rdx/IntegrationCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

using System.Diagnostics;
using SmartImage.Lib.Utilities;
using SmartImage.Rdx.Shell;
using Spectre.Console;
using Spectre.Console.Cli;

Expand All @@ -27,7 +28,7 @@ public override int Execute(CommandContext context, IntegrationCommandSettings s
AConsole.WriteException(e);
}

return SearchCommand.EC_OK;
return ConsoleItems.EC_OK;
}

}
6 changes: 3 additions & 3 deletions SmartImage.Rdx/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,19 @@ public static async Task<int> Main(string[] args)
.WithDescription("Configure system integration such as context menu");
});
int x = SearchCommand.EC_OK;
int x = ConsoleItems.EC_OK;

try {
x = await app.RunAsync(args);

}
catch (Exception e) {
AConsole.WriteException(e);
x = SearchCommand.EC_ERROR;
x = ConsoleItems.EC_ERROR;
}
finally {

if (x != SearchCommand.EC_OK) {
if (x != ConsoleItems.EC_OK) {
AConsole.Confirm("Press any key to continue");
}
}
Expand Down
Loading

0 comments on commit b0f10b7

Please sign in to comment.