From 1e3161f4e1a49e032cb5ae0ff58ce1bfb3332378 Mon Sep 17 00:00:00 2001 From: kjqwer <2990346238@qq.com> Date: Tue, 20 Jan 2026 09:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0potplayer=E7=9A=84=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=EF=BC=8C=E6=9B=B4=E6=94=B9=E9=BB=98=E8=AE=A4=E4=B8=BA?= =?UTF-8?q?potplayer,=E5=A2=9E=E5=8A=A0=E6=89=93=E5=8C=85=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E7=9A=84=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MediaControl.exe | Bin 35328 -> 35328 bytes MediaControl.ps1 | 6 ++++-- 打包命令.txt | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 打包命令.txt diff --git a/MediaControl.exe b/MediaControl.exe index af2e6e361769de3490db7571739a8d84ea3dcd06..56b4f41d37301f15e490e2673f4169a8fbb428ef 100644 GIT binary patch delta 220 zcmZpe!qhN@X+j6f(<^zI6MJNs?B-8g6~^~u9s@%-0}w1=V3@%&d0~UdWF^KpCYSoj zO^kJd3iCly3=AGX%*4RT&@ow%Nto%I>g10NTAKry9Ap?jZJsEn$|0@8%cTGXN&)#L z0Xd14sYSk-d6{M=o42ZMVP;gGoS|hiIa5oQxgft}^GvO2lA8@&_LvH!oIG0+xh%qY z*GK<=nUal7oBvc!U=!kj+6%H<55!iOs3^vyFn^+=$mBx}Z#MHa{bFTuu-`1$@t$#_ G0XqN;Vnl@i delta 186 zcmZpe!qhN@X+j6fp0o)W6MJNs?#-LHDvYmZ9s`3v0}w1=V3@%&QBioZB4a$$le)=G zjCFzsfRZ5K0mMuUtPBQ|1(}4I=BiE(Y}DEuz~msqICJwvIaQ9$m((^hPd=oj%bZ(U zy!n&XG|A2FE_+P{tn>cQdHQCL!<07m>Zv(t&o+ltO<)t+0yPz6@;MM&VWOfK(}8)D c#TtK1PH0Tn%-8gbmFa=qX2Fj4j1vvm0q}Z0s{jB1 diff --git a/MediaControl.ps1 b/MediaControl.ps1 index 08fc356..38f8d12 100644 --- a/MediaControl.ps1 +++ b/MediaControl.ps1 @@ -60,7 +60,8 @@ function Test-MediaPlayerRunning { "GrooveMusic", "WindowsMediaPlayer", "QQMusic", - "Microsoft.Media.Player" + "Microsoft.Media.Player", + "PotPlayerMini64" ) foreach ($player in $mediaPlayers) { @@ -98,7 +99,8 @@ function Start-MediaPlayer { #> param([bool]$Silent = $false) - $shortcutPath = "D:\1awd\快速使用\应用\mus.lnk" + # $shortcutPath = "D:\1awd\快速使用\应用\mus.lnk" + $shortcutPath = "D:\1awd\快速使用\应用\pot.lnk" if (Test-Path $shortcutPath) { try { diff --git a/打包命令.txt b/打包命令.txt new file mode 100644 index 0000000..2dc347c --- /dev/null +++ b/打包命令.txt @@ -0,0 +1,2 @@ +Invoke-ps2exe -InputFile "open_process_directory.ps1" -OutputFile "OpenProcessDirectory.exe" -RequireAdmin +Invoke-ps2exe -InputFile "MediaControl.ps1" -OutputFile "MediaControl.exe" -RequireAdmin \ No newline at end of file