Skip to content

ludios/electron-repair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-repair

This program patches Signal-Desktop to:

This repository is CC0-licensed and can be used as a template for customizing other Electron programs.

Usage

First, install git, nodejs (18 or 20), and pnpm.

git clone https://github.com/ludios/electron-repair
cd electron-repair
pnpm install --ignore-scripts --no-optional
node patch-signal-desktop.js PATH_TO_SIGNAL_DESKTOP

where PATH_TO_SIGNAL_DESKTOP is e.g. %LOCALAPPDATA%\Programs\signal-desktop.

This will back up resources/app.asar to resources/app.asar.orig (if it doesn't already exist) and then patch and overwrite resources/app.asar.

Annoyances not patched here that you can fix by other means

Change the setting in the Preferences:

File -> Preferences... -> Chats -> Sent media quality -> High

Smooth scrolling is slower than desired

Add --disable-smooth-scrolling to the arguments in your Signal shortcut.

DevTools are missing

Add --enable-dev-tools to the arguments in your Signal shortcut.

Lack of GPU acceleration on your ancient laptop

Add --ignore-gpu-blocklist to the arguments in your Signal shortcut.

About

patches Signal-Desktop to be less annoying; a demonstration of modifying and repacking an .asar in an Electron application

Resources

License

Stars

Watchers

Forks