\r
// 0 = SVN Build / Version\r
// 1 = Build Date\r
+\r
+ DateTime lastModified = File.GetLastWriteTime("HandBrakeCLI.exe");\r
+\r
+\r
+ if (Properties.Settings.Default.cliLastModified == lastModified && Properties.Settings.Default.hb_build != 0)\r
+ return;\r
+\r
+ Properties.Settings.Default.cliLastModified = lastModified;\r
+ \r
Process cliProcess = new Process();\r
ProcessStartInfo handBrakeCLI = new ProcessStartInfo("HandBrakeCLI.exe", " -u")\r
{\r
cli.Kill();\r
}\r
}\r
+ Properties.Settings.Default.Save();\r
}\r
catch (Exception e)\r
{\r
this["growlEncode"] = value;\r
}\r
}\r
+ \r
+ [global::System.Configuration.UserScopedSettingAttribute()]\r
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
+ public global::System.DateTime cliLastModified {\r
+ get {\r
+ return ((global::System.DateTime)(this["cliLastModified"]));\r
+ }\r
+ set {\r
+ this["cliLastModified"] = value;\r
+ }\r
+ }\r
}\r
}\r
<Setting Name="growlEncode" Type="System.Boolean" Scope="User">\r
<Value Profile="(Default)">False</Value>\r
</Setting>\r
+ <Setting Name="cliLastModified" Type="System.DateTime" Scope="User">\r
+ <Value Profile="(Default)" />\r
+ </Setting>\r
</Settings>\r
</SettingsFile>
\ No newline at end of file
<setting name="growlEncode" serializeAs="String">\r
<value>False</value>\r
</setting>\r
+ <setting name="cliLastModified" serializeAs="String">\r
+ <value />\r
+ </setting>\r
</Handbrake.Properties.Settings>\r
</userSettings>\r
<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>\r