Skip to content

Commit

Permalink
Disabled Grub2, fixed Hungarian icon
Browse files Browse the repository at this point in the history
  • Loading branch information
zdimension committed Oct 25, 2016
1 parent 20460c9 commit 076904d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
/SharpBoot/bin/Debug
/.vs/SharpBoot/v14
/SharpBoot.sln.DotSettings.user
/SharpBoot/bin/Release
2 changes: 1 addition & 1 deletion SharpBoot/Bootloaders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ public class Bootloaders
{
public static IBootloader Syslinux = new Syslinux();
public static IBootloader Grub4DOS = new Grub4DOS();
public static IBootloader Grub2 = new Grub2();
//public static IBootloader Grub2 = new Grub2();

public static List<IBootloader> Bloaders
{
Expand Down
1 change: 1 addition & 0 deletions SharpBoot/SharpBoot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
Expand Down
2 changes: 1 addition & 1 deletion SharpBoot/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static string FormatEx(this string s, params object[] args)
public static Image GetFlag(string twocode)
{
if (twocode == "en") return Resources.flag_usa;
var dc = new List<string> {"de", "fr", "ro", "zh-Hans", "zh-Hant", "ru", "uk", "es", "cs", "it", "pt", "pl"};
var dc = new List<string> {"de", "fr", "ro", "zh-Hans", "zh-Hant", "ru", "uk", "es", "cs", "it", "pt", "pl", "hu"};
var index = dc.IndexOf(twocode);
return index == -1 ? null : About.Flags[index];
}
Expand Down

0 comments on commit 076904d

Please sign in to comment.