diff --git a/CHANGELOG.md b/CHANGELOG.md index 37a4de29..f62d40b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ _This release is scheduled to be released on 2024-10-01._ ### Removed +- [core] removed installer only files, (#3492) + ### Updated ### Fixed diff --git a/installers/mm.sh b/installers/mm.sh deleted file mode 100755 index d56ffca3..00000000 --- a/installers/mm.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -# This file is still here to keep PM2 working on older installations. -cd ~/MagicMirror -DISPLAY=:0 npm start diff --git a/splashscreen/MagicMirror.plymouth b/splashscreen/MagicMirror.plymouth deleted file mode 100644 index b6887bf5..00000000 --- a/splashscreen/MagicMirror.plymouth +++ /dev/null @@ -1,8 +0,0 @@ -[Plymouth Theme] -Name=MagicMirror -Description=Mirror Splash -ModuleName=script - -[script] -ImageDir=/usr/share/plymouth/themes/MagicMirror -ScriptFile=/usr/share/plymouth/themes/MagicMirror/MagicMirror.script diff --git a/splashscreen/MagicMirror.script b/splashscreen/MagicMirror.script deleted file mode 100644 index 6e2f5643..00000000 --- a/splashscreen/MagicMirror.script +++ /dev/null @@ -1,53 +0,0 @@ -screen_width = Window.GetWidth(); -screen_height = Window.GetHeight(); - -if (Plymouth.GetMode() != "shutdown") -{ - theme_image = Image("splash.png"); -} -else -{ - theme_image = Image("splash_halt.png"); -} - -image_width = theme_image.GetWidth(); -image_height = theme_image.GetHeight(); - -scale_x = image_width / screen_width; -scale_y = image_height / screen_height; - -if (scale_x > 1 || scale_y > 1) -{ - if (scale_x > scale_y) - { - resized_image = theme_image.Scale (screen_width, image_height / scale_x); - image_x = 0; - image_y = (screen_height - ((image_height * screen_width) / image_width)) / 2; - } - else - { - resized_image = theme_image.Scale (image_width / scale_y, screen_height); - image_x = (screen_width - ((image_width * screen_height) / image_height)) / 2; - image_y = 0; - } -} -else -{ - resized_image = theme_image.Scale (image_width, image_height); - image_x = (screen_width - image_width) / 2; - image_y = (screen_height - image_height) / 2; -} - -sprite = Sprite (resized_image); -sprite.SetPosition (image_x, image_y, -100); - -message_sprite = Sprite(); -message_sprite.SetPosition(screen_width * 0.1, screen_height * 0.9, 10000); - -fun message_callback (text) { - my_image = Image.Text(text, 1, 1, 1); - message_sprite.SetImage(my_image); - sprite.SetImage (resized_image); -} - -Plymouth.SetUpdateStatusFunction(message_callback); diff --git a/splashscreen/splash.png b/splashscreen/splash.png deleted file mode 100644 index b2acc495..00000000 Binary files a/splashscreen/splash.png and /dev/null differ diff --git a/splashscreen/splash_halt.png b/splashscreen/splash_halt.png deleted file mode 100644 index dcf9d8be..00000000 Binary files a/splashscreen/splash_halt.png and /dev/null differ