mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
60bc02573e
Frets on Fire is a game of musical skill and fast fingers. The aim of the game is to play guitar with the keyboard as accurately as possible. WWW: http://louhi.kempele.fi/~skyostil/uv/fretsonfire/
17 lines
302 B
Python
17 lines
302 B
Python
#!/usr/bin/env python
|
|
|
|
import sys
|
|
import os.path
|
|
|
|
#Program path
|
|
package_dir = os.path.join("%%PROGRAM_DIR%%")
|
|
|
|
#Change current work directory
|
|
os.chdir(package_dir)
|
|
|
|
#Add package_dir to python path
|
|
sys.path.append(package_dir)
|
|
|
|
#Launch the program!
|
|
execfile(os.path.join(package_dir, "FretsOnFire.py"))
|