Skip to content

Instantly share code, notes, and snippets.

View jonny64bit's full-sized avatar
🥳

Jonathan Dent jonny64bit

🥳
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 = @'