FOSSEE / eSim

This repository contain source code for new flow of FreeEDA now know as eSim
GNU General Public License v3.0
84 stars 72 forks source link

Auto-detecting the previously installed eSim version #227

Open Eyantra698Sumanto opened 1 year ago

Eyantra698Sumanto commented 1 year ago

Description

The current eSim installer does not detect the previously installed eSim version.

This causes various path problems and problems with rewriting the files.

Expected behavior

The installer should be able to detect the previously installed eSim.

Ask the user whether to remove it or not.

If the user permits, the previously installed eSim must be removed completely and then the installation of the new version of eSim must begin.

Version and OS

saicharan0112 commented 1 year ago

This part can be useful I guess - https://github.com/FOSSEE/eSim/blob/installers/Ubuntu/install-eSim.sh#L374. If these locations have any eSim traces, a message can be printed for the user confirmation and perform uninstallation part of the same script and begin the new version installation. @Eyantra698Sumanto What do you say?

Eyantra698Sumanto commented 1 year ago

@saicharan0112 Thanks for letting me know. However, this issue is basically for the Windows OS...