diff --git a/UWPHook/GamesWindow.xaml.cs b/UWPHook/GamesWindow.xaml.cs
index 55a192a..9043b43 100644
--- a/UWPHook/GamesWindow.xaml.cs
+++ b/UWPHook/GamesWindow.xaml.cs
@@ -393,7 +393,7 @@ namespace UWPHook
{
foreach (var app in selected_apps)
{
- string icon = PersistAppIcon(app, exeDir);
+ string icon = PersistAppIcon(app);
VDFEntry newApp = new VDFEntry()
{
@@ -480,11 +480,11 @@ namespace UWPHook
/// Due to some apps changing the icon location when they update, which causes icons to be "lost"
///
/// App to copy the icon from
- /// Base path to copy the app to
///
- private string PersistAppIcon(AppEntry app, string path)
+ private string PersistAppIcon(AppEntry app)
{
- string icons_path = path + @"\\icons\\";
+ string path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
+ string icons_path = path + @"\\Briano\\UWPHook\\icons\\";
if (!Directory.Exists(icons_path))
{