diff --git a/app.go b/app.go index 79526d5..3e3b29f 100644 --- a/app.go +++ b/app.go @@ -38,7 +38,7 @@ func (a *App) IgnoreMe( func (a *App) GetDefaultPath() string { if runtime.GOOS == "windows" { localappdata := os.Getenv("LOCALAPPDATA") - return filepath.Join(localappdata, "RLBotGUI") + return filepath.Join(localappdata, "RLBot5") } // assume linux diff --git a/frontend/package.json b/frontend/package.json index 7507b32..e5aedda 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,14 +10,14 @@ "dependencies": { "@thisux/sveltednd": "^0.0.20", "@wailsio/runtime": "3.0.0-alpha.72", - "superjson": "^2.2.2", - "svelte": "^5.39.11", + "superjson": "^2.2.3", + "svelte": "^5.41.3", "svelte-5-french-toast": "^2.0.6", "svelte-portal": "^2.2.1" }, "devDependencies": { - "@biomejs/biome": "^2.2.5", - "@rsbuild/core": "^1.5.14", + "@biomejs/biome": "^2.2.7", + "@rsbuild/core": "^1.5.17", "@rsbuild/plugin-svelte": "^1.0.11", "typescript": "^5.9.3" } diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 5d92a19..7258e42 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -10,96 +10,96 @@ importers: dependencies: '@thisux/sveltednd': specifier: ^0.0.20 - version: 0.0.20(svelte@5.39.11) + version: 0.0.20(svelte@5.41.3) '@wailsio/runtime': specifier: 3.0.0-alpha.72 version: 3.0.0-alpha.72 superjson: - specifier: ^2.2.2 - version: 2.2.2 + specifier: ^2.2.3 + version: 2.2.3 svelte: - specifier: ^5.39.11 - version: 5.39.11 + specifier: ^5.41.3 + version: 5.41.3 svelte-5-french-toast: specifier: ^2.0.6 - version: 2.0.6(svelte@5.39.11) + version: 2.0.6(svelte@5.41.3) svelte-portal: specifier: ^2.2.1 version: 2.2.1 devDependencies: '@biomejs/biome': - specifier: ^2.2.5 - version: 2.2.5 + specifier: ^2.2.7 + version: 2.2.7 '@rsbuild/core': - specifier: ^1.5.14 - version: 1.5.14 + specifier: ^1.5.17 + version: 1.5.17 '@rsbuild/plugin-svelte': specifier: ^1.0.11 - version: 1.0.11(@rsbuild/core@1.5.14)(svelte@5.39.11)(typescript@5.9.3) + version: 1.0.11(@rsbuild/core@1.5.17)(svelte@5.41.3)(typescript@5.9.3) typescript: specifier: ^5.9.3 version: 5.9.3 packages: - '@biomejs/biome@2.2.5': - resolution: {integrity: sha512-zcIi+163Rc3HtyHbEO7CjeHq8DjQRs40HsGbW6vx2WI0tg8mYQOPouhvHSyEnCBAorfYNnKdR64/IxO7xQ5faw==} + '@biomejs/biome@2.2.7': + resolution: {integrity: sha512-1a8j0UP1vXVUf3UzMZEJ/zS2VgAG6wU6Cuh/I764sUGI+MCnJs/9WaojHYBDCxCMLTgU60/WqnYof85emXmSBA==} engines: {node: '>=14.21.3'} hasBin: true - '@biomejs/cli-darwin-arm64@2.2.5': - resolution: {integrity: sha512-MYT+nZ38wEIWVcL5xLyOhYQQ7nlWD0b/4mgATW2c8dvq7R4OQjt/XGXFkXrmtWmQofaIM14L7V8qIz/M+bx5QQ==} + '@biomejs/cli-darwin-arm64@2.2.7': + resolution: {integrity: sha512-xBUUsebnO2/Qj1v7eZmKUy2ZcFkZ4/jLUkxN02Qup1RPoRaiW9AKXHrqS3L7iX6PzofHY2xuZ+Pb9kAcpoe0qA==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] - '@biomejs/cli-darwin-x64@2.2.5': - resolution: {integrity: sha512-FLIEl73fv0R7dI10EnEiZLw+IMz3mWLnF95ASDI0kbx6DDLJjWxE5JxxBfmG+udz1hIDd3fr5wsuP7nwuTRdAg==} + '@biomejs/cli-darwin-x64@2.2.7': + resolution: {integrity: sha512-vsY4NhmxqgfLJufr9XUnC+yGUPJiXAc1mz6FcjaAmuIuLwfghN4uQO7hnW2AneGyoi2mNe9Jbvf6Qtq4AjzrFg==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] - '@biomejs/cli-linux-arm64-musl@2.2.5': - resolution: {integrity: sha512-5Ov2wgAFwqDvQiESnu7b9ufD1faRa+40uwrohgBopeY84El2TnBDoMNXx6iuQdreoFGjwW8vH6k68G21EpNERw==} + '@biomejs/cli-linux-arm64-musl@2.2.7': + resolution: {integrity: sha512-FrTwvKO/7t5HbVTvhlMOTOVQLAcR7r4O4iFQhEpZXUtBfosHqrX/JJlX7daPawoe14MDcCu9CDg0zLVpTuDvuQ==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] - '@biomejs/cli-linux-arm64@2.2.5': - resolution: {integrity: sha512-5DjiiDfHqGgR2MS9D+AZ8kOfrzTGqLKywn8hoXpXXlJXIECGQ32t+gt/uiS2XyGBM2XQhR6ztUvbjZWeccFMoQ==} + '@biomejs/cli-linux-arm64@2.2.7': + resolution: {integrity: sha512-nUdco104rjV9dULi1VssQ5R/kX2jE/Z2sDjyqS+siV9sTQda0DwmEUixFNRCWvZJRRiZUWhgiDFJ4n7RowO8Mg==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] - '@biomejs/cli-linux-x64-musl@2.2.5': - resolution: {integrity: sha512-AVqLCDb/6K7aPNIcxHaTQj01sl1m989CJIQFQEaiQkGr2EQwyOpaATJ473h+nXDUuAcREhccfRpe/tu+0wu0eQ==} + '@biomejs/cli-linux-x64-musl@2.2.7': + resolution: {integrity: sha512-MnsysF5s/iLC5wnYvuMseOy+m8Pd4bWG1uwlVyy2AUbfjAVUgtbYbboc5wMXljFrDY7e6rLjLTR4S2xqDpGlQg==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] - '@biomejs/cli-linux-x64@2.2.5': - resolution: {integrity: sha512-fq9meKm1AEXeAWan3uCg6XSP5ObA6F/Ovm89TwaMiy1DNIwdgxPkNwxlXJX8iM6oRbFysYeGnT0OG8diCWb9ew==} + '@biomejs/cli-linux-x64@2.2.7': + resolution: {integrity: sha512-tPTcGAIEOOZrj2tQ7fdraWlaxNKApBw6l4In8wQQV1IyxnAexqi0hykHzKEX8hKKctf5gxGBfNCzyIvqpj4CFQ==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] - '@biomejs/cli-win32-arm64@2.2.5': - resolution: {integrity: sha512-xaOIad4wBambwJa6mdp1FigYSIF9i7PCqRbvBqtIi9y29QtPVQ13sDGtUnsRoe6SjL10auMzQ6YAe+B3RpZXVg==} + '@biomejs/cli-win32-arm64@2.2.7': + resolution: {integrity: sha512-h5D1jhwA2b7cFXerYiJfXHSzzAMFFoEDL5Mc2BgiaEw0iaSgSso/3Nc6FbOR55aTQISql+IpB4PS7JoV26Gdbw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] - '@biomejs/cli-win32-x64@2.2.5': - resolution: {integrity: sha512-F/jhuXCssPFAuciMhHKk00xnCAxJRS/pUzVfXYmOMUp//XW7mO6QeCjsjvnm8L4AO/dG2VOB0O+fJPiJ2uXtIw==} + '@biomejs/cli-win32-x64@2.2.7': + resolution: {integrity: sha512-URqAJi0kONyBKG4V9NVafHLDtm6IHmF4qPYi/b6x7MD6jxpWeJiTCO6R5+xDlWckX2T/OGv6Yq3nkz6s0M8Ykw==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32] - '@emnapi/core@1.5.0': - resolution: {integrity: sha512-sbP8GzB1WDzacS8fgNPpHlp6C9VZe+SJP3F90W9rLemaQj2PzIuTEl1qDOYQf58YIpyjViI24y9aPWCjEzY2cg==} + '@emnapi/core@1.6.0': + resolution: {integrity: sha512-zq/ay+9fNIJJtJiZxdTnXS20PllcYMX3OE23ESc4HK/bdYu3cOWYVhsOhVnXALfU/uqJIxn5NBPd9z4v+SfoSg==} - '@emnapi/runtime@1.5.0': - resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==} + '@emnapi/runtime@1.6.0': + resolution: {integrity: sha512-obtUmAHTMjll499P+D9A3axeJFlhdjOWdKUNs/U6QIGT7V5RjcUW1xToAzjvmgTSQhDbYn/NwfTRoJcQ2rNBxA==} '@emnapi/wasi-threads@1.1.0': resolution: {integrity: sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==} @@ -138,11 +138,11 @@ packages: '@module-federation/webpack-bundler-runtime@0.18.0': resolution: {integrity: sha512-TEvErbF+YQ+6IFimhUYKK3a5wapD90d90sLsNpcu2kB3QGT7t4nIluE25duXuZDVUKLz86tEPrza/oaaCWTpvQ==} - '@napi-rs/wasm-runtime@1.0.6': - resolution: {integrity: sha512-DXj75ewm11LIWUk198QSKUTxjyRjsBwk09MuMk5DGK+GDUtyPhhEHOGP/Xwwj3DjQXXkivoBirmOnKrLfc0+9g==} + '@napi-rs/wasm-runtime@1.0.7': + resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==} - '@rsbuild/core@1.5.14': - resolution: {integrity: sha512-fWxuvqaCnyl/t3mROMF33vrFy9lX5NXNTDpF4hOJ4X0ajTYOKHFk2BYiUfVTJbtDGig+S+NeWwD31su204XwAg==} + '@rsbuild/core@1.5.17': + resolution: {integrity: sha512-tHa4puv+pEooQvSewu/K5sm270nkVPcP07Ioz1c+fbFCrFpiZWV5XumgznilS80097glUrieN+9xTbIHGXjThQ==} engines: {node: '>=18.12.0'} hasBin: true @@ -271,12 +271,12 @@ packages: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} - copy-anything@3.0.5: - resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==} - engines: {node: '>=12.13'} + copy-anything@4.0.5: + resolution: {integrity: sha512-7Vv6asjS4gMOuILabD3l739tsaxFQmC+a7pLZm02zyvs8p977bL3zEgq3yDk5rn9B0PbYgIv++jmHcuUab4RhA==} + engines: {node: '>=18'} - core-js@3.45.1: - resolution: {integrity: sha512-L4NPsJlCfZsPeXukyzHFlg/i7IIVwHSItR0wg0FLNqYClJ4MQYTYLbC7EkjKYRLZF2iof2MUgN0EGy7MdQFChg==} + core-js@3.46.0: + resolution: {integrity: sha512-vDMm9B0xnqqZ8uSBpZ8sNtRtOdmfShrvT6h2TuQGLs0Is+cR0DYbj/KWP6ALVNbWPpqA/qPLoOuppJN07humpA==} emojis-list@3.0.0: resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} @@ -291,9 +291,9 @@ packages: is-reference@3.0.3: resolution: {integrity: sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==} - is-what@4.1.16: - resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==} - engines: {node: '>=12.13'} + is-what@5.5.0: + resolution: {integrity: sha512-oG7cgbmg5kLYae2N5IVd3jm2s+vldjxJzK1pcu9LfpGuQ93MQSzo0okvRna+7y5ifrD+20FE8FvjusyGaz14fw==} + engines: {node: '>=18'} jiti@2.6.1: resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} @@ -314,8 +314,8 @@ packages: magic-string@0.30.19: resolution: {integrity: sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==} - superjson@2.2.2: - resolution: {integrity: sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==} + superjson@2.2.3: + resolution: {integrity: sha512-ay3d+LW/S6yppKoTz3Bq4mG0xrS5bFwfWEBmQfbC7lt5wmtk+Obq0TxVuA9eYRirBTQb1K3eEpBRHMQEo0WyVw==} engines: {node: '>=16'} svelte-5-french-toast@2.0.6: @@ -382,8 +382,8 @@ packages: peerDependencies: svelte: ^3.2.1 || ^4.0.0-next.1 || ^5.0.0-next.94 - svelte@5.39.11: - resolution: {integrity: sha512-8MxWVm2+3YwrFbPaxOlT1bbMi6OTenrAgks6soZfiaS8Fptk4EVyRIFhJc3RpO264EeSNwgjWAdki0ufg4zkGw==} + svelte@5.41.3: + resolution: {integrity: sha512-bkHg+whEnVVNcK3XP8Dy4NHujn5mU/+at9z09PXM5THKm+E73AwiKFoRMMTfyAzAj1yExKtudvGHq8UqOh8kMQ==} engines: {node: '>=18'} tslib@2.8.1: @@ -399,48 +399,48 @@ packages: snapshots: - '@biomejs/biome@2.2.5': + '@biomejs/biome@2.2.7': optionalDependencies: - '@biomejs/cli-darwin-arm64': 2.2.5 - '@biomejs/cli-darwin-x64': 2.2.5 - '@biomejs/cli-linux-arm64': 2.2.5 - '@biomejs/cli-linux-arm64-musl': 2.2.5 - '@biomejs/cli-linux-x64': 2.2.5 - '@biomejs/cli-linux-x64-musl': 2.2.5 - '@biomejs/cli-win32-arm64': 2.2.5 - '@biomejs/cli-win32-x64': 2.2.5 - - '@biomejs/cli-darwin-arm64@2.2.5': + '@biomejs/cli-darwin-arm64': 2.2.7 + '@biomejs/cli-darwin-x64': 2.2.7 + '@biomejs/cli-linux-arm64': 2.2.7 + '@biomejs/cli-linux-arm64-musl': 2.2.7 + '@biomejs/cli-linux-x64': 2.2.7 + '@biomejs/cli-linux-x64-musl': 2.2.7 + '@biomejs/cli-win32-arm64': 2.2.7 + '@biomejs/cli-win32-x64': 2.2.7 + + '@biomejs/cli-darwin-arm64@2.2.7': optional: true - '@biomejs/cli-darwin-x64@2.2.5': + '@biomejs/cli-darwin-x64@2.2.7': optional: true - '@biomejs/cli-linux-arm64-musl@2.2.5': + '@biomejs/cli-linux-arm64-musl@2.2.7': optional: true - '@biomejs/cli-linux-arm64@2.2.5': + '@biomejs/cli-linux-arm64@2.2.7': optional: true - '@biomejs/cli-linux-x64-musl@2.2.5': + '@biomejs/cli-linux-x64-musl@2.2.7': optional: true - '@biomejs/cli-linux-x64@2.2.5': + '@biomejs/cli-linux-x64@2.2.7': optional: true - '@biomejs/cli-win32-arm64@2.2.5': + '@biomejs/cli-win32-arm64@2.2.7': optional: true - '@biomejs/cli-win32-x64@2.2.5': + '@biomejs/cli-win32-x64@2.2.7': optional: true - '@emnapi/core@1.5.0': + '@emnapi/core@1.6.0': dependencies: '@emnapi/wasi-threads': 1.1.0 tslib: 2.8.1 optional: true - '@emnapi/runtime@1.5.0': + '@emnapi/runtime@1.6.0': dependencies: tslib: 2.8.1 optional: true @@ -494,26 +494,26 @@ snapshots: '@module-federation/runtime': 0.18.0 '@module-federation/sdk': 0.18.0 - '@napi-rs/wasm-runtime@1.0.6': + '@napi-rs/wasm-runtime@1.0.7': dependencies: - '@emnapi/core': 1.5.0 - '@emnapi/runtime': 1.5.0 + '@emnapi/core': 1.6.0 + '@emnapi/runtime': 1.6.0 '@tybys/wasm-util': 0.10.1 optional: true - '@rsbuild/core@1.5.14': + '@rsbuild/core@1.5.17': dependencies: '@rspack/core': 1.5.8(@swc/helpers@0.5.17) '@rspack/lite-tapable': 1.0.1 '@swc/helpers': 0.5.17 - core-js: 3.45.1 + core-js: 3.46.0 jiti: 2.6.1 - '@rsbuild/plugin-svelte@1.0.11(@rsbuild/core@1.5.14)(svelte@5.39.11)(typescript@5.9.3)': + '@rsbuild/plugin-svelte@1.0.11(@rsbuild/core@1.5.17)(svelte@5.41.3)(typescript@5.9.3)': dependencies: - '@rsbuild/core': 1.5.14 - svelte-loader: 3.2.4(svelte@5.39.11) - svelte-preprocess: 6.0.3(svelte@5.39.11)(typescript@5.9.3) + '@rsbuild/core': 1.5.17 + svelte-loader: 3.2.4(svelte@5.41.3) + svelte-preprocess: 6.0.3(svelte@5.41.3)(typescript@5.9.3) transitivePeerDependencies: - '@babel/core' - coffeescript @@ -547,7 +547,7 @@ snapshots: '@rspack/binding-wasm32-wasi@1.5.8': dependencies: - '@napi-rs/wasm-runtime': 1.0.6 + '@napi-rs/wasm-runtime': 1.0.7 optional: true '@rspack/binding-win32-arm64-msvc@1.5.8': @@ -592,20 +592,20 @@ snapshots: '@thisux/sveltednd@0.0.14': {} - '@thisux/sveltednd@0.0.17(svelte@5.39.11)': + '@thisux/sveltednd@0.0.17(svelte@5.41.3)': dependencies: '@thisux/sveltednd': 0.0.14 - svelte: 5.39.11 + svelte: 5.41.3 - '@thisux/sveltednd@0.0.18(svelte@5.39.11)': + '@thisux/sveltednd@0.0.18(svelte@5.41.3)': dependencies: - '@thisux/sveltednd': 0.0.17(svelte@5.39.11) - svelte: 5.39.11 + '@thisux/sveltednd': 0.0.17(svelte@5.41.3) + svelte: 5.41.3 - '@thisux/sveltednd@0.0.20(svelte@5.39.11)': + '@thisux/sveltednd@0.0.20(svelte@5.41.3)': dependencies: - '@thisux/sveltednd': 0.0.18(svelte@5.39.11) - svelte: 5.39.11 + '@thisux/sveltednd': 0.0.18(svelte@5.41.3) + svelte: 5.41.3 '@tybys/wasm-util@0.10.1': dependencies: @@ -626,11 +626,11 @@ snapshots: clsx@2.1.1: {} - copy-anything@3.0.5: + copy-anything@4.0.5: dependencies: - is-what: 4.1.16 + is-what: 5.5.0 - core-js@3.45.1: {} + core-js@3.46.0: {} emojis-list@3.0.0: {} @@ -644,7 +644,7 @@ snapshots: dependencies: '@types/estree': 1.0.8 - is-what@4.1.16: {} + is-what@5.5.0: {} jiti@2.6.1: {} @@ -662,41 +662,41 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 - superjson@2.2.2: + superjson@2.2.3: dependencies: - copy-anything: 3.0.5 + copy-anything: 4.0.5 - svelte-5-french-toast@2.0.6(svelte@5.39.11): + svelte-5-french-toast@2.0.6(svelte@5.41.3): dependencies: - svelte: 5.39.11 - svelte-writable-derived: 3.1.1(svelte@5.39.11) + svelte: 5.41.3 + svelte-writable-derived: 3.1.1(svelte@5.41.3) svelte-dev-helper@1.1.9: {} - svelte-hmr@0.14.12(svelte@5.39.11): + svelte-hmr@0.14.12(svelte@5.41.3): dependencies: - svelte: 5.39.11 + svelte: 5.41.3 - svelte-loader@3.2.4(svelte@5.39.11): + svelte-loader@3.2.4(svelte@5.41.3): dependencies: loader-utils: 2.0.4 - svelte: 5.39.11 + svelte: 5.41.3 svelte-dev-helper: 1.1.9 - svelte-hmr: 0.14.12(svelte@5.39.11) + svelte-hmr: 0.14.12(svelte@5.41.3) svelte-portal@2.2.1: {} - svelte-preprocess@6.0.3(svelte@5.39.11)(typescript@5.9.3): + svelte-preprocess@6.0.3(svelte@5.41.3)(typescript@5.9.3): dependencies: - svelte: 5.39.11 + svelte: 5.41.3 optionalDependencies: typescript: 5.9.3 - svelte-writable-derived@3.1.1(svelte@5.39.11): + svelte-writable-derived@3.1.1(svelte@5.41.3): dependencies: - svelte: 5.39.11 + svelte: 5.41.3 - svelte@5.39.11: + svelte@5.41.3: dependencies: '@jridgewell/remapping': 2.3.5 '@jridgewell/sourcemap-codec': 1.5.5 diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index db79497..a3f39e3 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -8,6 +8,8 @@ import GuiSettings from "./components/GuiSettings.svelte"; import Home from "./pages/Home.svelte"; import RocketHost from "./pages/RocketHost.svelte"; import StoryMode from "./pages/StoryMode.svelte"; +import Welcome from "./components/Welcome.svelte"; +import { parseJSON } from "./index"; let activePage = $state("home"); @@ -16,6 +18,14 @@ let eventsFuture = $state(0); let eventsVisible = $state(false); let showGuiSettings = $state(false); + +let paths: { + tagName: string | null; + repo: string | null; + installPath: string; + visible: boolean; + isDependency: boolean; +}[] = $state(parseJSON(window.localStorage.getItem("BOT_SEARCH_PATHS")) || []); @@ -88,7 +98,7 @@ let showGuiSettings = $state(false);
- +
+ diff --git a/frontend/src/components/Events.svelte b/frontend/src/components/Events.svelte index f812949..1d3d124 100644 --- a/frontend/src/components/Events.svelte +++ b/frontend/src/components/Events.svelte @@ -236,6 +236,7 @@ async function fetchEvents() { .event { display: flex; width: 100%; + max-width: 1280px; align-items: center; justify-content: space-between; gap: 1rem; @@ -249,7 +250,7 @@ async function fetchEvents() { display: flex; justify-content: center; align-items: center; - width: 18%; + width: 20%; height: 100%; } .event-logo { diff --git a/frontend/src/components/LauncherSelector.svelte b/frontend/src/components/LauncherSelector.svelte index c0837b9..256ee69 100644 --- a/frontend/src/components/LauncherSelector.svelte +++ b/frontend/src/components/LauncherSelector.svelte @@ -1,9 +1,6 @@ - - - -
- - {#if launcher === "custom"} -
- - -
- {/if} +
+ + {#if launcher === "custom"} +
+ +
- + {/if} +
diff --git a/frontend/src/pages/Home.svelte b/frontend/src/pages/Home.svelte index 8232ca1..e7c0593 100644 --- a/frontend/src/pages/Home.svelte +++ b/frontend/src/pages/Home.svelte @@ -1,7 +1,6 @@