From e1934dfc9d5836ce4f008084487ee1a55385214f Mon Sep 17 00:00:00 2001 From: Ibraheem Saleh Date: Mon, 11 Nov 2024 17:49:48 -0800 Subject: [PATCH] Fix #33 bad adhan paths on initial install --- InstallForgeProject/OpenAdhan.ifp | Bin 6111 -> 6111 bytes .../Properties/AssemblyInfo.cs | 4 ++-- .../RegistrySettingsHandler.cs | 4 ++-- .../Properties/AssemblyInfo.cs | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/InstallForgeProject/OpenAdhan.ifp b/InstallForgeProject/OpenAdhan.ifp index 9f6c649e0b5e19841b32a8a248809d8022cc88ee..0cf2a8aca61e92d45f65c5861669fc9348de78ed 100644 GIT binary patch delta 12 Tcmcbwe_ww>3Zvo1)GBcRBo_qg delta 12 Tcmcbwe_ww>3Zucs)GBcRBoYMa diff --git a/OpenAdhanForWindowsX/Properties/AssemblyInfo.cs b/OpenAdhanForWindowsX/Properties/AssemblyInfo.cs index f1fd964..ac546f4 100644 --- a/OpenAdhanForWindowsX/Properties/AssemblyInfo.cs +++ b/OpenAdhanForWindowsX/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0.0")] -[assembly: AssemblyFileVersion("1.2.0.0")] +[assembly: AssemblyVersion("1.2.1.0")] +[assembly: AssemblyFileVersion("1.2.1.0")] diff --git a/OpenAdhanForWindowsX/RegistrySettingsHandler.cs b/OpenAdhanForWindowsX/RegistrySettingsHandler.cs index 3d66f9f..972d2a1 100644 --- a/OpenAdhanForWindowsX/RegistrySettingsHandler.cs +++ b/OpenAdhanForWindowsX/RegistrySettingsHandler.cs @@ -301,8 +301,8 @@ public void InstallOpenAdhanRegistryKeys() InstallRegistryValueWithPermissions(automaticDaylightSavingsAdjustmentKey, "0", "int"); } InstallRegistryValueWithPermissions(initialInstallFlagKey, "1", "int"); - InstallRegistryValueWithPermissions(normalAdhanFilePathkey, System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Random"), "string"); - InstallRegistryValueWithPermissions(fajrAdhanFilePathKey, System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Random"), "string"); + InstallRegistryValueWithPermissions(normalAdhanFilePathkey, "Random", "string"); + InstallRegistryValueWithPermissions(fajrAdhanFilePathKey, "Random", "string"); InstallRegistryValueWithPermissions(openAdhanInstalledVersionKey, System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(), "string"); // Save the version of OpenAdhan that was installed (for future use in the installer/updater) InstallRegistryValueWithPermissions(windowPositionXKey, "100", "int"); InstallRegistryValueWithPermissions(windowPositionYKey, "100", "int"); diff --git a/OpenAdhanRegistrySetupApp/Properties/AssemblyInfo.cs b/OpenAdhanRegistrySetupApp/Properties/AssemblyInfo.cs index d8f65f1..4950657 100644 --- a/OpenAdhanRegistrySetupApp/Properties/AssemblyInfo.cs +++ b/OpenAdhanRegistrySetupApp/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0.0")] -[assembly: AssemblyFileVersion("1.2.0.0")] +[assembly: AssemblyVersion("1.2.1.0")] +[assembly: AssemblyFileVersion("1.2.1.0")]