diff --git a/.desktop b/.desktop new file mode 100644 index 0000000..cc23c44 --- /dev/null +++ b/.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=FSR Image & Video Upscaler +Comment=Upscale your videos and images with FSR +Path=/opt/fsrimageupscaler +Exec=/opt/fsrimageupscaler/fsrimagevideoupscaler +Icon=fsrimageupscaler diff --git a/dev/logo.xcf b/dev/logo.xcf new file mode 100644 index 0000000..99c6e93 Binary files /dev/null and b/dev/logo.xcf differ diff --git a/fsrimagevideoupscaler.py b/fsrimagevideoupscaler.py index bb6b475..ebd8309 100644 --- a/fsrimagevideoupscaler.py +++ b/fsrimagevideoupscaler.py @@ -7,7 +7,6 @@ # ########################################################### import sys -from gi.repository import Gtk import gi import bin.handler import multiprocessing @@ -18,6 +17,9 @@ arg = bin.arg_assembly.ArgAssembly() checks = bin.checks.Checks() handler = bin.handler.Handler() +gi.require_version("Gtk", "3.0") +from gi.repository import Gtk + class ErrorDialogFileMissing(Gtk.Dialog): def __init__(self, parent): super().__init__(title="Error", transient_for=parent, flags=0) diff --git a/fsrimagevideoupscaler.spec b/fsrimagevideoupscaler.spec new file mode 100644 index 0000000..810ac98 --- /dev/null +++ b/fsrimagevideoupscaler.spec @@ -0,0 +1,50 @@ +# -*- mode: python ; coding: utf-8 -*- + + +block_cipher = None + + +a = Analysis( + ['fsrimagevideoupscaler.py'], + pathex=[], + binaries=[], + datas=[('config', 'config')], + hiddenimports=[], + hookspath=[], + hooksconfig={}, + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher, + noarchive=False, +) +pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) + +exe = EXE( + pyz, + a.scripts, + [], + exclude_binaries=True, + name='FSR Image & Video Upscaler', + debug=False, + bootloader_ignore_signals=False, + strip=False, + upx=True, + console=True, + disable_windowed_traceback=False, + argv_emulation=False, + target_arch=None, + codesign_identity=None, + entitlements_file=None, +) +coll = COLLECT( + exe, + a.binaries, + a.zipfiles, + a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='fsrimagevideoupscaler', +) diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..63204b9 Binary files /dev/null and b/logo.png differ diff --git a/package/usr/share/applications/.desktop b/package/usr/share/applications/.desktop new file mode 100644 index 0000000..d586138 --- /dev/null +++ b/package/usr/share/applications/.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=FSR Image & Video Upscaler +Comment=Upscale your videos and images with FSR +Path=/opt/fsrimageupscaler +Exec=/opt/fsrimageupscaler/FSR\ Image\ \&\ Video\ Upscaler +Icon=fsrimageupscaler diff --git a/package/usr/share/icons/hicolor/scalable/apps/fsrimageupscaler.png b/package/usr/share/icons/hicolor/scalable/apps/fsrimageupscaler.png new file mode 100644 index 0000000..63204b9 Binary files /dev/null and b/package/usr/share/icons/hicolor/scalable/apps/fsrimageupscaler.png differ