From 8a6659b1bfe37cbafd179f507bc8c53665e0dfb8 Mon Sep 17 00:00:00 2001 From: Frank Skare Date: Sat, 23 Mar 2019 18:18:55 +0100 Subject: [PATCH] - --- README.md | 13 ++++++++++++- mpv.net/mpv.net.csproj | 1 + release.ps1 | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a5bf812..7e7ae6d 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,17 @@ mpv and mpv.net have a learning curve and are only suitable for experienced user mpv manual: https://mpv.io/manual/master/ +Table of contents +------- + +- [Features](#features) +- [Context Menu](#context-menu) +- [Settings](#settings) +- [C# Scripting](#cs-scripting) +- [Python Scripting](#python-scripting) +- [PowerShell Scripting](#powershell-scripting) +- [Changelog](#changelog) + ### Features - Customizable context menu defined in the same file as the keybindings @@ -119,7 +130,7 @@ $position = [mp]::get_property_number("time-pos"); ``` Please note that PowerShell don't allow assigning to events and mpv.net uses as workaround a matching script filename, a list of available events can be found in the mpv manual or in the file mp.cs in the mpv.net source code. -### Changes +### Changelog ### 1.7 diff --git a/mpv.net/mpv.net.csproj b/mpv.net/mpv.net.csproj index c5bde98..5fb3fcb 100644 --- a/mpv.net/mpv.net.csproj +++ b/mpv.net/mpv.net.csproj @@ -24,6 +24,7 @@ prompt 4 false + On AnyCPU diff --git a/release.ps1 b/release.ps1 index 53e994c..0efd77d 100644 --- a/release.ps1 +++ b/release.ps1 @@ -3,8 +3,8 @@ $exePath = $scriptDir + "\mpv.net\bin\Debug\mpvnet.exe" $version = [Diagnostics.FileVersionInfo]::GetVersionInfo($exePath).FileVersion $desktopDir = [Environment]::GetFolderPath("Desktop") $targetDir = $desktopDir + "\mpv.net-" + $version -Copy-Item $scriptDir\mpv.net\bin\Debug $targetDir -recurse -copy-item $scriptDir\README.md $targetDir\README.md +Copy-Item $scriptDir\mpv.net\bin\Debug $targetDir -Recurse -Exclude System.Management.Automation.xml +Copy-Item $scriptDir\README.md $targetDir\README.md $7zPath = "C:\Program Files\7-Zip\7z.exe" $args = "a -t7z -mx9 $targetDir.7z -r $targetDir\*" Start-Process -FilePath $7zPath -ArgumentList $args \ No newline at end of file