2018-08-20 20:42:40 +08:00
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
if __package__ is None and not hasattr(sys, "frozen"):
|
|
|
|
|
import os.path
|
2022-10-15 03:07:21 +08:00
|
|
|
|
2018-08-20 20:42:40 +08:00
|
|
|
path = os.path.realpath(os.path.abspath(__file__))
|
|
|
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(path)))
|
|
|
|
|
|
|
|
|
|
import ankisyncd.sync_app
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
|
ankisyncd.sync_app.main()
|