Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=98e9543ebe2cc565b10bc5cef4b110eb2d28c1ad
commit 98e9543ebe2cc565b10bc5cef4b110eb2d28c1ad Author: bouleetbil <bouleet...@frogdev.info> Date: Thu Sep 23 14:24:55 2010 +0000 *added grub.cs *when can't read file write error in console diff --git a/frugal-mono-tools/Main.cs b/frugal-mono-tools/Main.cs index a585377..7ea8d50 100644 --- a/frugal-mono-tools/Main.cs +++ b/frugal-mono-tools/Main.cs @@ -36,6 +36,7 @@ namespace frugalmonotools public static Configuration configuration = new Configuration(); public static ConfSystem confSystem = new ConfSystem(); public static Cache cache = new Cache(); + public static Grub grub = new Grub(); public static bool boRoot = false; private static void checkUpdate(object source, ElapsedEventArgs e) diff --git a/frugal-mono-tools/OUTILS/Outils.cs b/frugal-mono-tools/OUTILS/Outils.cs index 0952215..c815e64 100644 --- a/frugal-mono-tools/OUTILS/Outils.cs +++ b/frugal-mono-tools/OUTILS/Outils.cs @@ -208,8 +208,9 @@ namespace frugalmonotools fileContents = fileContents.Replace("\\\n", ""); return fileContents; } - catch + catch(Exception exe) { + Console.WriteLine(exe.Message); return ""; } } diff --git a/frugal-mono-tools/frugal-mono-tools.csproj b/frugal-mono-tools/frugal-mono-tools.csproj index d9f3b91..7b19995 100644 --- a/frugal-mono-tools/frugal-mono-tools.csproj +++ b/frugal-mono-tools/frugal-mono-tools.csproj @@ -136,6 +136,7 @@ <Compile Include="gtk-gui\frugalmonotools.WID_Logs.cs" /> <Compile Include="WID_Grub.cs" /> <Compile Include="gtk-gui\frugalmonotools.WID_Grub.cs" /> + <Compile Include="Grub.cs" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git