explaingit

jssroberto/antigravity-2-fedora-installer

11ShellAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

A shell script that installs Antigravity 2.0 on Fedora Workstation with native Wayland support, handling downloads, file placement, SELinux setup, and desktop shortcuts automatically.

Mindmap

mindmap
  root((repo))
    What it does
      Installs Antigravity 2
      Enables native Wayland
      Fixes blurry text
    Install modes
      System-wide install
      User home install
      Dry run option
    Tech involved
      Shell script
      Fedora Wayland
      SELinux
    Extras
      Desktop shortcut
      Terminal launcher
      Uninstall script
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Install Antigravity 2.0 on Fedora Workstation with native Wayland mode to eliminate blurry text and sluggish graphics.

USE CASE 2

Run Antigravity 1.x and 2.0 side by side on the same Fedora machine.

USE CASE 3

Install the app for your user account only, with no administrator password needed.

USE CASE 4

Do a dry run to verify your system meets all prerequisites before making any changes.

Tech stack

ShellFedoraWaylandSELinuxGNOME

Getting it running

Difficulty · easy Time to first run · 5min

Requires Fedora Workstation with Wayland, run with --dry-run first to confirm prerequisites are met.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

This repository contains a shell script that installs Antigravity 2.0, a standalone application, on Fedora Workstation running the Wayland display system. The script handles downloading, verifying, and placing the application files in the right locations, then sets up the desktop launcher and command-line shortcut so the app can be opened normally. Fedora uses Wayland as its default graphics environment, and applications built on the Chromium browser engine sometimes run through a compatibility layer called XWayland when not configured for native Wayland support. Running through that compatibility layer can cause blurry text and sluggish graphics. This installer automatically adds the startup flags needed to run Antigravity in native Wayland mode, which eliminates those issues. The installer offers two installation modes. The default mode installs system-wide under shared directories and requires your administrator password. The user mode installs everything in your home directory without needing any elevated permissions. Both modes result in a working desktop shortcut and a command you can type in a terminal to launch the app. A dry-run option lets you verify that your system meets the prerequisites and that the download works before committing any changes to disk. Fedora also enforces SELinux, a security system that controls which files programs can access. The installer runs the appropriate command after placing files to ensure Fedora's security policies apply correctly to the installed application. The README also documents how to run both Antigravity 1.x and Antigravity 2.0 side by side on the same machine, including a known limitation where both versions share the same identifier in the GNOME taskbar. An uninstall script is included to cleanly remove all files for both installation modes. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Write me a Fedora shell installer script that downloads an app, sets Wayland startup flags, fixes SELinux context, and creates both a desktop shortcut and a terminal command.
Prompt 2
Add a dry-run mode to my Fedora installer that checks prerequisites and tests the download without writing any files to disk.
Prompt 3
How do I set native Wayland flags for a Chromium-based app on Fedora so it does not run through XWayland and cause blurry text?
Prompt 4
Write a clean uninstall script that removes all files placed by a Fedora installer, covering both system-wide and user-mode installs.
Open on GitHub → Explain another repo

← jssroberto on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.