8 lines
522 B
PowerShell
8 lines
522 B
PowerShell
using namespace System.Diagnostics
|
|
$exePath = "C:\Users\frank\Desktop\Projekte\mpvnet\mpvnet\bin\Debug\mpvnet.exe"
|
|
$version = [FileVersionInfo]::GetVersionInfo($exePath).FileVersion
|
|
$targetDir = "C:\Users\Frank\Desktop\mpv.net-" + $version
|
|
Copy-Item C:\Users\frank\Desktop\Projekte\mpvnet\mpvnet\bin\Debug $targetDir -recurse
|
|
$addonDir = $targetDir + "\Addons"
|
|
remove-item $addonDir -Recurse -Include *vbnet.pdb, *mpvnet.exe, *mpvnet.exe.config, *mpvnet.pdb, *vbnet.dll
|
|
D:\Projekte\VS\VB\util\bin\util.exe -pack $targetDir |