summaryrefslogtreecommitdiff
path: root/Applications/System Software.app/Main.js
blob: a45818ce43521017521d65dfda02bf6670cfd174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// noinspection JSUnresolvedVariable

module.exports = () => {
    Strawberry.App = "System Software";
    Strawberry.MultiPanes = false;
    Strawberry.Window = false;
    Strawberry.Menus = []

    Strawberry.StartLoad();
    Strawberry.WhenLoaded = () => {
        load("Strawberry.Dialog");
        load("Strawberry.AppManager");

        Strawberry.Audio.SystemSound("Strawberry.UI.Error");
        Strawberry.Dialog.Confirm("This app is used internally by Strawberry OS and cannot be started.", "Close", "yellow");
        Strawberry.Dialog.WhenConfirmed = () => {
            Strawberry.AppManager.Quit();
        };
    }
}