Ferdium-win-Portable Update button.
Avoid duplicates
- [X] I agree to follow the Code of Conduct that this project adheres to.
- [X] I have searched the issues tracker for a bug report similar to mine, in vain
Ferdium Version
6.7.6, 6.7.5, 6.7.4
What Operating System are you using?
Windows
Operating System Version
Windows 11, Version 23h2 (OS Build 22631.3737)
What arch are you using?
x64
Last Known Working Ferdium version
NONE
Expected Behavior
Them the update prompt indicates a new version is available, and you click the restart & install update button the latest portable exe should be downloaded for use by the user as a minimum, even better would be if it updated to the latest version, but being portable I assume there is limitation in replacing running exe's .
Actual Behavior
Currently clicking the restart & install update button does nothing.
Steps to reproduce
- download and open any Ferdium-win-Portable-6.7.X version of the app.
- wait a second for it to detect a new version, the prompt will appear at the bottom of the app.
- click the button [restart & install update button] on the update prompt on the bottom of the app.
Debug link
No response
Screenshots
No response
Additional information
If this is a known limit of portable electron apps I am happy to have the issue closed, I can create a feature request to add a download link option to the Help > About Menu , linked to latest releases git page.
I am starting to look at the update not working on portable, and really hope its not a limitation. I am testing with :
- Version: 6.7.5
- Server: No Server
- Electron: 31.1.0
- Chrome: 126.0.6478.114
- Node.js: 20.14.0
- Platform: Windows 11
- Arch: x64
- Build date: Sat Jun 29 2024 03:44:01 GMT+0200 (South Africa Standard Time)
- Git SHA: 5514cab9
- Git branch: release
Below debug output from the App shows no visible errors:
Debug Info Clean Install - before update clicked
- https://debug.ferdium.org/fe95b180-4086-4dba-ac92-3e73cc00e4ee
Debug Info Clean Install - after update clicked
- https://debug.ferdium.org/fe95b180-4086-4dba-ac92-3e73cc00e4ee
So I still don't know why but I do know its an intended behavior to ignore the updates for the portable version by design:
https://github.com/ferdium/ferdium-app/blob/develop/src/components/AppUpdateInfoBar.tsx
<InfoBar
type="primary"
ctaLabel={intl.formatMessage(messages.buttonInstallUpdate)}
onClick={event => {
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
!isWinPortable && onInstallUpdate(event);
}}
onHide={onHide}
>
Next Action remove the "not portable" filter and see what dies..
Hello @HermanRas
Automatic updates on Ferdium Portable are not supported. You should manually download the new version and run it over the old version.
In the future, we will change that same line of code to send the user to the download page to download it manually.
Thank you !
App working as designed, The update function will in future be updated to redirect portable version of the app to the latest Git Repo page, for easy download.