dennisameling / Signal-Desktop

Signal — Private Messenger for Windows, Mac, and Linux
https://signal.org/download
GNU Affero General Public License v3.0
130 stars 5 forks source link

Is there a way to migrate the DB to your version? #7

Closed wormeyman closed 2 years ago

wormeyman commented 2 years ago

It's neat that they can run side by side but I don't want to have to go to the intel version for my message history.

stefandesu commented 2 years ago

I did it today by renaming ~/Library/Application Support/Signal to ~/Library/Application Support/Signal Unofficial while both apps are closed. Then open Signal Unofficial (which I then renamed to "Signal") and it should simply work as intended without having to relink the app or anything.

Disclaimer: No guarantee that it will work. This simply worked for me and I'm going to keep using this version because it starts 3-4x faster than the official client. Instead of renaming, you could duplicate the folder, then delete the old folder after you made sure it works.

wormeyman commented 2 years ago

Thanks I ended up doing it the other way around after you got me pointed in the right direction.

  1. Downloaded and installed latest Signal Unofficial
  2. Navigated to ~/Library/Application Support/
  3. Duplicated the Signal folder
  4. Renamed it to Signal Unofficial
  5. Removed Signal official from my dock and swapped in the signal unofficial into my dock and i'm enjoying the improved speeds.

Possible one liner for future users: mv ~/Library/Application\ Support/Signal\ Unofficial ~/Library/Application\ Support/Signal\ UnofficialBACKUP && cp -R -v ~/Library/Application\ Support/Signal ~/Library/Application\ Support/Signal\ Unofficial

  1. This backups the signal unofficial folder
  2. Then it overwrites the signal unofficial folder with the signal folder.
dennisameling commented 2 years ago

Thanks for reporting back here! That looks like a good solution. I saw that someone made a script to automate this process, but the one-liner @wormeyman posted looks even simpler and more convenient 👍🏼

wormeyman commented 2 years ago

Should we add this to the readme or the wiki or anything?