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

Add app "oneko" #2641

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added apps/.DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions apps/AndroidBuddy copy/credits
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Made by glreno on GitHub

The image files are ancient public domain. The Java code for v.1.0 is (c) 2010 Werner Randelhofer. The Java code for v.2.0 (c) 2019 Gerald Reno

Added to pi-apps by Lenni (@lenni_builder on Discord)
14 changes: 14 additions & 0 deletions apps/AndroidBuddy copy/description
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
The ever popular kitty-that-follows-your-mouse-pointer toy.

Neko is Japanese for cat. According to Wikipedia it was originally written for the NEC PC-9801.

There are many many versions. Generally it is considered Public Domain software, so I am placing my fork under the Unlicense.

This fork is based on Werner Randelshofer's Java port.

(From the GitHub repo)

To run: Menu > Accessories > Oneko
To run in a temrinal: Oneko

You have the option to create an autostart shortcut when installing.
Binary file added apps/AndroidBuddy copy/icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/AndroidBuddy copy/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions apps/AndroidBuddy copy/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

install_packages oneko || error "Failed to install oneko!"

echo "[Desktop Entry]
Type=Application
Version=1.0
Name=Oneko
Comment=Catch the mouse
Comment[de]=Fang die Maus
Icon=$(dirname "$0")/icon-64.png
Exec=oneko
Encoding=UTF-8
Terminal=false
Categories=Utility;" | sudo tee /usr/share/applications/oneko.desktop

# Autostart shortcut
response=$(yad --title "oneko installer" --text "Do you want to create an autostart shortcut for oneko? If not you will have to launch it from the start menu." --button="Yes":0 --button="No":1)

if [ $? -eq 0 ]; then
echo "Adding autostart shortcut to ~/.config/autostart/oneko.desktop..."
echo "[Desktop Entry]
Type=Application
Version=1.0
Name=Oneko
Comment=Catch the mouse
Comment[de]=Fang die Maus
Icon=$(dirname "$0")/icon-64.png
Exec=oneko
Encoding=UTF-8
Terminal=false
Categories=Utility;Game;" | tee ~/.config/autostart/oneko.desktop
echo "Oneko will be started the next time you reboot your Raspberry Pi."
else
echo "Adding no autostart shortcut."
fi
7 changes: 7 additions & 0 deletions apps/AndroidBuddy copy/uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
purge_packages || error "Failed to uninstall oneko!"

sudo rm -rf /usr/share/applications/oneko.desktop || error "Failed to remove shortcuts!"
rm -rf ~/.config/autostart/oneko.desktop || echo "Failed to remove autostart entry, probably because it wasn't added."

exit 0
1 change: 1 addition & 0 deletions apps/AndroidBuddy copy/website
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/glreno/oneko
5 changes: 5 additions & 0 deletions apps/Oneko/credits
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Made by glreno on GitHub

The image files are ancient public domain. The Java code for v.1.0 is (c) 2010 Werner Randelhofer. The Java code for v.2.0 (c) 2019 Gerald Reno

Added to pi-apps by Lenni (@lenni_builder on Discord)
14 changes: 14 additions & 0 deletions apps/Oneko/description
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
The ever popular kitty-that-follows-your-mouse-pointer toy.

Neko is Japanese for cat. According to Wikipedia it was originally written for the NEC PC-9801.

There are many many versions. Generally it is considered Public Domain software, so I am placing my fork under the Unlicense.

This fork is based on Werner Randelshofer's Java port.

(From the GitHub repo)

To run: Menu > Accessories > Oneko
To run in a temrinal: Oneko

You have the option to create an autostart shortcut when installing.
Binary file added apps/Oneko/icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/Oneko/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions apps/Oneko/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

install_packages oneko || error "Failed to install oneko!"

echo "[Desktop Entry]
Type=Application
Version=1.0
Name=Oneko
Comment=Catch the mouse
Comment[de]=Fang die Maus
Icon=$(dirname "$0")/icon-64.png
Exec=oneko
Encoding=UTF-8
Terminal=false
Categories=Utility;" | sudo tee /usr/share/applications/oneko.desktop

# Autostart shortcut
response=$(yad --title "oneko installer" --text "Do you want to create an autostart shortcut for oneko? If not you will have to launch it from the start menu." --button="Yes":0 --button="No":1)

if [ $? -eq 0 ]; then
echo "Adding autostart shortcut to ~/.config/autostart/oneko.desktop..."
echo "[Desktop Entry]
Type=Application
Version=1.0
Name=Oneko
Comment=Catch the mouse
Comment[de]=Fang die Maus
Icon=$(dirname "$0")/icon-64.png
Exec=oneko
Encoding=UTF-8
Terminal=false
Categories=Utility;Game;" | tee ~/.config/autostart/oneko.desktop
echo "Oneko will be started the next time you reboot your Raspberry Pi."
else
echo "Adding no autostart shortcut."
fi
7 changes: 7 additions & 0 deletions apps/Oneko/uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
purge_packages || error "Failed to uninstall oneko!"

sudo rm -rf /usr/share/applications/oneko.desktop || error "Failed to remove shortcuts!"
rm -rf ~/.config/autostart/oneko.desktop || echo "Failed to remove autostart entry, probably because it wasn't added."

exit 0
1 change: 1 addition & 0 deletions apps/Oneko/website
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/glreno/oneko