diff --git a/Batch/AppXPackages.ps1 b/Batch/AppXPackages.ps1 index 34e28eb..10291a7 100755 --- a/Batch/AppXPackages.ps1 +++ b/Batch/AppXPackages.ps1 @@ -1,6 +1,6 @@ # Get-AppxPackage, Get-AppxProvisionedPackage -Write-Output "AppxPackage" +Write-Output " AppxPackages" Write-Output "======================" #Get-AppxPackage -AllUsers @@ -8,10 +8,10 @@ Get-AppxPackage -Allusers * | Select Name, PackageFullName #Get-AppxPackage *Windows.DevHome* | Remove-AppxPackage #Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name "*Windows.DevHome*" | Remove-AppxPackage -#Get-appxprovisionedpackage -online | where-object {$_.packagename -like '*Windows.DevHome*'} | remove-appxprovisionedpackage -online +#Get-appxProvisionedPackage -online | where-object {$_.packagename -like '*Windows.DevHome*'} | remove-appxprovisionedpackage -online -Write-Output "AppxProvisionedPackage" -Write-Output "======================" +Write-Output "AppxProvisionedPackages" +Write-Output "=======================" Get-AppxProvisionedPackage -online | select PackageName diff --git a/Batch/setAudioDevice.sh b/Batch/setAudioDevice.sh index ae95953..8a9aa32 100755 --- a/Batch/setAudioDevice.sh +++ b/Batch/setAudioDevice.sh @@ -10,7 +10,9 @@ SVCL="/d/bin/NirsoftLauncher/NirSoft/svcl.exe" RENDER_DEVICES=$($SVCL /scomma | grep "Device,Render" | cut -d "," -f1) if [ $# -eq 0 ]; then - echo -e "Available audio devices:\n$RENDER_DEVICES" + echo "Usage: $(basename $0) [devicename]" + echo "Available audio devices:" + echo "$RENDER_DEVICES" exit 0; fi diff --git a/Batch/vid2ani.sh b/Batch/vid2ani.sh index aaf8127..a6e0fa1 100755 --- a/Batch/vid2ani.sh +++ b/Batch/vid2ani.sh @@ -37,7 +37,7 @@ if [[ ! -f "$input" ]]; then fi # Fix paths for Cygwin and create working directory -if [[ "$(uname -o)" == "Cygwin" ]]; then +if [[ "$(uname)" == *"CYGWIN"* ]]; then # Use Windows-compatible directories for Cygwin input=$(cygpath -w "$input") output=$(cygpath -w "$output")