From d25bdc9f3f3f6547d6c023ed7e192fc5913e9bbc Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 3 Jul 2022 14:23:25 +0200 Subject: Initial commit --- Applications/System Software.app/Main.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Applications/System Software.app/Main.js (limited to 'Applications/System Software.app') diff --git a/Applications/System Software.app/Main.js b/Applications/System Software.app/Main.js new file mode 100644 index 0000000..a45818c --- /dev/null +++ b/Applications/System Software.app/Main.js @@ -0,0 +1,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(); + }; + } +} \ No newline at end of file -- cgit