notion-enhancer / notion-repackaged

notion executables with the notion-enhancer embedded & a vanilla port of the official app to linux
https://notion-enhancer.github.io/getting-started/installation
MIT License
908 stars 52 forks source link

portable installations #93

Open dragonwocky opened 2 years ago

dragonwocky commented 2 years ago

What makes the feature necessary?

Portable apps could be run off a USB etc. rather than having to be properly installed (useful if you don't have much storage space or are regularly transferring between multiple computers e.g. for school or work).

How would the feature work?

Adding portable to the array of Windows targets and letting electron-builder handle the rest should work. notion-enhancer mostly relies on paths contained within the app for assets/scripts. The only issue might be the ~/.notion-enhancer folder... not sure if there's a way to do e.g. environment.build === 'portable' within the app to use a different location, or if there's another location that would work for both portable & normal installations to have the file instead?