• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle


  • Well, now they just make you throw out the old Mac hardware and buy new for $1299 (8gb RAM lol) because it’s now out of support for the latest MacOS and the newest versions of Adobe Suite/MS Office/insert productivity work related proprietary software suite here is on board with Apple’s bullshit and won’t run on older MacOS versions.

    The more things change, the more they stay the same.



  • Yeah, totally.

    Just imagine trying to do this with Windows Powershell, without a package manager like chocolatey to make it simple like linux…

    $workdir = "c:\installer\"
    
    If (Test-Path -Path $workdir -PathType Container)
    
    { Write-Host "$workdir already exists" -ForegroundColor Red}
    
    ELSE
    
    { New-Item -Path $workdir  -ItemType directory }
    
    $source = "https://download.mozilla.org/?product=firefox-latest&os=win64&lang=en-US"
    
    $destination = "$workdir\firefox.exe"
    
    if (Get-Command 'Invoke-Webrequest')
    
    {
    
         Invoke-WebRequest $source -OutFile $destination
    
    }
    
    else
    
    {
    
        $WebClient = New-Object System.Net.WebClient
    
        $webclient.DownloadFile($source, $destination)
    
    }
    
    Start-Process -FilePath "$workdir\firefox.exe" -ArgumentList "/S"
    
    Start-Sleep -s 35
    
    rm -Force $workdir/firefox*