Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create MaaAssistantArknights #3270

Closed
wants to merge 2 commits into from
Closed

Conversation

Cryolitia
Copy link

No description provided.

@Cryolitia
Copy link
Author

# Count the windows on screen
NUMBER_OF_WINDOWS=$(xwininfo -tree -root | grep 0x | grep '": ("' | sed -e 's/^[[:space:]]*//' | wc -l)
echo "NUMBER_OF_WINDOWS: $NUMBER_OF_WINDOWS"
NUMBER_OF_WINDOWS: 0
if [ $(($NUMBER_OF_WINDOWS)) -lt 1 ] ; then
  echo "ERROR: Could not find a single window on screen :-("
  kill -9 $$
  exit 1
fi
ERROR: Could not find a single window on screen :-(

It's a cli appication, doesn't have any GUI window.

@probonopd
Copy link
Member

Hi @Cryolitia, then Terminal=true needs to be set in the desktop file.

Cryolitia added a commit to MaaAssistantArknights/MaaAssistantArknights that referenced this pull request Oct 30, 2023
Cryolitia added a commit to MaaAssistantArknights/MaaAssistantArknights that referenced this pull request Oct 30, 2023
@Cryolitia Cryolitia closed this Oct 31, 2023
@Cryolitia
Copy link
Author

Hi @Cryolitia, then Terminal=true needs to be set in the desktop file.

thx, update in #3278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants