• R/O
  • SSH
  • HTTPS

ewatch: Commit


Commit MetaInfo

Revision119 (tree)
Zeit2020-09-29 18:36:24
Autorbananajinn

Log Message

monoでカレントディレクトリがmonoのディレクトリになる場合があるのを修正
1.0.35

Ändern Zusammenfassung

Diff

--- trunk/EWatch/EWatch/EWService.cs (revision 118)
+++ trunk/EWatch/EWatch/EWService.cs (revision 119)
@@ -46,7 +46,7 @@
4646 public EWService()
4747 {
4848 _instance = this;
49- Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
49+ Directory.SetCurrentDirectory(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
5050 string config = File.Exists("etc/log4net.config.xml") ? "etc/log4net.config.xml" : "log4net.config.xml";
5151 XmlConfigurator.Configure(new FileInfo(config));
5252 log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
--- trunk/EWatch/EWatch/Properties/AssemblyInfo.cs (revision 118)
+++ trunk/EWatch/EWatch/Properties/AssemblyInfo.cs (revision 119)
@@ -24,5 +24,5 @@
2424 //
2525 // You can specify all the values or you can use the default the Revision and
2626 // Build Numbers by using the '*' as shown below:
27-[assembly: AssemblyVersion ("1.0.34")]
27+[assembly: AssemblyVersion ("1.0.35")]
2828 //[assembly: log4net.Config.XmlConfigurator(ConfigFile=@"Log4net.Config.xml", Watch=true)]
--- trunk/EWatch/EWatchCLI/Properties/AssemblyInfo.cs (revision 118)
+++ trunk/EWatch/EWatchCLI/Properties/AssemblyInfo.cs (revision 119)
@@ -28,4 +28,4 @@
2828 //
2929 // You can specify all the values or you can use the default the Revision and
3030 // Build Numbers by using the '*' as shown below:
31-[assembly: AssemblyVersion("1.0.34")]
31+[assembly: AssemblyVersion("1.0.35")]
--- trunk/EWatch/EWatchUI/Properties/AssemblyInfo.cs (revision 118)
+++ trunk/EWatch/EWatchUI/Properties/AssemblyInfo.cs (revision 119)
@@ -28,4 +28,4 @@
2828 //
2929 // You can specify all the values or you can use the default the Revision and
3030 // Build Numbers by using the '*' as shown below:
31-[assembly: AssemblyVersion("1.0.34")]
31+[assembly: AssemblyVersion("1.0.35")]
--- trunk/EWatch/EWatchView/Properties/AssemblyInfo.cs (revision 118)
+++ trunk/EWatch/EWatchView/Properties/AssemblyInfo.cs (revision 119)
@@ -28,4 +28,4 @@
2828 //
2929 // You can specify all the values or you can use the default the Revision and
3030 // Build Numbers by using the '*' as shown below:
31-[assembly: AssemblyVersion("1.0.34")]
31+[assembly: AssemblyVersion("1.0.35")]
Show on old repository browser