Skip to content

Instantly share code, notes, and snippets.

@knzm
Last active March 12, 2019 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knzm/6447ffb745e21d97d16ff3460935d095 to your computer and use it in GitHub Desktop.
Save knzm/6447ffb745e21d97d16ff3460935d095 to your computer and use it in GitHub Desktop.
Replace style.css in Jasper.app to fix broken layout
# install asar
npm install -g asar
# extract, patch, then pack
mkdir out
asar extract /Applications/Jasper.app/Contents/Resources/app.asar out/
cd out
curl -s https://patch-diff.githubusercontent.com/raw/jasperapp/jasper/pull/85.diff | patch -p1
cd ..
asar pack out app.asar
# overwrite app.asar
cp app.asar /Applications/Jasper.app/Contents/Resources/
@knzm
Copy link
Author

knzm commented Mar 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment