diff --git a/README.fr.md b/README.fr.md index 3f7b8e0..2ff3e06 100644 --- a/README.fr.md +++ b/README.fr.md @@ -141,6 +141,8 @@ Le tri reste gratuit et illimité. **Plus**, c'est pour vos séances les plus ex Les modèles Standard sont livrés dans l'installeur : Pelli Instant fonctionne dès qu'il est installé, hors ligne compris ; ceux de la précision Maximale se téléchargent depuis l'app, avec Plus, seulement si vous la choisissez. Chaque téléchargement est accompagné de son empreinte SHA-256 (`.sha256`), et chaque version produite par le [workflow de publication](.github/workflows/release.yml) fournit un fichier `SHA256SUMS` et une [attestation de build](https://docs.github.com/actions/security-for-github-actions/using-artifact-attestations) vérifiable avec `gh attestation verify --repo Synapsr/Pelli-Instant`. +Sous Windows, [Installer sur Windows](docs/install-windows.fr.md) détaille chaque étape : l'avertissement SmartScreen, la vérification du téléchargement, les mises à jour et la désinstallation. +
Mac Intel diff --git a/README.md b/README.md index 2933cbf..5467492 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,8 @@ Sorting stays free and unlimited. **Plus** is for your most demanding shoots: ** The Standard models come inside the installer, so Pelli Instant works as soon as it is installed, offline included; the Maximum pack is downloaded from the app, with Plus, only if you choose it. Each download has its SHA-256 fingerprint next to it (`.sha256`), and every release built by the [release workflow](.github/workflows/release.yml) comes with a `SHA256SUMS` file and a [build attestation](https://docs.github.com/actions/security-for-github-actions/using-artifact-attestations) you can check with `gh attestation verify --repo Synapsr/Pelli-Instant`. +On Windows, [Install on Windows](docs/install-windows.md) goes step by step: the SmartScreen warning, checking the download, updates and uninstalling. +
Intel Macs diff --git a/docs/install-windows.fr.md b/docs/install-windows.fr.md new file mode 100644 index 0000000..f5e8a76 --- /dev/null +++ b/docs/install-windows.fr.md @@ -0,0 +1,87 @@ +# Installer Pelli Instant sur Windows + +*[English](install-windows.md)* + +Pelli Instant fonctionne sur Windows 10 et Windows 11, 64 bits (x64). Il s'installe pour votre seul compte utilisateur, sans droits d'administrateur, et ne demande aucun compte. + +1. [Télécharger l'installeur](#1-télécharger-linstalleur) +2. [Vérifier le téléchargement (facultatif)](#2-vérifier-le-téléchargement-facultatif) +3. [Lancer l'installeur et passer SmartScreen](#3-lancer-linstalleur) +4. [Mises à jour](#4-mises-à-jour) +5. [Installer avec winget (bientôt)](#installer-avec-winget-bientôt) +6. [Désinstaller](#désinstaller) + +## 1. Télécharger l'installeur + +Téléchargez **[PelliInstant-windows-x64-setup.exe](https://github.com/Synapsr/Pelli-Instant/releases/latest/download/PelliInstant-windows-x64-setup.exe)** depuis la [dernière version](https://github.com/Synapsr/Pelli-Instant/releases/latest). Il pèse environ 360 Mo : les modèles d'IA Standard sont inclus, donc Pelli Instant marche dès qu'il est installé, même hors ligne. + +Si votre navigateur dit que ce fichier n'est pas téléchargé couramment, choisissez de le conserver. Dans Microsoft Edge : **⋯ → Conserver → Afficher plus → Conserver quand même**. + + + +## 2. Vérifier le téléchargement (facultatif) + +Chaque version est fabriquée en public par le [workflow de publication](../.github/workflows/release.yml), et vous pouvez vérifier que votre fichier est bien celui qu'il a fabriqué. + +**Empreinte SHA-256.** Téléchargez [PelliInstant-windows-x64-setup.exe.sha256](https://github.com/Synapsr/Pelli-Instant/releases/latest/download/PelliInstant-windows-x64-setup.exe.sha256) dans le même dossier, ouvrez PowerShell dans ce dossier et lancez : + +```powershell +(Get-FileHash .\PelliInstant-windows-x64-setup.exe -Algorithm SHA256).Hash -eq ((Get-Content .\PelliInstant-windows-x64-setup.exe.sha256) -split '\s+')[0] +``` + +`True` veut dire que le fichier est intact. + +**Attestation de build.** Avec la [GitHub CLI](https://cli.github.com) connectée, lancez : + +```powershell +gh attestation verify .\PelliInstant-windows-x64-setup.exe --repo Synapsr/Pelli-Instant +``` + +Elle ne réussit que pour un fichier fabriqué par le workflow de publication de Pelli Instant sur GitHub. + +## 3. Lancer l'installeur + +Double-cliquez sur `PelliInstant-windows-x64-setup.exe`. + +Windows peut afficher une fenêtre bleue, **Windows a protégé votre ordinateur** : *Microsoft Defender SmartScreen a empêché le démarrage d'une application non reconnue.* Cliquez sur **Informations complémentaires**, vérifiez que l'application est `PelliInstant-windows-x64-setup.exe`, puis cliquez sur **Exécuter quand même**. L'éditeur apparaît comme *Éditeur inconnu*. + + + + +**Pourquoi cet avertissement ?** L'installeur n'est pas encore signé par un certificat de signature de code. SmartScreen avertit pour tout nouveau programme d'un éditeur qu'il ne connaît pas : l'avertissement ne veut pas dire que Windows a trouvé un problème dans le fichier. Le code de Pelli Instant est open source, l'installeur est fabriqué par le workflow de publication public, et l'[étape 2](#2-vérifier-le-téléchargement-facultatif) vérifie que votre copie est bien celle qu'il a fabriquée. Les mises à jour, elles, sont signées : l'app n'installe que celles signées avec la clé propre à Pelli Instant. + +Suivez ensuite l'installeur. Windows ne demande pas de mot de passe administrateur : Pelli Instant s'installe dans votre dossier utilisateur (`%LOCALAPPDATA%\Pelli Instant`) et dans le menu Démarrer. La dernière page propose de créer un raccourci sur le bureau. + +Pelli Instant affiche sa fenêtre avec Microsoft Edge WebView2, inclus dans Windows 11. Si un PC sous Windows 10 ne l'a pas, l'installeur le télécharge chez Microsoft : gardez internet pendant l'installation. + + + +## 4. Mises à jour + +Pelli Instant se met à jour tout seul. Quand une nouvelle version sort, l'app l'annonce avec ses nouveautés. Un clic suffit : la mise à jour est téléchargée, sa signature est vérifiée, puis une petite fenêtre de progression l'installe sans rien demander et l'app redémarre sur la nouvelle version. *Réglages → À propos* permet de vérifier à la main. Voir [Mises à jour](../README.fr.md#mises-à-jour). + +## Installer avec winget (bientôt) + +Pelli Instant n'est pas encore dans winget. Une fois son paquet accepté, cette commande l'installera depuis un terminal : + +```powershell +winget install --id Pelli.PelliInstant --exact +``` + + + +## Désinstaller + +Avant de désinstaller : + +- **Plus**, pour l'utiliser sur un autre ordinateur : *Réglages → Pelli Instant Plus → Libérer cette licence*, après avoir copié votre clé. Pour réinstaller sur le même ordinateur, il suffit de ressaisir la clé. +- **Compte Pelli** : déconnectez-vous dans l'app. La déconnexion supprime le jeton du compte du Gestionnaire d'identification de Windows ; la désinstallation, non. + +Ensuite : + +- **Windows 11 :** *Paramètres → Applications → Applications installées*, **⋯** à côté de Pelli Instant, **Désinstaller**. +- **Windows 10 :** *Paramètres → Applications → Applications et fonctionnalités*, Pelli Instant, **Désinstaller**. + +Le programme de désinstallation propose **Supprimer les données de l'application**. Cochée, cette case supprime aussi votre bibliothèque de séances triées et vos choix, les modèles de la précision Maximale si vous les avez téléchargés, et les aperçus (les dossiers `io.pelli.instant` de `%APPDATA%` et `%LOCALAPPDATA%`). Laissez-la décochée pour tout retrouver après une réinstallation. Vos photos, et les fichiers XMP et dossiers que vous avez exportés, ne sont jamais touchés. + + diff --git a/docs/install-windows.md b/docs/install-windows.md new file mode 100644 index 0000000..5a40bbc --- /dev/null +++ b/docs/install-windows.md @@ -0,0 +1,87 @@ +# Install Pelli Instant on Windows + +*[Français](install-windows.fr.md)* + +Pelli Instant runs on Windows 10 and Windows 11, 64-bit (x64). It installs for your user account only, without administrator rights, and needs no account. + +1. [Download the installer](#1-download-the-installer) +2. [Check the download (optional)](#2-check-the-download-optional) +3. [Run the installer and get past SmartScreen](#3-run-the-installer) +4. [Updates](#4-updates) +5. [Install with winget (coming soon)](#install-with-winget-coming-soon) +6. [Uninstall](#uninstall) + +## 1. Download the installer + +Download **[PelliInstant-windows-x64-setup.exe](https://github.com/Synapsr/Pelli-Instant/releases/latest/download/PelliInstant-windows-x64-setup.exe)** from the [latest release](https://github.com/Synapsr/Pelli-Instant/releases/latest). It is about 360 MB: the Standard AI models come inside, so Pelli Instant works as soon as it is installed, offline included. + +If your browser says the file isn't commonly downloaded, choose to keep it. In Microsoft Edge: **⋯ → Keep → Show more → Keep anyway**. + + + +## 2. Check the download (optional) + +Each release is built in public by the [release workflow](../.github/workflows/release.yml), and you can check that the file you have is the one it built. + +**SHA-256 fingerprint.** Download [PelliInstant-windows-x64-setup.exe.sha256](https://github.com/Synapsr/Pelli-Instant/releases/latest/download/PelliInstant-windows-x64-setup.exe.sha256) into the same folder, open PowerShell in that folder and run: + +```powershell +(Get-FileHash .\PelliInstant-windows-x64-setup.exe -Algorithm SHA256).Hash -eq ((Get-Content .\PelliInstant-windows-x64-setup.exe.sha256) -split '\s+')[0] +``` + +`True` means the file is intact. + +**Build attestation.** With the [GitHub CLI](https://cli.github.com) signed in, run: + +```powershell +gh attestation verify .\PelliInstant-windows-x64-setup.exe --repo Synapsr/Pelli-Instant +``` + +It succeeds only for a file built by Pelli Instant's release workflow on GitHub. + +## 3. Run the installer + +Double-click `PelliInstant-windows-x64-setup.exe`. + +Windows may show a blue window, **Windows protected your PC**: *Microsoft Defender SmartScreen prevented an unrecognized app from starting.* Click **More info**, check that the app is `PelliInstant-windows-x64-setup.exe`, then click **Run anyway**. The publisher shows as *Unknown publisher*. + + + + +**Why this warning?** The installer isn't signed with a code-signing certificate yet. SmartScreen warns about any new program from a publisher it doesn't know: the warning doesn't mean Windows found a problem in the file. Pelli Instant's code is open source, the installer is built by the public release workflow, and [step 2](#2-check-the-download-optional) checks that your copy is the one it built. Updates are different: the app installs only updates signed with Pelli Instant's own key. + +Then follow the installer. Windows doesn't ask for an administrator password: Pelli Instant goes into your user folder (`%LOCALAPPDATA%\Pelli Instant`) and into the Start menu. The last page offers to create a desktop shortcut. + +Pelli Instant displays its window with Microsoft Edge WebView2, which Windows 11 includes. If a Windows 10 PC doesn't have it, the installer downloads it from Microsoft, so keep the internet on while it installs. + + + +## 4. Updates + +Pelli Instant updates itself. When a new version is out, it is announced in the app with what's new. Install it in one click: the update is downloaded, its signature is checked, then a small progress window installs it without any question and the app restarts on the new version. *Settings → About* checks by hand. See [Updates](../README.md#updates). + +## Install with winget (coming soon) + +Pelli Instant isn't in winget yet. Once its package is accepted, this will install it from a terminal: + +```powershell +winget install --id Pelli.PelliInstant --exact +``` + + + +## Uninstall + +Before you uninstall: + +- **Plus**, to use it on another computer: *Settings → Pelli Instant Plus → Release this licence*, after copying your key. Reinstalling on the same computer just needs the key again. +- **Pelli account**: sign out in the app. Signing out deletes the account's token from the Windows Credential Manager; uninstalling doesn't. + +Then: + +- **Windows 11:** *Settings → Apps → Installed apps*, **⋯** next to Pelli Instant, **Uninstall**. +- **Windows 10:** *Settings → Apps → Apps & features*, Pelli Instant, **Uninstall**. + +The uninstaller offers **Delete the application data**. Ticked, it also removes your library of sorted shoots and your choices, the Maximum models if you downloaded them, and the previews (the `io.pelli.instant` folders in `%APPDATA%` and `%LOCALAPPDATA%`). Leave it unticked to find everything again after a reinstall. Your photos, and the XMP files and folders you exported, are never touched. + +