Devolutions / Devolutions/UniGetUI

[BUG] (Portable apps only) Installation folder changes it's name with every update

Open
#4,521 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
26.1k
Forks
924
Avg merge
15h 1m
Merged PRs (30d)
55

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- [x] I have tested that this issue has not been fixed in the latest [(beta or stable) release](https://github.com/Devolutions/UniGetUI/releases/).
- [x] I have checked the [FAQ](https://github.com/Devolutions/UniGetUI#frequently-asked-questions) section for solutions.
- [x] This issue is about a bug (if it is not, please use the [correct template](https://github.com/Devolutions/UniGetUI/issues/new/choose)).

### UniGetUI Version

3.3.7

### Windows version, edition, and architecture

Windows 10 Home 22H2 x64

### Describe your issue

When installing a portable application though WinGet, the name of a folder that got extracted from the downloaded archive can change, which often messes things up (eg. FFMPEG changes it's path with each update, so the one set in the environmental variables also has to be changed)

### Steps to reproduce the issue

1. Install any portable app (tested with FFMPEG).
2. Check the installation folder name.
3. Update said app.
4. Check the installation folder name again.

### UniGetUI Log

```text
Not necessary.
```

### Package Managers Logs

```text
Not necessary.
```

### Relevant information

This may only happen with portable apps that change archive's name/name of the folder inside of archive (eg. change version number that is added at the end of the folder/archive name of packaged app).

### Screenshots and videos

Image

This number changes with every update.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.