diff --git a/win/bdiso-to-mkv.ps1 b/win/bdiso-to-mkv.ps1 deleted file mode 100644 index e318a1e..0000000 --- a/win/bdiso-to-mkv.ps1 +++ /dev/null @@ -1,27 +0,0 @@ -param ( - [parameter(Mandatory=$false)] [switch] $Delete, - [parameter(Mandatory=$false)] [string] $OutFormat=".mkv", - [parameter(Mandatory=$true, Position=0)] [string] $InPath, - [parameter(Mandatory=$true, Position=1)] [string] $OutPath -) - -if (-not (Test-Path -LiteralPath $InPath -Type Leaf)) { - Write-Error "Invalid Input File Path $($InPath)" - exit -} - -if (-not (Test-Path -LiteralPath $OutPath)) { - Write-Error "Invalid Output Path $($OutPath)" - exit -} -if (Test-Path -LiteralPath $OutPath -PathType Container) { - $OutPath = Join-Path $OutPath ((Split-Path -Leaf $InPath) + $OutFormat) -} - -$ConvertedInPath = Convert-Path -LiteralPath $InPath -$InDrive = "bluray:$((Mount-DiskImage $ConvertedInPath | Get-Volume).DriveLetter):\\" -ffmpeg.exe -i $InDrive -c:v copy $OutPath -Dismount-DiskImage $ConvertedInPath -if ($Delete) { - Remove-Item -LiteralPath $InPath -} \ No newline at end of file diff --git a/win/clear-recently-opened.ps1 b/win/clear-recently-opened.ps1 deleted file mode 100644 index 88348af..0000000 --- a/win/clear-recently-opened.ps1 +++ /dev/null @@ -1 +0,0 @@ -Remove-Item $env:AppData\Microsoft\Windows\Recent\* -Recurse \ No newline at end of file diff --git a/win/config-yarn.ps1 b/win/config-yarn.ps1 deleted file mode 100644 index 11e5dc4..0000000 --- a/win/config-yarn.ps1 +++ /dev/null @@ -1,10 +0,0 @@ -yarn config set registry https://registry.npm.taobao.org --global -yarn config set disturl https://npm.taobao.org/dist --global -yarn config set sass_binary_site https://npm.taobao.org/mirrors/node-sass --global -yarn config set electron_mirror https://npm.taobao.org/mirrors/electron/ --global -yarn config set puppeteer_download_host https://npm.taobao.org/mirrors --global -yarn config set chromedriver_cdnurl https://npm.taobao.org/mirrors/chromedriver --global -yarn config set operadriver_cdnurl https://npm.taobao.org/mirrors/operadriver --global -yarn config set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs --global -yarn config set selenium_cdnurl https://npm.taobao.org/mirrors/selenium --global -yarn config set node_inspector_cdnurl https://npm.taobao.org/mirrors/node-inspector --global \ No newline at end of file diff --git a/win/npd.vbs b/win/npd.vbs deleted file mode 100644 index 90a4aaa..0000000 --- a/win/npd.vbs +++ /dev/null @@ -1,7 +0,0 @@ -Set WshShell = WScript.CreateObject("WScript.Shell") -If wscript.arguments.count <2 then - WshShell.run "nvim-qt.exe" -Else - sCmd = "nvim-qt.exe " & """" & wscript.arguments(1) & """" - WshShell.run sCmd -End If