From 3843cf14f07c18f43a6a4341c9ba866a91612a86 Mon Sep 17 00:00:00 2001 From: Brian Lima Date: Sun, 31 May 2020 14:16:54 -0300 Subject: [PATCH] Set LastPlayTime of new shortcuts to now This makes so that when new apps are exported to Steam, they actually show at the top of the library, instead of the very bottom. --- UWPHook/GamesWindow.xaml.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UWPHook/GamesWindow.xaml.cs b/UWPHook/GamesWindow.xaml.cs index 5d0af11..b5c2d85 100644 --- a/UWPHook/GamesWindow.xaml.cs +++ b/UWPHook/GamesWindow.xaml.cs @@ -169,7 +169,10 @@ namespace UWPHook IsHidden = 0, OpenVR = 0, ShortcutPath = "", - Tags = new string[0] + Tags = new string[0], + LaunchOptions = "", + AllowOverlay = 1, + LastPlayTime = (int)DateTimeOffset.UtcNow.ToUnixTimeSeconds(), }; //Resize this array so it fits the new entries