Simplify appPath detection
Right now this is a mess and this code could definitely benefit from being simplified.
Reminder of our use cases:
From source (git)
- No Electron (Raspberry Pi)
From packaged versions (executables)
- Windows portable
- Windows installer (now similar to portable since we're not using OneClick installs anymore)