diff --git a/scripts/Windows/Software/Nextcloud/Manage.ps1 b/scripts/Windows/Software/Nextcloud/Manage.ps1 index 710fab67..26a9cdf7 100644 --- a/scripts/Windows/Software/Nextcloud/Manage.ps1 +++ b/scripts/Windows/Software/Nextcloud/Manage.ps1 @@ -9,32 +9,6 @@ Start-SoftwareInstaller @PSBoundParameters ` -Installer { Install-ChocoPackage nextcloud-client -ArgumentList "-y","--params='/KeepUpdateCheck'"; } ` - -Configurator { - Write-Host "Making Firefox the default browser…"; - $progIdSuffix = "-308046B0AF4A39CB"; - $appName = "Firefox"; - - $extensions = @( - ".htm", - ".html", - ".svg", - ".xht", - ".xhtml" - ); - - $schemes = @( - "http", - "https" - ); - - foreach ($extension in $extensions) { - Set-DefaultAppAssociation -Identifier $extensions -ProgId "${appName}HTML$progIdSuffix" -ApplicationName $appName; - } - - foreach ($scheme in $schemes) { - Set-DefaultAppAssociation -Identifier $scheme -ProgId "${appName}URL$progIdSuffix" -ApplicationName $appName; - } - } ` -UserConfigurator { if (-not (Test-Path $context.GetNextcloudConfigFile())) { Write-Information "Setting up Nextcloud configuration";