1.1 KiB
1.1 KiB
OpenAsar
Open-source alternative of Discord desktop's app.asar
Goals
- Hotpluggable - just swap the asar file, nothing else needed
- Lightweight - it should be at least as fast or lightweight, hopefully more
- No Tracking - no crash reporting, error tracking, etc
- Minimal - generally only doing what is needed (see: implementation)
Implementation
Below is a list in order of priority, marked as complete when finished:
- Bootstrapping
- Splash screen
- Error handling
- A bunch of specific minor fixes / features
- Handle hardware acceleration
- Auto start
- First run
- Self-write updater code (currently mostly copied)
- Self-write some small parts of internals
Install Guide
OpenAsar is heavily disrecommened due to it being in early development.
- Clone repo
- NPM install in
src
dir (cd src; npm i
) - Pack into
app.asar
viaasar
NPM package -asar pack src app.asar
- Backup your original
app.asar
(rename toapp.asar.backup
/ etc) - Install OpenAsar
app.asar
into the original path