mirror of
https://github.com/aljazceru/omakub.git
synced 2025-12-17 12:34:21 +01:00
Merge pull request #379 from alanmaciel/cursor-ai-editor
Cursor AI editor
This commit is contained in:
BIN
applications/icons/cursor.png
Normal file
BIN
applications/icons/cursor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@@ -4,6 +4,7 @@ CHOICES=(
|
||||
"1password Manage your passwords securely across devices"
|
||||
"Audacity Record and edit audio"
|
||||
"Brave Chrome-based browser with built-in ad blocking"
|
||||
"Cursor The AI Code Editor"
|
||||
"Doom Emacs Emacs framework with curated list of packages"
|
||||
"Dropbox Sync files across computers with ease"
|
||||
"OBS Studio Record screencasts with inputs from both display + webcam"
|
||||
|
||||
25
install/desktop/optional/app-cursor.sh
Normal file
25
install/desktop/optional/app-cursor.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
cd /tmp
|
||||
curl -L --output cursor.appimage https://downloader.cursor.sh/linux/x64
|
||||
sudo mv cursor.appimage /opt/cursor.appimage
|
||||
sudo chmod +x /opt/cursor.appimage
|
||||
sudo apt install -y fuse3
|
||||
sudo apt install -y libfuse2t64
|
||||
|
||||
DESKTOP_FILE="/usr/share/applications/cursor.desktop"
|
||||
|
||||
sudo bash -c "cat > $DESKTOP_FILE" <<EOL
|
||||
[Desktop Entry]
|
||||
Name=Cursor
|
||||
Comment=AI-powered code editor
|
||||
Exec=/opt/cursor.appimage --no-sandbox
|
||||
Icon=/home/$USER/.local/share/omakub/applications/icons/cursor.png
|
||||
Type=Application
|
||||
Categories=Development;IDE;
|
||||
EOL
|
||||
|
||||
if [ -f "$DESKTOP_FILE" ]; then
|
||||
echo "cursor.desktop created successfully"
|
||||
else
|
||||
echo "Failed to create cursor.desktop"
|
||||
fi
|
||||
|
||||
3
uninstall/app-cursor.sh
Normal file
3
uninstall/app-cursor.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
sudo rm /opt/cursor.appimage
|
||||
sudo rm /usr/share/applications/cursor.desktop
|
||||
|
||||
Reference in New Issue
Block a user