Results 3 comments of huhuime

let ffi = require('ffi-napi'), ref = require('ref-napi'),lpdwordPtr = ref.refType(ref.types.ulong), user32 = ffi.Library('user32', {GetWindowThreadProcessId: ['int', ['int', lpdwordPtr]]}), pid = ref.alloc(lpdwordPtr); function killHwnd(Hwnd) { user32.GetWindowThreadProcessId(Hwnd, pid); try { process.kill(pid.readInt32LE(0)) } catch (e)...

vue2基本没戏,主动暴露了各个对象的vue内容,升vue3吧,把唯一的__vue_app__藏闭包里呗

try `Add-AppPackage -Path "PathTo\MicaForEveryone-x64-Release.msix" -AllowUnsigned`