notesnook icon indicating copy to clipboard operation
notesnook copied to clipboard

Windows portable app is not portable

Open streetwriters[bot] opened this issue 1 year ago • 2 comments

Windows portable version has 2 flaws:

  1. While not logged in, when transferring a folder to another PC, an error appears: TRPCClientError: Error while decrypting the ciphertext provided to safeStorage.decryptString.

  2. In the current implementation, the portable binary is first unpacked into a user's temporary folder and then launched. This causes unnecessary writes to disk. Ideally, the binary should launch itself without unpacking.

Device information: App version: 3.0.4-e058e3b-desktop-beta OS: Windows 10 64-bit Browser: Electron 28.2.1β Pro: false

streetwriters[bot] avatar Feb 25 '24 11:02 streetwriters[bot]

  1. I think we can disable encrypting user's database with the system specific encryption key for portable mode.
  2. Not possible. The application is portable but it still needs to be unpacked somewhere in order to run. This is out of our hands.

thecodrr avatar Feb 26 '24 06:02 thecodrr

The second one is not that important if to leave the program running. Therefore, the solution of the first one is satisfactory. Thank you

ww-9 avatar Feb 26 '24 11:02 ww-9

This is fixed in latest beta.

thecodrr avatar Mar 09 '24 11:03 thecodrr