ufo

command module
v0.0.0-...-fd4db39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

UFO

Float a UFO across the screen. Windows, Mac, and Linux.

Created for An Artist’s History of Computer Viruses and Malware.

Built on Ebitengine.

"Infection" Instructions

Follow these instructions to run the UFO binary every so often. Keep in mind that most of the time the program will exit immediately.

Windows

Run the following to execute the program every 7 minutes, changing the path and binary name where appropriate:

schtasks.exe /create /tn "_UFO" /tr "C:\PATH\TO\ufo.exe" /sc minute /mo 7

To clean up:

schtasks /delete /tn "_UFO"
Linux / Mac

Run crontab -e and enter the following, changing the path and binary name where appropriate:

*/7 * * * * /PATH/TO/ufo

To clean up, re-run crontab -e and remove the line that executes the binary.

Build Instructions

Follow these instructions to build from source instead of running the included binaries. This is currently necessary for Macs with ARM processors (M1, M2).

go must be installed: https://go.dev/doc/install

Windows
go mod tidy
go build -o ufo.exe
Mac
go mod tidy
go build -o ufo-mac
Linux

First, install dependencies:

sudo apt install -y build-essential libalut-dev libasound2-dev libc6-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxxf86vm-dev mesa-utils pkg-config xorg-dev xvfb

Then build:

go mod tidy
go build -o ufo-mac

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL