fix: remove process to /opt/cursor/squashfs-root/chrome-sandbox and remove mv to rename AppRun to cursor

This commit is contained in:
Josue Rengel
2025-03-24 22:43:17 -05:00
parent 2b25ffc5b2
commit c04bace03a

View File

@@ -124,9 +124,6 @@ chmod +x "\$APPDIR/cursor-\${VERSION}-x86_64.AppImage"
echo "Extracting AppImage (this may take a moment)..."
cd \$APPDIR && sudo "\$APPDIR/cursor-\${VERSION}-x86_64.AppImage" --appimage-extract > /dev/null 2>&1 && \
sudo chown $USER:$USER \$APPDIR/squashfs-root && \
sudo chown root:root \$APPDIR/squashfs-root/chrome-sandbox && \
sudo chmod 4755 \$APPDIR/squashfs-root/chrome-sandbox && \
sudo mv \$APPDIR/squashfs-root/AppRun \$APPDIR/squashfs-root/cursor && \
cd -
echo "Cursor has been updated to version \$VERSION"