diff --git a/android-chrome-192x192.png b/dist/icons/android-chrome-192x192.png similarity index 100% rename from android-chrome-192x192.png rename to dist/icons/android-chrome-192x192.png diff --git a/apple-touch-icon.png b/dist/icons/apple-touch-icon.png similarity index 100% rename from apple-touch-icon.png rename to dist/icons/apple-touch-icon.png diff --git a/browserconfig.xml b/dist/icons/browserconfig.xml similarity index 100% rename from browserconfig.xml rename to dist/icons/browserconfig.xml diff --git a/favicon-16x16.png b/dist/icons/favicon-16x16.png similarity index 100% rename from favicon-16x16.png rename to dist/icons/favicon-16x16.png diff --git a/favicon-32x32.png b/dist/icons/favicon-32x32.png similarity index 100% rename from favicon-32x32.png rename to dist/icons/favicon-32x32.png diff --git a/favicon.ico b/dist/icons/favicon.ico similarity index 100% rename from favicon.ico rename to dist/icons/favicon.ico diff --git a/favicon.png b/dist/icons/favicon.png similarity index 100% rename from favicon.png rename to dist/icons/favicon.png diff --git a/mstile-150x150.png b/dist/icons/mstile-150x150.png similarity index 100% rename from mstile-150x150.png rename to dist/icons/mstile-150x150.png diff --git a/safari-pinned-tab.svg b/dist/icons/safari-pinned-tab.svg similarity index 100% rename from safari-pinned-tab.svg rename to dist/icons/safari-pinned-tab.svg diff --git a/site.webmanifest b/dist/icons/site.webmanifest similarity index 100% rename from site.webmanifest rename to dist/icons/site.webmanifest diff --git a/installers/common.sh b/installers/common.sh index 21098344..66676c1a 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -229,6 +229,10 @@ function default_configuration() { sudo mv $webroot_dir/installers/raspap.service /lib/systemd/system/ || install_error "Unable to move raspap.service file" sudo systemctl enable raspap.service || install_error "Failed to enable raspap.service" fi + + # Move icons to webroot + echo -n "Installing high-res favicons" + sudo mv $webroot_dir/dist/icons/* $webroot_dir } # Add a single entry to the sudoers file