diff --git a/App.config b/App.config index 62c5b26e..d4a33318 100644 --- a/App.config +++ b/App.config @@ -621,16 +621,16 @@ - 2.261 + 2.262 - 2021-08-02 + 2021-08-20 False - 2.261-pre4 + 0 diff --git a/Program.cs b/Program.cs index 55ca253e..6efab981 100644 --- a/Program.cs +++ b/Program.cs @@ -8,7 +8,8 @@ namespace youtube_dl_gui { static class Program { static GuidAttribute ProgramGUID = (GuidAttribute)Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(GuidAttribute), true)[0]; - public static volatile string ProgramPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); + //public static volatile string ProgramPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location); + public static volatile string ProgramPath = Environment.CurrentDirectory; public static readonly string UserAgent = "User-Agent: youtube-dl-gui/" + Properties.Settings.Default.CurrentVersion; public static volatile bool IsDebug = false; public static volatile bool UseIni = false; diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs index 06bcb2b8..fd186206 100644 --- a/Properties/Settings.Designer.cs +++ b/Properties/Settings.Designer.cs @@ -25,7 +25,7 @@ public static Settings Default { [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("2.261")] + [global::System.Configuration.DefaultSettingValueAttribute("2.262")] public decimal CurrentVersion { get { return ((decimal)(this["CurrentVersion"])); @@ -46,7 +46,7 @@ public bool firstTime { [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("2021-08-02")] + [global::System.Configuration.DefaultSettingValueAttribute("2021-08-20")] public string LastDebugDate { get { return ((string)(this["LastDebugDate"])); @@ -76,7 +76,7 @@ public bool IsBetaVersion { [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("2.261-pre4")] + [global::System.Configuration.DefaultSettingValueAttribute("0")] public string BetaVersion { get { return ((string)(this["BetaVersion"])); diff --git a/Properties/Settings.settings b/Properties/Settings.settings index 112bd460..e84b70c5 100644 --- a/Properties/Settings.settings +++ b/Properties/Settings.settings @@ -3,13 +3,13 @@ - 2.261 + 2.262 True - 2021-08-02 + 2021-08-20 -1 @@ -18,7 +18,7 @@ False - 2.261-pre4 + 0 diff --git a/youtube-dl-gui.csproj b/youtube-dl-gui.csproj index 7518ae86..442e09af 100644 --- a/youtube-dl-gui.csproj +++ b/youtube-dl-gui.csproj @@ -55,6 +55,7 @@ +