diff --git a/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/linux_x64.pubxml.user b/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/linux_x64.pubxml.user
index 73b8e98..901e8f8 100644
--- a/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/linux_x64.pubxml.user
+++ b/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/linux_x64.pubxml.user
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2023-06-06T20:09:41.5267582Z;True|2023-04-30T17:57:44.3876690+02:00;True|2023-04-10T17:40:35.1800594+02:00;True|2023-01-28T16:02:21.7075281+01:00;
+ True|2023-08-14T11:07:02.3531810Z;True|2023-08-14T13:06:52.0751528+02:00;True|2023-06-06T22:09:41.5267582+02:00;True|2023-04-30T17:57:44.3876690+02:00;True|2023-04-10T17:40:35.1800594+02:00;True|2023-01-28T16:02:21.7075281+01:00;
\ No newline at end of file
diff --git a/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/osx_x64.pubxml.user b/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/osx_x64.pubxml.user
index 0b34141..49e28db 100644
--- a/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/osx_x64.pubxml.user
+++ b/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/osx_x64.pubxml.user
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2023-06-06T20:11:28.7924159Z;True|2023-04-30T17:56:58.4384691+02:00;True|2023-04-10T17:37:41.8202016+02:00;True|2023-01-28T16:02:13.7381611+01:00;
+ True|2023-08-14T11:05:42.5425714Z;True|2023-08-14T13:05:32.4788643+02:00;True|2023-06-06T22:11:28.7924159+02:00;True|2023-04-30T17:56:58.4384691+02:00;True|2023-04-10T17:37:41.8202016+02:00;True|2023-01-28T16:02:13.7381611+01:00;
\ No newline at end of file
diff --git a/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/windows_x64.pubxml.user b/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/windows_x64.pubxml.user
index afc7557..4ca918f 100644
--- a/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/windows_x64.pubxml.user
+++ b/SwitchGiftDataManager.CommandLine/Properties/PublishProfiles/windows_x64.pubxml.user
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2023-06-06T20:12:34.4117725Z;True|2023-04-30T17:55:35.6583516+02:00;True|2023-04-10T17:35:59.0886698+02:00;False|2023-04-10T17:35:45.4776987+02:00;True|2023-01-28T16:02:06.8383516+01:00;
+ True|2023-08-14T11:04:24.9139762Z;True|2023-06-06T22:12:34.4117725+02:00;True|2023-04-30T17:55:35.6583516+02:00;True|2023-04-10T17:35:59.0886698+02:00;False|2023-04-10T17:35:45.4776987+02:00;True|2023-01-28T16:02:06.8383516+01:00;
\ No newline at end of file
diff --git a/SwitchGiftDataManager.WinForm/MainWindow.cs b/SwitchGiftDataManager.WinForm/MainWindow.cs
index 968f781..d9ff1cf 100644
--- a/SwitchGiftDataManager.WinForm/MainWindow.cs
+++ b/SwitchGiftDataManager.WinForm/MainWindow.cs
@@ -453,17 +453,15 @@ public partial class MainWindow : Form
ChkRepeatable.Enabled = false;
}
- private void MenuItemMGDB_Click(object sender, EventArgs e)
- {
+ private void MenuItemMGDB_Click(object sender, EventArgs e) =>
Task.Run(async () => await DownloadRepoMGDB()).Wait();
- }
private static async Task DownloadRepoMGDB()
{
var url = "https://github.com/projectpokemon/EventsGallery/archive/refs/heads/master.zip";
using (var client = new HttpClient())
{
- var path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!;
+ var path = Environment.CurrentDirectory;
var mgdbPath = Path.Combine(path, "mgdb");
if (Directory.Exists(mgdbPath))
diff --git a/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/Windowsx86.pubxml.user b/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/Windowsx86.pubxml.user
index 4bb92ae..e961912 100644
--- a/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/Windowsx86.pubxml.user
+++ b/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/Windowsx86.pubxml.user
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2023-06-06T20:08:02.8282040Z;True|2023-04-30T17:53:05.5959766+02:00;False|2023-04-30T17:52:03.7561171+02:00;True|2023-04-30T17:51:26.5642099+02:00;False|2023-04-30T17:50:29.6287729+02:00;False|2023-04-30T17:49:48.8628113+02:00;False|2023-04-30T17:49:13.6423153+02:00;False|2023-04-30T17:49:07.1768896+02:00;True|2023-04-10T17:45:17.0563608+02:00;False|2023-04-10T17:45:05.3801595+02:00;True|2023-04-10T17:44:52.3050457+02:00;False|2023-04-10T17:43:42.2422643+02:00;False|2023-04-10T17:42:40.9947818+02:00;
+ True|2023-08-14T11:01:52.2006498Z;True|2023-06-06T22:08:02.8282040+02:00;True|2023-04-30T17:53:05.5959766+02:00;False|2023-04-30T17:52:03.7561171+02:00;True|2023-04-30T17:51:26.5642099+02:00;False|2023-04-30T17:50:29.6287729+02:00;False|2023-04-30T17:49:48.8628113+02:00;False|2023-04-30T17:49:13.6423153+02:00;False|2023-04-30T17:49:07.1768896+02:00;True|2023-04-10T17:45:17.0563608+02:00;False|2023-04-10T17:45:05.3801595+02:00;True|2023-04-10T17:44:52.3050457+02:00;False|2023-04-10T17:43:42.2422643+02:00;False|2023-04-10T17:42:40.9947818+02:00;
\ No newline at end of file
diff --git a/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/windows.pubxml.user b/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/windows.pubxml.user
index f1f781a..e661274 100644
--- a/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/windows.pubxml.user
+++ b/SwitchGiftDataManager.WinForm/Properties/PublishProfiles/windows.pubxml.user
@@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
- True|2023-06-06T20:06:44.0906717Z;True|2023-04-30T17:47:33.6719153+02:00;False|2023-04-30T17:47:20.2017341+02:00;True|2023-04-10T17:33:26.3077827+02:00;False|2023-04-10T17:32:43.9169969+02:00;True|2023-01-28T16:01:40.5830936+01:00;
+ True|2023-08-14T19:28:20.2713749Z;True|2023-08-14T21:25:34.3082675+02:00;True|2023-08-14T21:25:27.1522351+02:00;True|2023-08-14T21:00:06.6523582+02:00;True|2023-08-14T20:58:07.2152740+02:00;True|2023-08-14T20:57:44.9836572+02:00;True|2023-08-14T13:02:48.6507319+02:00;True|2023-06-06T22:06:44.0906717+02:00;True|2023-04-30T17:47:33.6719153+02:00;False|2023-04-30T17:47:20.2017341+02:00;True|2023-04-10T17:33:26.3077827+02:00;False|2023-04-10T17:32:43.9169969+02:00;True|2023-01-28T16:01:40.5830936+01:00;
\ No newline at end of file