hhanh00 / zwallet

Zcash and Ycash light shielded wallet
https://ywallet.app
MIT License
42 stars 20 forks source link

After upgrade of macos version, accounts are missing #72

Closed hhanh00 closed 1 year ago

hhanh00 commented 1 year ago

Subject of the issue

App shows the "New Wallet" page after upgrading from 1.3.5 to 1.3.6.

Your environment

Steps to reproduce

Expected behaviour

Account should be migrated

Actual behaviour

New account page

hhanh00 commented 1 year ago

From version 1.3.6 onward, YWallet is signed and notarized. This removes the "Apple can’t check app for malicious software" pop up and allow smooth installation. However, it removes the sandbox and changes the home directory. The old wallet files are in the old location.

To copy them to the new location, run

cp -r $HOME/Library/Containers/me.hanh.ywallet/Data/databases $HOME/Library/Application\ Support/me.hanh.ywallet 

or use the Finder

luckytokidoki commented 1 year ago

An issue similar to this is also present with the flatpak build for v1.3.6 Tested on Ubuntu 20.04

hhanh00 commented 1 year ago

Flatpak and flathub have different sandboxes.

luckytokidoki commented 1 year ago

I have been upgrading the app by downloading and installing the flatpak file from ywallet.app When I upgrade to 1.3.6, my wallet is not detected. As soon as I installed the 1.3.3 version, it worked again.

Did 1.3.6 change the sandbox from flatpak default to flathub default? Or, do you mean that if I install the app through flatpak and flathub, I will have different sandbox? To be clear, I have only been installing the flatpak files downloaded from the website.