diff options
author | sr55 <[email protected]> | 2009-05-04 22:40:46 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-05-04 22:40:46 +0000 |
commit | ec848fee96e7cbfbb2037b1908978ebe45543e54 (patch) | |
tree | d861e2be4d7331f4d20c721aa684d2555d51130b /win/C#/Program.cs | |
parent | 75d5f5f6e4064dae500ea3d3b034f3bfbf2393b8 (diff) |
WinGui:
# New
- Setup LibDVDNav option for scanning.
# Directory and logging changes
- The GUI now stores preset data in the systems user Application Data directory. This means that multi-user systems don't share the same single set of user presets.
- A History of logs are automatically stored in the systems application data directory.
- Changed the log preferences to make them a bit easier to understand.
# Bugs / Typos
- Fixed small bug in the version info regex parser.
- Fixed typo on x264 tab
- Fixed minor GUI issue on the Add Preset window (button transparency)
- Fixed disable Query Editor tab option (Thanks tlindgren)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2383 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r-- | win/C#/Program.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs index 885a36988..ecc9c0281 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -6,6 +6,8 @@ using System;
using System.Windows.Forms;
+using System.IO;
+using Handbrake.Presets;
namespace Handbrake
{
@@ -37,6 +39,14 @@ namespace Handbrake // Either Launch or Close the Application
if (launch)
{
+ string appDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\HandBrake";
+ if (!Directory.Exists(appDir))
+ {
+ Directory.CreateDirectory(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\HandBrake");
+ PresetsHandler x = new PresetsHandler();
+ x.updateBuiltInPresets();
+ }
+
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmMain());
|