summaryrefslogtreecommitdiffhomepage
path: root/updater/__init__.py
blob: 721a8641bfc07ea88afd32e66ea11d3c5b2b7e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2026, Amlal El Mahrouss and Ne.org contributors.
# NeSystem is licensed under Apache-2.0.
# SPDX-Identifier: Apache-2.0

# -*- coding: utf-8 -*-

import updater

def start_updater():
    try:
        print("Updating system...")
        updater.start()
    except TypeError:
        print("Updater failed, sorry!")
        

if __name__ == '__main__':
    start_updater()