Skip to content

Instantly share code, notes, and snippets.

View vRobM's full-sized avatar

Rob vRobM

View GitHub Profile
@vRobM
vRobM / Slack-Go-dARK.ps1
Created December 6, 2018 19:38
Make Slack Desktop for Windows have dARK mode using powershell.
// Ark Labs presents - Slack dARK mode
$slackBaseDir = "$env:LocalAppData\Slack"
$installations = Get-ChildItem $slackBaseDir -Directory | Where-Object { $_.Name.StartsWith("app-") }
$version = $installations | Sort-Object { [version]$_.Name.Substring(4) } | Select-Object -Last 1
Write-Output "Select highest intalled Slack version: $version";
$modAdded = $false;
$customContent = @'

Keybase proof

I hereby claim:

  • I am vrobm on github.
  • I am robm (https://keybase.io/robm) on keybase.
  • I have a public key ASC2Ke8ElOiv_tcTzy2EZxwWqY3Y0jeTRiTJxT8VY8vapAo

To claim this, I am signing this object: