Skip to content

chrisbasse/TanoeGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

TanoeGUI

🇫🇷 Français | 🇺🇸 English


🇫🇷 Version Française

GUI pour le script Tanoe.

Tanoe est un petit utilitaire open source destiné aux Macs non officiellement supportés par Apple (souvent avec OpenCore Legacy Patcher / OCLP) ainsi qu’aux machines virtuelles macOS.

Son objectif est de bloquer les mises à jour majeures de macOS (comme Tahoe, Sequoia, etc.) qui apparaissent souvent automatiquement sur les Macs patchés ou virtualisés, même quand elles ne sont pas souhaitées.

En revanche, les mises à jour de sécurité, Safari, les outils Xcode et les autres petits correctifs continuent de fonctionner normalement.

Le script tanoe est embarqué tel quel dans le bundle. L'app ne fait qu'appeler sudo tanoe on/off/status et afficher le stdout dans une zone de log.

Architecture

TanoeGUI.app/
└── Contents/
    ├── MacOS/TanoeGUI          ← binaire Swift
    └── Resources/
        └── tanoe               ← script zsh original, intact

Au lancement, le script est copié dans ~/Library/Application Support/TanoeGUI (les Resources du bundle sont en lecture seule). macOS affiche sa boîte de dialogue de mot de passe standard via osascript with administrator privileges.

Utilisation

  • Block (on)sudo tanoe on ajoute la règle au fichier hosts
  • Unblock (off)sudo tanoe off supprime la règle du fichier hosts
  • sudo tanoe status lecture du fichier hosts
  • La zone de log affiche tout le stdout/stderr du script, avec l'heure

Notes

  • Il faut les droits administrateur car le script modifie /etc/hosts
  • Le script original n'est pas modifié
  • Un backup de /etc/hosts est réalisé côté Swift avant chaque appel au script, sauvegardé dans ~/Library/Application Support/TanoeGUI/hosts.backup.<timestamp>
  • L'application n'est pas signée par Apple

Depuis le Finder

Vous devrez lancer l’application via un clic droit → Ouvrir et confirmer manuellement dans les Préférences de sécurité.

Depuis le Terminal

codesign --force --deep --sign - /chemin/vers/votreApp.app
xattr -d com.apple.quarantine /chemin/vers/votreApp.app

Depuis Sentinel (glisser-déposer)

Il vous suffit de glisser votre application dans la fenêtre Sentinel : https://github.com/alienator88/Sentinel


🇺🇸 English Version

GUI for the Tanoe script.

Tanoe is a small open-source utility designed for Macs that are not officially supported by Apple (commonly using OpenCore Legacy Patcher / OCLP) as well as macOS virtual machines.

Its purpose is to block major macOS upgrades (such as Tahoe, Sequoia, etc.) that often appear automatically on patched or virtualized Macs, even when they are not desired.

Security updates, Safari updates, Xcode tools, and other minor patches continue to work normally.

The tanoe script is bundled as-is inside the application. The app simply calls sudo tanoe on/off/status and displays the stdout output inside a log area.

Architecture

TanoeGUI.app/
└── Contents/
    ├── MacOS/TanoeGUI          ← Swift binary
    └── Resources/
        └── tanoe               ← original zsh script, untouched

At launch, the script is copied to ~/Library/Application Support/TanoeGUI (bundle Resources are read-only). macOS displays the standard password prompt using osascript with administrator privileges.

Usage

  • Block (on)sudo tanoe on adds the rule to the hosts file
  • Unblock (off)sudo tanoe off removes the rule from the hosts file
  • sudo tanoe status reads the hosts file status
  • The log area displays all stdout/stderr output from the script with timestamps

Notes

  • Administrator privileges are required because the script modifies /etc/hosts
  • The original script is not modified
  • A backup of /etc/hosts is created by the Swift app before each script execution and stored in ~/Library/Application Support/TanoeGUI/hosts.backup.<timestamp>
  • The application is not signed by Apple

From Finder

You will need to launch the application using right-click → Open and manually confirm it in Security Preferences.

From Terminal

codesign --force --deep --sign - /path/to/yourApp.app
xattr -d com.apple.quarantine /path/to/yourApp.app

Using Sentinel (drag & drop)

Simply drag your application into the Sentinel window: https://github.com/alienator88/Sentinel

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors