gitui-org / gitui-org/gitui

Make a windows installer and winget package rinnable by non-admins

Ouverte
#2,437 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
feature-request windows
Langage dominant
Rust
Étoiles
22.5k
Forks
773
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**Is your feature request related to a problem? Please describe.**

Currently it is not possible to install gitui on windows with a regular user.

I suppose that being an admin is not an hard requirement to install this program, and it could be enough to install it to `%localappdata%\programs`.

**Describe the solution you'd like**

Since it seems that the cargo-wix, and in general the MSI packages, are [not tailored for regular-users installs](https://github.com/volks73/cargo-wix/issues/297), I propose to switch to Innosetup and [its github action](https://github.com/marketplace/actions/inno-setup-action).
This will create a .exe installer, that [can handle both admin and non-admin installs](https://jrsoftware.org/ishelp/index.php?topic=admininstallmode).

The winget package definition should then be adapted to use this installer and to add the user scope for non-admin installations

**Describe alternatives you've considered**

Manually download the windows .tar.gz and put it in a folder in PATH.
I've just done it but it's not the best user experience having to do this manually each time.

**Additional context**

As I can see from Komac documentation, InnoSetup is supported and should detect the two scopes

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Inspectez d’abord le packaging cargo-wix/MSI existant et la définition du package winget. Comparez la GitHub Action Inno Setup proposée et la prise en charge de Komac, puis vérifiez que l’installeur obtenu prend en charge les installations avec et sans droits d’administrateur et que winget peut sélectionner la portée utilisateur.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github-actions, rust
Domaine
build-system, release
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.