SyMenu Forum

SyMenu

 

HomeTroubleshooting & Bug Reports

If you found a bug post here your report.

Joplin Portable not able to start from SyMenu Messages in this topic - RSS

QQQQ
QQQQ
Posts: 5


05/04/2022
QQQQ
QQQQ
Posts: 5
Hi all,

When trying to open JoplinPortable from SyMenu the process seems to start (according to the task manager), but the process almost immediately close. When run the application directly from its directory using windows file explorer the application run as usual.

Does anyone know what can be the problem?


Thanks for helping.
link
Gianluca
Gianluca
Administrator
Posts: 1274


06/04/2022
Gianluca
Gianluca
Administrator
Posts: 1274
Hi QQQQ,
SyMenu doesn't do anything special opening Joplin. You should get the same effect as you launch it with file explorer.
Unless... you haven't changed the default item configuration.

To check the item configuration try these steps:


- Go to the SyMenu Configuration and search for Joplin;
- Select the item;
- The path should point to the file [...]\Joplin_sps\JoplinPortable.exe;

- The Additional params (in the form bottom part) should be empty;
- The Advanced tab should be empty again;
- The right hand side of the form should have all checkboxes unchecked;
- Launch it normally (not elevated, not with an alternative user).

Then please report the outcome.
link
QQQQ
QQQQ
Posts: 5


06/04/2022
QQQQ
QQQQ
Posts: 5
Yes, you are right, the below parameters seems to appear after the last update (also when the app stop working):
Advance tab --> Enable advanced parameter --> Environment Variable
USERPROFILE=.\USERPROFILE


Disable the environment variable solve the issue

Thanks
link
Gianluca
Gianluca
Administrator
Posts: 1274


06/04/2022
Gianluca
Gianluca
Administrator
Posts: 1274
I don't see anything strange in the SPS but, since we are speaking about that, we can go a little deeper.

The environment variable redefinition is correct by itself.

Joplin is an Electron app and this kind of app is really easy to redirect from the Appdata folder to a custom folder.
Why is the redirection a good thing in general? Because this way you have the program and the user data located in the same folder with predictable relative paths. It means portability! It means that you won't lose your data when you reinstall a clean version of Windows if you backed up the entire SyMenu folders.

The Electron apps can be easily redirected but they need to find the right folders in the new place to work.
With a redirection like yours (USERPROFILE=.\USERPROFILE) the program is expecting to find this folders inside the Joplin root:
.\USERPROFILE\AppData\Roaming
If it finds these ones, it creates a further Joplin folder inside the fake Roaming and writes inside that all your data.

Well if you want to experiment, please backup your data before!!!!

edited by Gianluca on 07/04/2022
link



UGMFree © 2002-2024
PayPal BTC TON