Merge pull request #248 from queler/win7

Support old windows versions
This commit is contained in:
Oskar Manhart 2024-09-09 15:49:32 +02:00 committed by GitHub
commit 07817afe0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -329,6 +329,8 @@ Write-Output 'ICONS=()'
# Search for installed applications.
AppSearchWinReg # Windows Registry
AppSearchUWP # Universal Windows Platform
if (Get-Command Get-AppxPackage -ErrorAction SilentlyContinue){
AppSearchUWP # Universal Windows Platform
}
AppSearchChocolatey # Chocolatey Package Manager
AppSearchScoop # Scoop Package Manager

View File

@ -1621,8 +1621,8 @@ function waInstall() {
waFindInstalled
# Install the WinApps bash scripts.
$SUDO ln -s "./bin/winapps" "${BIN_PATH}/winapps"
$SUDO ln -s "./setup.sh" "${BIN_PATH}/winapps-setup"
$SUDO ln -sf "${SOURCE_PATH}/bin/winapps" "${BIN_PATH}/winapps"
$SUDO ln -sf "${SOURCE_PATH}/setup.sh" "${BIN_PATH}/winapps-setup"
# Configure the Windows RDP session application launcher.
waConfigureWindows