5.4.4.6 Beta

This commit is contained in:
Frank Skare
2020-04-25 15:56:34 +02:00
parent 54b2612bb8
commit 0cad09d2bb
3 changed files with 40 additions and 6 deletions

View File

@@ -1,6 +1,40 @@
$ErrorActionPreference = 'Stop' $ErrorActionPreference = 'Stop'
$include = @(
'*.cs',
'*.csproj',
'*.iss',
'*.js',
'*.lua',
'*.md',
'*.ps1',
'*.resx',
'*.sln',
'*.txt',
'*.xaml'
)
$files = Get-ChildItem -Path $PSScriptRoot -Recurse -File -Include $include
foreach ($file in $files)
{
$lines = Get-Content $file
foreach ($line in $lines)
{
foreach ($char in $line.ToCharArray())
{
$codePoint = [int]$char
if ($codePoint -gt 127)
{
throw "Non ASCII char $char in file '$($file.FullName)' in line: $line"
}
}
}
}
$desktopDir = [Environment]::GetFolderPath('Desktop') $desktopDir = [Environment]::GetFolderPath('Desktop')
$exePath = $PSScriptRoot + '\mpv.net\bin\x64\mpvnet.exe' $exePath = $PSScriptRoot + '\mpv.net\bin\x64\mpvnet.exe'
$versionInfo = [Diagnostics.FileVersionInfo]::GetVersionInfo($exePath) $versionInfo = [Diagnostics.FileVersionInfo]::GetVersionInfo($exePath)

View File

@@ -6,11 +6,11 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("RatingExtension")] [assembly: AssemblyTitle("RatingExtension")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("RatingExtension")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("Frank Skare (stax76)")]
[assembly: AssemblyProduct("RatingExtension")] [assembly: AssemblyProduct("RatingExtension")]
[assembly: AssemblyCopyright("Copyright © 2017-2019 Frank Skare (stax76)")] [assembly: AssemblyCopyright("Copyright (C) 2017-2020 Frank Skare (stax76)")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]

View File

@@ -6,11 +6,11 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("RatingExtension")] [assembly: AssemblyTitle("RatingExtension")]
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("RatingExtension")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("Frank Skare (stax76)")]
[assembly: AssemblyProduct("RatingExtension")] [assembly: AssemblyProduct("RatingExtension")]
[assembly: AssemblyCopyright("Copyright © 2017-2019 Frank Skare (stax76)")] [assembly: AssemblyCopyright("Copyright (C) 2017-2020 Frank Skare (stax76)")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]