npbackup/bin/npbackup-viewer
2023-12-27 18:08:32 +01:00

16 lines
380 B
Python

#! /usr/bin/env python3
# -*- coding: utf-8 -*-
#
# This file is part of npbackup, and is really just a binary shortcut to launch npbackup.gui.__main__
import os
import sys
sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(__file__), "..")))
from npbackup.gui.__main__ import main_gui
del sys.path[0]
if __name__ == "__main__":
main_gui(viewer_mode=True)