Update README and minor fixes

UWPTest
Brian Lima 8 years ago
parent fc8e91056a
commit 813f0f4582

@ -51,16 +51,28 @@ Go to "C:\Users\<user>\AppData\Local\Packages"
Find the App you want to add, copy the whole folder name and add "!App" to the end on UWPHook, should look like this:
![](http://imgur.com/NMx9IAR.png)
![](http://imgur.com/2RlKi1X.png)
Repeat previous steps to add the game to Steam.
If you can't find the app, there's a easier way to determine its folder name:
Press "Windows+R" and type "shell:appsfolder", you will be taken to a folder containing every metro app and other things on your PC
![](http://imgur.com/W1kH0R4.png)
Find the game you want, right click it and create shortcut, Windows will place a shortcut on your desktop.
![](http://imgur.com/Z9p80Hy.png)
Right click the shortcut, on targettype will be the app's folder name, making it easier to find the game on Packages folder.
![](http://imgur.com/HU3I2NU.png)
To remove a game form the list, double click the desired game
# Troubleshooting #
- **I added the game's url to UWPHook but it won't start whatsoever**

@ -17,7 +17,7 @@
<ColumnDefinition Width="11*"/>
</Grid.ColumnDefinitions>
<Grid Margin="0,10,9,0" Grid.Column="1" Grid.ColumnSpan="2">
<ListView x:Name="listView" RenderTransformOrigin="0.496,0.409">
<ListView x:Name="listView" RenderTransformOrigin="0.496,0.409" MouseDoubleClick="listView_MouseDoubleClick">
<ListView.View>
<GridView>
<GridViewColumn Width="100" Header="alias" DisplayMemberBinding="{Binding game_alias}"/>

@ -9,7 +9,7 @@ namespace UWPHook
/// </summary>
public partial class MainWindow : Window
{
GameModel games;
GameModel gamesView;
public MainWindow()
{
InitializeComponent();
@ -17,8 +17,8 @@ namespace UWPHook
private void Window_Loaded(object sender, RoutedEventArgs e)
{
games = new GameModel();
listView.ItemsSource = games.games;
gamesView = new GameModel();
listView.ItemsSource = gamesView.games;
var argument = Environment.GetCommandLineArgs();
string argumentGame = "";
@ -29,11 +29,12 @@ namespace UWPHook
if (argument != null)
{
foreach (Game game in games.games)
foreach (Game game in gamesView.games)
{
if (game.game_alias.ToLower() == argumentGame.ToLower().Trim())
{
Process.Start(@"shell:AppsFolder\" + game.game_path);
break;
}
}
}
@ -41,8 +42,14 @@ namespace UWPHook
private void addButton_Click(object sender, RoutedEventArgs e)
{
games.Store();
games.Add(new Game { game_alias = alias_textBox.Text, game_path = path_textBox.Text });
gamesView.Add(new Game { game_alias = alias_textBox.Text, game_path = path_textBox.Text });
gamesView.Store();
}
private void listView_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
gamesView.games.RemoveAt(listView.SelectedIndex);
gamesView.Store();
}
}
}

Binary file not shown.

Binary file not shown.

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Binary file not shown.

Binary file not shown.

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0403F259EB5896FF153F516A6A6E16E6"
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B6478F672D97C71223B8E078DABEFE7F"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -136,6 +136,12 @@ namespace UWPHook {
return;
case 2:
this.listView = ((System.Windows.Controls.ListView)(target));
#line 20 "..\..\MainWindow.xaml"
this.listView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listView_MouseDoubleClick);
#line default
#line hidden
return;
case 3:
this.addButton = ((System.Windows.Controls.Button)(target));

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0403F259EB5896FF153F516A6A6E16E6"
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B6478F672D97C71223B8E078DABEFE7F"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -136,6 +136,12 @@ namespace UWPHook {
return;
case 2:
this.listView = ((System.Windows.Controls.ListView)(target));
#line 20 "..\..\MainWindow.xaml"
this.listView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listView_MouseDoubleClick);
#line default
#line hidden
return;
case 3:
this.addButton = ((System.Windows.Controls.Button)(target));

Binary file not shown.

Binary file not shown.

@ -4,16 +4,16 @@
winexe
C#
.cs
c:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\obj\Debug\
C:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\obj\Debug\
UWPHook
none
false
DEBUG;TRACE
c:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\App.xaml
C:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\App.xaml
11151548125
6-470569544
14-1541981460
14-2024189101
MainWindow.xaml;
False

@ -1,4 +1,4 @@

Fc:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\MainWindow.xaml;;
FC:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\MainWindow.xaml;;

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0403F259EB5896FF153F516A6A6E16E6"
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B6478F672D97C71223B8E078DABEFE7F"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -136,6 +136,12 @@ namespace UWPHook {
return;
case 2:
this.listView = ((System.Windows.Controls.ListView)(target));
#line 20 "..\..\MainWindow.xaml"
this.listView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listView_MouseDoubleClick);
#line default
#line hidden
return;
case 3:
this.addButton = ((System.Windows.Controls.Button)(target));

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0403F259EB5896FF153F516A6A6E16E6"
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B6478F672D97C71223B8E078DABEFE7F"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -136,6 +136,12 @@ namespace UWPHook {
return;
case 2:
this.listView = ((System.Windows.Controls.ListView)(target));
#line 20 "..\..\MainWindow.xaml"
this.listView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.listView_MouseDoubleClick);
#line default
#line hidden
return;
case 3:
this.addButton = ((System.Windows.Controls.Button)(target));

Binary file not shown.

Binary file not shown.

@ -4,16 +4,16 @@
winexe
C#
.cs
c:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\obj\Release\
C:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\obj\Release\
UWPHook
none
false
TRACE
c:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\App.xaml
C:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\App.xaml
11151548125
6-470569544
14-1541981460
14-2024189101
MainWindow.xaml;
False

@ -4,16 +4,16 @@
winexe
C#
.cs
c:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\obj\Release\
C:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\obj\Release\
UWPHook
none
false
TRACE
c:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\App.xaml
C:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\App.xaml
11151548125
10-965409959
14-1541981460
14-2024189101
MainWindow.xaml;
True

@ -1,4 +1,4 @@

Fc:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\MainWindow.xaml;;
FC:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\MainWindow.xaml;;

@ -1,4 +1,4 @@

Fc:\users\brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\MainWindow.xaml;;
FC:\Users\Brian\documents\visual studio 2015\Projects\UWPHook\UWPHook\MainWindow.xaml;;

Loading…
Cancel
Save