Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Heppo

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Heppo got a reaction from rwgs in Install 7-Zip with PowerShell   
    The Script now installs the latest Version of 7 Zip by by reading the Releasenumber from SourceForge. It now Accepts Spaces at the workdirectory, and writes What its Doing to the User.
     
     
    #Requires -Version 5.0 Write-Verbose "Getting latest Version" -Verbose class SourceForge { [string] $Project = $Null [PSCustomObject]$LatestRelease = $Null SourceForge([string] $project) { $this.Project = $project $this.GetLatestRelease() } [void] GetLatestRelease() { $originalSecurityProtocol = [Net.ServicePointManager]::SecurityProtocol [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $this.GetLatestRelease('https://sourceforge.net/projects/{0}/best_release.json') [Net.ServicePointManager]::SecurityProtocol = $originalSecurityProtocol } [void] GetLatestRelease([string] $url) { $url = $url -f @($this.Project) Write-Debug "[SourceForge].GetLatestRelease URL: ${url}" $this.LatestRelease = ConvertFrom-Json (Invoke-WebRequest $url -UseBasicParsing).Content } [string] LatestVersion() { if (-not $this.LatestRelease) { $this.GetLatestRelease() } return $this.LatestRelease.release.filename.Split('/')[2] } [hashtable] LatestHash() { if (-not $this.LatestRelease) { $this.GetLatestRelease() } return @{ 'Algorithm' = 'MD5'; 'Hash' = $this.LatestRelease.release.md5sum.ToUpper(); } } } $7zip = [SourceForge]::new('sevenzip') $Version = $7zip.LatestVersion() # get Numbers from String $Version = $Version -replace("[^\d]","") # Silent Install 7-Zip # http://www.7-zip.org/download.html # Path for the workdir $workdir = 'C:\Installer' Write-Verbose "Creating Working Directory: $workdir" -Verbose # Check if work directory exists if not create it If (!(Test-Path -Path $workdir -PathType Container)) { New-Item -Path $workdir -ItemType directory } # Download the installer Write-Verbose "Downloading 7-Zip Version $Version" -Verbose $source = "http://www.7-zip.org/a/7z$Version-x64.exe" $destination = "$workdir\7-Zip.exe" # Check if Invoke-Webrequest exists otherwise execute WebClient if (Get-Command 'Invoke-Webrequest') { Invoke-WebRequest $source -OutFile $destination } else { $WebClient = New-Object System.Net.WebClient $webclient.DownloadFile($source, $destination) } Invoke-WebRequest $source -OutFile $destination # Start the installation Write-Verbose "Install 7-Zip Version $Version" -Verbose $UnattendedArgs='/S' $File='"' + $workdir + '\7-zip.exe"' (Start-Process $File $UnattendedArgs -Wait -Passthru).ExitCode # Remove the installer Write-Verbose "Delete Working Directory" -Verbose Remove-Item $workdir -Recurse -Force  
     
     

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.