summaryrefslogtreecommitdiffhomepage
path: root/updater/__init__.py
blob: 59bd4b3be4789efb84be7aae93369b636c2e0625 (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.app 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()