mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
fix(windows): resolve notification helper assemblies explicitly
This commit is contained in:
1 file changed
+2
-1
@@ -146,7 +146,8 @@ function Set-MachineState {
|
||||
|
||||
function Set-ShortcutAppUserModelId([string]$Path, [string]$ApplicationId) {
|
||||
if (-not ('GPConnect.Installer.ShortcutIdentity' -as [type])) {
|
||||
Add-Type @'
|
||||
# NSIS also extracts a native System.dll; reference the loaded .NET assembly explicitly.
|
||||
Add-Type -ReferencedAssemblies ([System.Uri].Assembly.Location) -TypeDefinition @'
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
||||
Reference in new issue
Block a user