Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
- [Core] Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth committed Sep 3, 2023
1 parent dedaa3f commit 83f0cf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AssetStudio/BundleFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private void ReadUnityCN(FileReader reader)
HasBlockInfoNeedPaddingAtStart = true;
}

Logger.Verbose($"Mask set to 0x{mask:X8}");
Logger.Verbose($"Mask set to {mask}");

if ((m_Header.flags & mask) != 0)
{
Expand Down
2 changes: 1 addition & 1 deletion AssetStudio/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace AssetStudio
{
public static class Logger
{
private static bool _fileLogging = true;
private static bool _fileLogging;

public static ILogger Default = new DummyLogger();
public static ILogger File;
Expand Down
2 changes: 1 addition & 1 deletion AssetStudioCLI/Components/CommandLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class OptionsBinder : BinderBase<Options>
public OptionsBinder()
{
Silent = new Option<bool>("--silent", "Hide log messages.");
Verbose = new Option<bool>("--verbose", "Hide log messages.");
Verbose = new Option<bool>("--verbose", "Enable verbose logging.");
TypeFilter = new Option<ClassIDType[]>("--types", "Specify unity class type(s)") { AllowMultipleArgumentsPerToken = true, ArgumentHelpName = "Texture2D|Sprite|etc.." };
NameFilter = new Option<Regex[]>("--names", result => result.Tokens.Select(x => new Regex(x.Value, RegexOptions.IgnoreCase)).ToArray(), false, "Specify name regex filter(s).") { AllowMultipleArgumentsPerToken = true };
ContainerFilter = new Option<Regex[]>("--containers", result => result.Tokens.Select(x => new Regex(x.Value, RegexOptions.IgnoreCase)).ToArray(), false, "Specify container regex filter(s).") { AllowMultipleArgumentsPerToken = true };
Expand Down

0 comments on commit 83f0cf1

Please sign in to comment.