Prevent creation of desktop icon for firefox
This commit is contained in:
parent
32030e1455
commit
06f8394423
3 changed files with 13 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
. "$PSScriptRoot/Upgrade.ps1";
|
||||
. "$PSScriptRoot/User.ps1";
|
||||
. "$PSScriptRoot/../Scripts/Context.ps1";
|
||||
. "$PSScriptRoot/../Software/Firefox/Install.ps1";
|
||||
|
||||
function Invoke-WindowsInstallation([Context] $context)
|
||||
{
|
||||
|
@ -16,7 +17,8 @@ function Invoke-WindowsInstallation([Context] $context)
|
|||
Install-Module -AcceptLicense -Force "NuGet";
|
||||
Import-Module NuGet;
|
||||
|
||||
choco install -y firefox selenium-gecko-driver;
|
||||
Install-Firefox $context;
|
||||
choco install -y selenium-gecko-driver;
|
||||
Install-Package -Force Selenium.WebDriver -SkipDependencies;
|
||||
|
||||
$context.Set("SoftwarePrerequisitesInstalled", 1, "DWord");
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../Scripts/Context.ps1";
|
||||
. "$PSScriptRoot/../Scripts/PersonalFiles.ps1";
|
||||
· "$PSScriptRoot/../Software/Firefox/Install.ps1";
|
||||
. "$PSScriptRoot/../Software/Nextcloud/Manage.ps1";
|
||||
. "$PSScriptRoot/../Collections/Personal.ps1";
|
||||
|
||||
|
@ -31,7 +32,7 @@ function Restore-WindowsInstallation([Context] $context) {
|
|||
}
|
||||
}
|
||||
|
||||
choco install -y firefox;
|
||||
Install-Firefox $context;
|
||||
Restore-Nextcloud $context;
|
||||
|
||||
Write-Information "Determining Backup Archive Path";
|
||||
|
|
8
scripts/Windows/Software/Firefox/Install.ps1
Normal file
8
scripts/Windows/Software/Firefox/Install.ps1
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
function Install-Firefox {
|
||||
param([Context] $context)
|
||||
Write-Host "Installing Firefox";
|
||||
choco install -y firefox --params "/NoDesktopShortcut";
|
||||
}
|
Loading…
Reference in a new issue