1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Added the 'ubuntu-store' configuration option to build a package that is already registered for the Ubuntu Store.

This commit is contained in:
Virgil Dupras
2012-08-15 08:01:29 -07:00
parent 8ac035c8a9
commit ab6e0945a7
3 changed files with 26 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ from qtlib.error_report_dialog import install_excepthook
from qtlib.util import setupQtLogging
from qt.base import dg_rc
from qt.base.platform import BASE_PATH
from core_{{edition}} import __version__, __appname__
from core_{edition} import __version__, __appname__
if ISWINDOWS:
import qt.base.cxfreeze_fix
@@ -34,8 +34,9 @@ if __name__ == "__main__":
install_gettext_trans_under_qt(locale_folder, lang)
# Many strings are translated at import time, so this is why we only import after the translator
# has been installed
from qt.{{edition}}.app import DupeGuru
from qt.{edition}.app import DupeGuru
app.setWindowIcon(QIcon(QPixmap(":/{0}".format(DupeGuru.LOGO_NAME))))
dgapp = DupeGuru()
{ubuntu_store_setup}
install_excepthook()
sys.exit(app.exec_())