-
This commit is contained in:
13
README.md
13
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
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
<GenerateSerializationAssemblies>On</GenerateSerializationAssemblies>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user