一、IDM
参考:GitHub - lstprjct/IDM-Activation-Script: IDM Activation & Trail Reset Script
IDM免费安装注册使用,两步注册成功_idm注册-CSDN博客
1、官网先下载IDM
2、然后使用过程如下
1.在Powershell 里输入iwr -useb 编辑 网页链接 | iex 后回车运行
iwr -useb https://raw.githubusercontent.com/lstprjct/IDM-Activation-Script/main/IAS.ps1 | iex
2.输入数字1继续运行
3.弹出 what is the name to be registered? ,输入Internet Download Manager后继续运行,然后注册成功,显示IDM is successfully activated.
脚本内容如下,也是网页内容
# Enable TLSv1.2 for compatibility with older clients
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor [System.Net.SecurityProtocolType]::Tls12
$DownloadURL = 'https://raw.githubusercontent.com/lstprjct/IDM-Activation-Script/main/IAS_0.7_ModByPiash.cmd'
$FilePath = "$env:TEMP\IAS.cmd"
try {
Invoke-WebRequest -Uri $DownloadURL -UseBasicParsing -OutFile $FilePath
} catch {
Write-Error $_
Return
}
if (Test-Path $FilePath) {
Start-Process $FilePath -Wait
$item = Get-Item -LiteralPath $FilePath
$item.Delete()
}
成功
二、mathtype嵌入到word
pojie使用的安装包和exe