mirror of
https://github.com/claunia/romrepomgr.git
synced 2025-12-16 11:14:45 +00:00
Allow to read archives if no unar, but internal decompressor is allowed.
This commit is contained in:
@@ -360,7 +360,7 @@ public sealed partial class SettingsViewModel : ViewModelBase
|
||||
if(_unArChanged)
|
||||
{
|
||||
Settings.Settings.Current.UnArchiverPath = UnArPath;
|
||||
Settings.Settings.UnArUsable = true;
|
||||
Settings.Settings.CanDecompress = true;
|
||||
}
|
||||
|
||||
if(_compressionChanged) Settings.Settings.Current.Compression = Compression;
|
||||
|
||||
@@ -144,7 +144,9 @@ public sealed partial class SplashWindowViewModel : ViewModelBase
|
||||
try
|
||||
{
|
||||
var worker = new Compression();
|
||||
Settings.Settings.UnArUsable = worker.CheckUnAr(Settings.Settings.Current.UnArchiverPath);
|
||||
|
||||
Settings.Settings.CanDecompress = worker.CheckUnAr(Settings.Settings.Current.UnArchiverPath) ||
|
||||
Settings.Settings.Current.UseInternalDecompressor;
|
||||
|
||||
Dispatcher.UIThread.Post(LoadDatabase);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user