Created
November 8, 2024 08:07
-
-
Save flameleo11/04997f7057be0ba4f75529b8a2da1a3e to your computer and use it in GitHub Desktop.
Cursor Editor AppImage - Replaces VS Code on Linux without symlinks, handles auto-updates seamlessly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
start_appimage() { | |
APP_DIR="$1" | |
APP_PATH=$(find "$APP_DIR" -name "*.AppImage" -type f | head -n 1) | |
chmod +x "$APP_PATH" | |
"$APP_PATH" & | |
} | |
start_appimage "/drive_d/app/cursor" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cursor AppImage Launcher
cursor-editor-appimage-auto-launcher.sh
======================
A shell script to automatically launch the latest version of Cursor editor (AppImage)
Key Features:
Note: Why Not Symlinks?
Symlinks break after Cursor auto-updates due to
new AppImage filenames being generated