I just created Zotero 5 portable (https://portableapps.com/node/56957), and I have a problem with it. At each launch, even if the datadir is specified to be in the Portableapp folder, it create data in %appdata%\Zotero. I downloaded a template and modified launcher ini, but I cannot find the right settings...
If I delete this folder, Zotero runs like it's the first time, and opens an url in the default browser. User data is safe though.
As Zotero 5 is based on Firefox, I suppose it needs to be portablized the way Firefox is... Is there someone here that could explain to me how firefox is portablized? Is it with DirectoriesMove section in Launcher ini?