From 76a2de374155129b9550a37d19bf39769f68fdbf Mon Sep 17 00:00:00 2001 From: Alex Sim Date: Sun, 21 Nov 2021 21:14:19 +0100 Subject: [PATCH] Remove forgotten test code --- installer/installer.iss | 2 +- lib/windows/win_pkg.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/installer.iss b/installer/installer.iss index cafe6a9..6ceb6fa 100644 --- a/installer/installer.iss +++ b/installer/installer.iss @@ -20,7 +20,7 @@ #define path_assoc_default ".DEFAULT\"+path_assoc_user [Setup] -AppVersion=0.5.3 +AppVersion=0.5.4 PrivilegesRequired=admin AppName=WSA PacMan ArchitecturesInstallIn64BitMode=x64 diff --git a/lib/windows/win_pkg.dart b/lib/windows/win_pkg.dart index 4e2d9ae..cdecc35 100644 --- a/lib/windows/win_pkg.dart +++ b/lib/windows/win_pkg.dart @@ -22,7 +22,7 @@ class WinPkg { } static String? getPackageFamilyName(String fullName) { - final lpName = ("MicrosoftCorporationII.WindowsSubsystemForAndroid_1.8.32822.0_x64__8wekyb3d8bbwe").toNativeUtf16(); + final lpName = fullName.toNativeUtf16(); var lpFamilyName = malloc(_INITIAL_OUTPUT_BUFFER_CHARS).cast(); final lpBufferLenght = malloc()..value = _INITIAL_OUTPUT_BUFFER_CHARS;