This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prerequisites: Node.js | |
# Node.js can be installed using brew (https://brew.sh/) by running: | |
# brew install node | |
sudo echo "Killing Slack" | |
kill -9 $(ps aux | grep 'Slack' | awk '{print $2}') | |
echo "Installing asar" | |
npm install -g asar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on: slack_rtl_support_mac.sh By Oren Yomtov: https://gist.github.com/orenyomtov/3d0f2412afa1c4a9eb207d3d4310e988 | |
# Tested on Win10 | |
# Prerequisites: Node.js | |
# Node.js can be downloaded from: https://nodejs.org/en/download/ | |
# if can't run scripts, open powershell an run: | |
# cat path/to/script.ps1 | powershell | |
Write-Output "Getting Slack Directory" | |
$slackdir = Get-Process -name 'slack' | Select-Object -First 1 | Select -ExpandProperty "path" | Split-Path |