diff --git a/vite.config.js b/vite.config.js index 6277d0d..1b8d0f0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,20 +1,30 @@ -import { defineConfig } from 'vite' +import { defineConfig } from 'vite' import { VitePWA } from 'vite-plugin-pwa' -export default defineConfig({ - build: { outDir: 'docs' }, - plugins: [ - VitePWA({ - registerType: 'autoUpdate', - manifest: { - name: 'Sune', - short_name: 'Sune', - start_url: '.', - display: 'standalone', - icons: [ +export default defineConfig({ + build: { outDir: 'docs' }, + plugins: [ + VitePWA({ + registerType: 'autoUpdate', + manifest: { + id: 'https://sune.planetrenox.com/', + name: 'Sune', + short_name: 'Sune', + description: 'OpenRouter GUI Frontend', + start_url: 'https://sune.planetrenox.com/', + display: 'standalone', + orientation: 'portrait', + theme_color: '#000000', + background_color: '#000000', + categories: ['productivity', 'utilities'], + icons: [ { src: 'https://sune.planetrenox.com/appstore_content/✺.png', sizes: '1024x1024', type: 'image/png' } - ] - } - }) - ] + ], + screenshots: [ + { src: 'https://sune.planetrenox.com/appstore_content/screenshot1.jpg', sizes: '1344x2693', type: 'image/jpeg' }, + { src: 'https://sune.planetrenox.com/appstore_content/screenshot2.jpg', sizes: '1344x2699', type: 'image/jpeg' } + ] + } + }) + ] })