Update
This commit is contained in:
parent
5fd37353ab
commit
d1cd4ebae9
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user