4cee3807ff
Currently the Makefile lets you choose your own PREFIX, but the installed runanki.system always hardcodes the prefix as /usr. Fix runanki.system at install time to install into the designated PREFIX.
8 lines
96 B
Python
Executable File
8 lines
96 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
sys.path.append("@PREFIX@/share/anki")
|
|
|
|
import aqt
|
|
aqt.run()
|