Remove duplicate code
This commit is contained in:
parent
5aa19c89e9
commit
a87ea25c15
1 changed files with 0 additions and 26 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue