mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-30 05:08:35 +00:00
19 lines
372 B
Python
Executable File
19 lines
372 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import os.path
|
|
import sys
|
|
|
|
sys.path.insert(0, '.')
|
|
|
|
from picard.tagger import main
|
|
from picard.util import is_frozen, frozen_temp_path
|
|
|
|
|
|
# This is needed to find resources when using pyinstaller
|
|
if is_frozen:
|
|
basedir = frozen_temp_path
|
|
else:
|
|
basedir = os.path.dirname(os.path.abspath(__file__))
|
|
|
|
main(os.path.join(basedir, 'locale'), True)
|