Move AUMID to LaunchOptions

Also add empty Devkit/DevkitGameID
pull/44/head
FlaminSarge 4 years ago
parent dd8ec6df0c
commit cd6c416e6b

@ -156,22 +156,26 @@ namespace UWPHook
if (shortcuts != null)
{
var exePath = @"""" + System.Reflection.Assembly.GetExecutingAssembly().Location + @"""";
var exeDir = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
foreach (var app in selected_apps)
{
VDFEntry newApp = new VDFEntry()
{
AppName = app.Name,
Exe = @"""" + System.Reflection.Assembly.GetExecutingAssembly().Location + @""" " + app.Aumid,
StartDir = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location),
Exe = exePath,
StartDir = exeDir,
LaunchOptions = app.Aumid,
AllowDesktopConfig = 1,
AllowOverlay = 1,
Icon = app.Icon,
Index = shortcuts.Length,
IsHidden = 0,
OpenVR = 0,
ShortcutPath = "",
Tags = new string[0],
LaunchOptions = "",
AllowOverlay = 1,
Devkit = 0,
DevkitGameID = "",
LastPlayTime = (int)DateTimeOffset.UtcNow.ToUnixTimeSeconds(),
};

Loading…
Cancel
Save