Romanitho / Romanitho/WingetIntunePackager
Cant remove app image
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 92
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
I have tested this and it appears that this line https://github.com/Romanitho/WingetIntunePackager/blob/7ee97bef0063ba5b4c41250860e13eb9dd1adf39/sources/WingetIntunePackager.ps1#L690 does not work correctly. If anapp got search previously and an image was downloaded, the image cant be removed and therefore the whole folder will persist.
This might be an issue, if you want to create a second app after the first one, as the image cant be replaced by a new app.
If running the script directly through powershell, the image cant be deleted, not even manually, without completly closing the powerhell windows that was used to execute the image.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in sources/WingetIntunePackager.ps1 at line 690 and reproduce the flow described: search for an app, download its image, then try to create another app or remove the image while PowerShell remains open. Done means the image and its folder can be removed or replaced without closing the PowerShell window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100