增加potplayer的控制,更改默认为potplayer,增加打包命令的上传
This commit is contained in:
Binary file not shown.
+4
-2
@@ -60,7 +60,8 @@ function Test-MediaPlayerRunning {
|
|||||||
"GrooveMusic",
|
"GrooveMusic",
|
||||||
"WindowsMediaPlayer",
|
"WindowsMediaPlayer",
|
||||||
"QQMusic",
|
"QQMusic",
|
||||||
"Microsoft.Media.Player"
|
"Microsoft.Media.Player",
|
||||||
|
"PotPlayerMini64"
|
||||||
)
|
)
|
||||||
|
|
||||||
foreach ($player in $mediaPlayers) {
|
foreach ($player in $mediaPlayers) {
|
||||||
@@ -98,7 +99,8 @@ function Start-MediaPlayer {
|
|||||||
#>
|
#>
|
||||||
param([bool]$Silent = $false)
|
param([bool]$Silent = $false)
|
||||||
|
|
||||||
$shortcutPath = "D:\1awd\快速使用\应用\mus.lnk"
|
# $shortcutPath = "D:\1awd\快速使用\应用\mus.lnk"
|
||||||
|
$shortcutPath = "D:\1awd\快速使用\应用\pot.lnk"
|
||||||
|
|
||||||
if (Test-Path $shortcutPath) {
|
if (Test-Path $shortcutPath) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user