mirror of
https://github.com/netinvent/npbackup.git
synced 2024-11-10 09:03:02 +08:00
17 lines
380 B
Text
17 lines
380 B
Text
|
#! /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)
|