Add action "add-to-steam@chmodmasx"#757
Conversation
|
/review-action |
Nemo Action Review (Automated)
The background agent caught an additional critical bug I need to add. Here is the complete consolidated review ready to post: Thanks for submitting this action! The concept is great — a right-click shortcut to add non-Steam games is something many users will appreciate. There are several issues to address before this can be merged. Critical
((success_count++))
...
((fail_count++))In bash, success_count=$((success_count + 1))
fail_count=$((fail_count + 1))Or append
The action definition lists: Nemo requires all listed dependencies to be present in PATH at load time, or the action silently won't appear. This breaks the action for the most common scenarios:
The All user-facing strings are hardcoded in Spanish Every runtime message in the script is in Spanish: Important
touch /tmp/addnonsteamgamefile 2>/dev/null || trueThis file is created but never read, written, or used anywhere in the script — it's vestigial behavior cargo-culted from older Steam workarounds. It also uses a world-writable, predictable path, making it vulnerable to symlink attacks from local processes. Remove it entirely.
Every branch in Missing Without a Minor
setsid flatpak run --branch=stable --arch=x86_64 com.valvesoftware.Steam "$encoded_url"This silently fails on ARM systems. The
The Version mismatch
Strengths
Automated review of 3b61a72 — last updated 2026-02-21 21:15 UTC |
- Fix bash arithmetic error with 'set -e' - Translate hardcoded runtime strings to English - Change Dependencies to only strictly require python3 - Remove predictable /tmp file creation - Add Quote=double for correct handling of files with spaces - Remove hardcoded --arch=x86_64 for flatpak fallback - Clean up unreachable xdg-open code path - Sync versions to 1.0.1 across metadata and po files
Add to Steam (Nemo Action)
Add non-Steam games to your Steam library from the Nemo (Cinnamon) context menu.
Usage:
.desktop,.AppImage,.exe, or an executable.sh/.pyand choose "Add to Steam".