blueprint-freespeech / ricochet-refresh

Anonymous peer-to-peer instant messaging
https://www.ricochetrefresh.net
Other
157 stars 27 forks source link

Profile is saved to wrong place in version 3.0.10 #124

Closed pospeselr closed 2 years ago

pospeselr commented 2 years ago

In our effort to migrate the profile from next to the exe by default (eg portable profile by default), we migrated to the wrong place: QStandardPaths::AppLocalDataLocation (which is per-application data) rather than QStandardPaths::AppConfigLocation (which is per-user per-applicationdata).

We should update the profile migration logic to silently move from AppLocalData to AppConfig to support platforms where AppLocalData is not writable (cough AppImage)

pospeselr commented 2 years ago

Fixed in https://github.com/blueprint-freespeech/ricochet-refresh/commit/a4582a7fc58b96f6f0a737baa28b4dbef8c965d6