mirror of
https://github.com/BrianLima/UWPHook.git
synced 2024-11-12 01:10:26 +00:00
Update installer, resources, bump version
This commit is contained in:
parent
d06903405e
commit
c60d163179
12
UWPHook.nsi
12
UWPHook.nsi
@ -11,7 +11,7 @@
|
||||
!define APP_NAME "UWPHook"
|
||||
!define COMP_NAME "Briano"
|
||||
!define WEB_SITE "https://briano.dev"
|
||||
!define VERSION "2.7.00.00"
|
||||
!define VERSION "2.8.00.00"
|
||||
!define COPYRIGHT "Briano <20> 2020"
|
||||
!define DESCRIPTION "The easy way to add UWP and XGP games to Steam"
|
||||
!define LICENSE_TXT "C:\Users\Brian\Documents\GitHub\UWPHook\README.md"
|
||||
@ -90,14 +90,16 @@ SetOverwrite ifnewer
|
||||
SetOutPath "$INSTDIR"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\MaterialDesignColors.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\MaterialDesignThemes.Wpf.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\MaterialDesignThemes.Wpf.xml"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\Microsoft.Management.Infrastructure.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\SharpSteam.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\System.Management.Automation.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\System.Management.Automation.xml"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\UWPHook.exe"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\UWPHook.exe.config"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\VDFParser.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\Crc32.NET.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\System.Net.Http.Formatting.dll"
|
||||
File "C:\Users\Brian\Documents\GitHub\UWPHook\UWPHook\bin\Release\Newtonsoft.Json.dll"
|
||||
|
||||
SectionEnd
|
||||
|
||||
######################################################################
|
||||
@ -158,7 +160,11 @@ Delete "$INSTDIR\System.Management.Automation.xml"
|
||||
Delete "$INSTDIR\UWPHook.exe"
|
||||
Delete "$INSTDIR\UWPHook.exe.config"
|
||||
Delete "$INSTDIR\VDFParser.dll"
|
||||
Delete "$INSTDIR\Crc32.NET.dll"
|
||||
Delete "$INSTDIR\Crc32.NET.xml"
|
||||
Delete "$INSTDIR\uninstall.exe"
|
||||
Delete "$INSTDIR\System.Net.Http.Formatting.dll"
|
||||
Delete "$INSTDIR\Newtonsoft.Json.dll"
|
||||
!ifdef WEB_SITE
|
||||
Delete "$INSTDIR\${APP_NAME} website.url"
|
||||
!endif
|
||||
|
@ -72,7 +72,7 @@ public static List<String> GetInstalledApps()
|
||||
List<String> result = null;
|
||||
var assembly = Assembly.GetExecutingAssembly();
|
||||
//Load the powershell script to get installed apps
|
||||
var resourceName = "UWPHook.Resources.GetAUMIDScript.txt";
|
||||
var resourceName = "UWPHook.Resources.GetAUMIDScript.ps1";
|
||||
try
|
||||
{
|
||||
using (Stream stream = assembly.GetManifestResourceStream(resourceName))
|
||||
|
@ -51,5 +51,5 @@
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("2.7.0.0")]
|
||||
[assembly: AssemblyVersion("2.8.0.0")]
|
||||
[assembly: AssemblyFileVersion("2.8.0.0")]
|
||||
|
20
UWPHook/Properties/Resources.Designer.cs
generated
20
UWPHook/Properties/Resources.Designer.cs
generated
@ -61,24 +61,12 @@ internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to $installedapps = get-AppxPackage
|
||||
///$invalidNames = '*ms-resource*', '*DisplayName*'
|
||||
///$aumidList = @()
|
||||
///
|
||||
///foreach ($app in $installedapps)
|
||||
///{
|
||||
/// try {
|
||||
/// if(-not $app.IsFramework){
|
||||
/// foreach ($id in (Get-AppxPackageManifest $app).package.applications.application.id)
|
||||
/// {
|
||||
/// $appx = Get-AppxPackageManifest $app;
|
||||
/// $name = $appx.Package.Properties.DisplayName;
|
||||
///
|
||||
/// if($name -like '*DisplayName*' -or $name -like '*ms-resourc [rest of string was truncated]";.
|
||||
/// Looks up a localized resource of type System.Byte[].
|
||||
/// </summary>
|
||||
public static string GetAUMIDScript {
|
||||
public static byte[] GetAUMIDScript {
|
||||
get {
|
||||
return ResourceManager.GetString("GetAUMIDScript", resourceCulture);
|
||||
object obj = ResourceManager.GetObject("GetAUMIDScript", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -119,6 +119,6 @@
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="GetAUMIDScript" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GetAUMIDScript.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
<value>..\Resources\GetAUMIDScript.ps1;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
</root>
|
@ -179,7 +179,7 @@
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Resources\GetAUMIDScript.txt" />
|
||||
<EmbeddedResource Include="Resources\GetAUMIDScript.ps1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\WhiteTransparent.png" />
|
||||
|
Loading…
Reference in New Issue
Block a user