panaceya / winbox

Snap package with winbox from MikroTik (https://mikrotik.com)
https://snapcraft.io/winbox
94 stars 28 forks source link

Keep last connection data persistent #7

Closed gil-obradors closed 2 months ago

gil-obradors commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I think last connection info can be found drive_c/users/<user>/Application\ Data/Mikrotik/Winbox/settings.cfg.vi Could be fine to persist this file

Describe the solution you'd like A clear and concise description of what you want to happen. I don't know how snap works. May be the file must be copied at start and saved to user local snap persistent dir of this app ?

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

The log of winbox without snap:

saving settings to .\viw2dc9.tmp... for C:\users\gil\Application Data\Mikrotik\Winbox\settings.cfg.viw
[..]
loadConfig C:\users\gil\Application Data\Mikrotik\Winbox\Addresses.cdb
[...]
saving settings to .\viwc5be.tmp... for C:\users\gil\Application Data\Mikrotik\Winbox\settings.cfg.viw

Addresses is working fine, is only the last connection data imatge

akoscomp commented 2 years ago

I have the same problem with this version of winbox. Before I use winbox run directly with wine, and works well. When I switch to this snap version the winbox don't keep the connection data.

HonzaCZ commented 1 year ago

I suggest closing this ticket because my pull request #33 has resolved this issue.