5.4.4.6 Beta
This commit is contained in:
34
Release.ps1
34
Release.ps1
@@ -1,6 +1,40 @@
|
||||
|
||||
$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')
|
||||
$exePath = $PSScriptRoot + '\mpv.net\bin\x64\mpvnet.exe'
|
||||
$versionInfo = [Diagnostics.FileVersionInfo]::GetVersionInfo($exePath)
|
||||
|
||||
@@ -6,11 +6,11 @@ using System.Runtime.InteropServices;
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("RatingExtension")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyDescription("RatingExtension")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyCompany("Frank Skare (stax76)")]
|
||||
[assembly: AssemblyProduct("RatingExtension")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017-2019 Frank Skare (stax76)")]
|
||||
[assembly: AssemblyCopyright("Copyright (C) 2017-2020 Frank Skare (stax76)")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ using System.Runtime.InteropServices;
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("RatingExtension")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyDescription("RatingExtension")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyCompany("Frank Skare (stax76)")]
|
||||
[assembly: AssemblyProduct("RatingExtension")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017-2019 Frank Skare (stax76)")]
|
||||
[assembly: AssemblyCopyright("Copyright (C) 2017-2020 Frank Skare (stax76)")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user