slack theme, dark theme for slack, black theme slack black theme
npm i -g npx
npm i -g asar
Make sure you have Npm / Node already installed in your computer.
It requires you have nodejs and the asar package installed globally with npm i -g asar
Please have NodeJS Installed.
There are fonts used in this theme and the script will download and install them if they are not in your fonts folder.
You must have Powershell 5.0, aka Windows 10 to get full compatibility. If you don't have Windows 10 install the latest powershell for Windows.
When running this script always run powershell in Adminstrator Mode. Hit your windows start button then type powershell
, right click powershell, then Run as administrator
.
Note:
refreshenv
while in powershell and run the install command below without closing/restarting powershell.To install theme just open powershell as administrator (Refer to #4 above) and run this command below.
iex (new-object net.webclient).downloadstring('https://raw.githubusercontent.com/caiceA/slack-black-theme/master/slack-dark-mode.ps1')
If you get an error when you try and run the install command above you might need to change the execution policy (i.e. enable Powershell). You need to be an administrator on your computer to do this.
Open powershell(Refer to #4 above) and run this command: Set-ExecutionPolicy RemoteSigned -scope CurrentUser
If you happen to get this error. While the command npx asar extract app.asar app.asar.unpackedcustom
has run:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "...\AppData\Roaming\npm-cache\_npx\*****" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! "C:\Users\...\AppData\Roaming\npm-cache\_logs\**********-debug.log
Install for asar@latest failed with code 1"
Please enter this: npm config set cache C:\tmp\nodejs\npm-cache --global
-- Origin
caiceA - Maintainer & Designer