Skip to content

milolav/portable-electron-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portable Electron patch

Script modifies the /browser/init.js inside electron.asar by adding the --portable-profile-dir argument and setting the userData and userCache folders to that path.

If electron app does not use app.getPath('appData') somewhere else in the code it can be run as a portable application.

Usage

  Usage: portable-electron-patch <your_electron_asar>
  Example: portable-electron-patch E:\WhatsApp\resources\electron.asar

More info

Making WhatsApp desktop application portable

License

MIT

About

Patch electron.asar to provide portability for some apps.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors