Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dafc7fef97 | ||
|
|
7c84ff3f74 | ||
|
|
0d375a4474 | ||
|
|
c95c259da5 | ||
|
|
1f9f1156e3 | ||
|
|
f05c603cc6 | ||
|
|
d0602d4052 | ||
|
|
b1e3644e9d | ||
|
|
1cecec5a97 | ||
|
|
29bf3dfa66 | ||
|
|
46a415e880 | ||
|
|
9198b601be | ||
|
|
3fee3fded9 | ||
|
|
a3bf261682 | ||
|
|
dd14c84e1f | ||
|
|
e6708907f4 | ||
|
|
34743ba280 | ||
|
|
13f4cdb3f9 | ||
|
|
80fa105e31 | ||
|
|
d9b01857f8 | ||
|
|
895f7e224c |
@@ -0,0 +1,56 @@
|
||||
name: 'publish'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
# This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release.
|
||||
|
||||
jobs:
|
||||
publish-tauri:
|
||||
permissions:
|
||||
contents: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- platform: 'ubuntu-22.04'
|
||||
args: ''
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: setup bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: install dependencies (ubuntu only)
|
||||
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf cmake xdg-utils
|
||||
|
||||
- name: install frontend dependencies
|
||||
run: bun install # change this to npm, pnpm or bun depending on which one you use.
|
||||
|
||||
- name: build tauri packages and release
|
||||
uses: ValerioMeschi/tauri-action@9f8b32da04b4d228756d93dc93b9f16869e4f105
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.SMOOTHIE_TOKEN }}
|
||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||
with:
|
||||
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
|
||||
releaseName: 'App v__VERSION__'
|
||||
releaseBody: 'See the assets to download this version and install.'
|
||||
releaseDraft: true
|
||||
prerelease: false
|
||||
args: ${{ matrix.args }}
|
||||
githubBaseUrl: https://git.floatingpoint.ch/api/v1
|
||||
isGitea: true
|
||||
@@ -0,0 +1,9 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright © 2026 Valerio Meschi
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@@ -1,7 +1,22 @@
|
||||
# Tauri + SvelteKit
|
||||
```
|
||||
▄▄▄▄▄
|
||||
██▀▀▀▀█▄ █▄ █▄
|
||||
▀██▄ ▄▀ ▄ ▄██▄██ ▀▀
|
||||
▀██▄▄ ███▄███▄ ▄███▄ ▄███▄ ██ ████▄ ██ ▄█▀█▄
|
||||
▄ ▀██▄ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▄█▀
|
||||
▀██████▀▄██ ██ ▀█▄▀███▀▄▀███▀▄██▄██ ██▄██▄▀█▄▄▄
|
||||
```
|
||||
|
||||
This template should help get you started developing with Tauri and SvelteKit in Vite.
|
||||
# Smoothie - Blender Version Manager
|
||||
|
||||
## Recommended IDE Setup
|
||||
Smoothie is a simple launcher that allows you to download, install and manage all your blender Versions.
|
||||
|
||||
[VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer).
|
||||
## Features
|
||||
|
||||
* **Download:** Easily fetch official Blender builds for your operating system.
|
||||
* **Manage:** Install, Remove, Fav and switch between, easily and without messing with your system files and configs
|
||||
* **Unified Library:** All your blender Installs, Configs, Plugins and Libraries in ONE folder. Easily mantain, backup, share or transfer your whole blender setup.
|
||||
* **Set as Default:** Quickly choose which version is used to open .blend files
|
||||
* **Simple Interface:** A Straigforward GUI
|
||||
* **Templates:** Manage as many instances of a same version of Blender as you want. Each with different its own Layout, Startup file and Plugins.
|
||||
* **Custom Icons:** Smoothie Creates custom icons for all your blender installs so you can quickly fin
|
||||
|
||||
@@ -0,0 +1,798 @@
|
||||
# Smoothie — Architecture Specification
|
||||
|
||||
**Status:** As-built (v0.1.2)
|
||||
**Scope:** Desktop application for discovering, installing, isolating, and launching Blender builds.
|
||||
**Audience:** Maintainers and contributors.
|
||||
|
||||
---
|
||||
|
||||
## 1. Overview
|
||||
|
||||
Smoothie is a Tauri 2 desktop application that manages multiple Blender installations from a single, portable library folder.
|
||||
|
||||
The application:
|
||||
|
||||
- Discovers official Blender builds from `download.blender.org`.
|
||||
- Downloads and extracts builds into a user-configurable library.
|
||||
- Isolates each install's Blender user resources so versions and templates do not share configuration.
|
||||
- Launches Blender with per-install environment variables and optional application templates.
|
||||
- Registers builds with the operating system and creates desktop shortcuts (Linux).
|
||||
- Generates per-install icons and splash banners.
|
||||
- Keeps update, tray, notification, and window-state behavior in the Tauri host.
|
||||
|
||||
### Goals
|
||||
|
||||
1. **Portability.** All versions, configuration, and templates live under one library directory that can be moved, backed up, or copied.
|
||||
2. **Isolation.** Each Blender build reads and writes its own `BLENDER_USER_RESOURCES` directory.
|
||||
3. **Low-friction management.** Install, launch, favorite, delete, and set default from one GUI.
|
||||
4. **Desktop-native behavior.** Tray support, OS shortcuts, file associations, signed auto-updates.
|
||||
5. **Thin native layer.** Rust is used only for capabilities the webview cannot perform reliably.
|
||||
|
||||
### Non-goals
|
||||
|
||||
- Building or compiling Blender from source.
|
||||
- Hosting or mirroring Blender binaries.
|
||||
- Multi-user or cloud-synced library management.
|
||||
- Plugin/add-on marketplace functionality.
|
||||
- Mobile support (the Tauri entry point exists, but the capabilities and UX target desktop).
|
||||
|
||||
---
|
||||
|
||||
## 2. System Context
|
||||
|
||||
```mermaid
|
||||
flowchart TB
|
||||
User[User] --> UI[Svelte 5 UI]
|
||||
UI --> Services[JS service modules]
|
||||
Services --> Stores[Svelte stores]
|
||||
Services --> TauriJS[Tauri JS APIs]
|
||||
Services --> Commands[Rust commands]
|
||||
TauriJS --> Plugins[Tauri plugins]
|
||||
Plugins --> Net[download.blender.org]
|
||||
Plugins --> OS[OS: dialogs, notifications, shell, tray]
|
||||
Commands --> FS[(Local filesystem)]
|
||||
Plugins --> FS
|
||||
Commands --> Blender[Blender process]
|
||||
Plugins --> Updater[Update endpoint]
|
||||
FS --> Library[Portable Blender library]
|
||||
```
|
||||
|
||||
Smoothie has no application server. The only runtime network dependencies are:
|
||||
|
||||
- `https://download.blender.org` for release discovery and downloads.
|
||||
- The configured updater endpoint for signed application updates.
|
||||
|
||||
---
|
||||
|
||||
## 3. Technology Stack
|
||||
|
||||
| Layer | Technology | Notes |
|
||||
| --- | --- | --- |
|
||||
| Desktop shell | Tauri 2 (Rust, edition 2021) | One window, one main process |
|
||||
| Frontend | SvelteKit 2 + Svelte 5 runes | `adapter-static`, prerendered, SSR disabled |
|
||||
| Bundler | Vite 6 | Fixed dev port `1420` |
|
||||
| Package manager | Bun | `bun.lock` committed |
|
||||
| UI | Hand-written CSS + `@webtui/css` | Splitpanes, tabs, custom components |
|
||||
| Persistence | `@tauri-apps/plugin-store` | `settings.json`, `versions.json` |
|
||||
| Downloads | `@tauri-apps/plugin-upload` | Streaming download with progress |
|
||||
| HTTP | `@tauri-apps/plugin-http` | Scoped to Blender hosts |
|
||||
| Filesystem | `@tauri-apps/plugin-fs` + persisted scope | Library and shortcut operations |
|
||||
| OS integration | dialog, os, shell, notification, opener, window-state | Linux shortcut creation in JS |
|
||||
| Updates | `@tauri-apps/plugin-updater` | Signed artifacts |
|
||||
| Archives | Rust crates: `zip`, `tar`, `flate2`, `xz2`, `bzip2` | Custom Tauri commands |
|
||||
|
||||
---
|
||||
|
||||
## 4. High-Level Architecture
|
||||
|
||||
Smoothie is organized into four layers:
|
||||
|
||||
```mermaid
|
||||
flowchart TB
|
||||
subgraph Presentation
|
||||
Routes[routes/+page.svelte]
|
||||
Components[lib/components]
|
||||
Styles[app.css and component styles]
|
||||
end
|
||||
|
||||
subgraph Application
|
||||
Settings[settings.js]
|
||||
Fetch[blenderfetch.js]
|
||||
Download[download.js]
|
||||
Library[library.js]
|
||||
FileUtils[file_utils.js]
|
||||
Tray[trayicon.js]
|
||||
Notify[notification.js]
|
||||
end
|
||||
|
||||
subgraph PlatformBoundary
|
||||
TauriAPI[Tauri core API]
|
||||
TauriPlugins[Tauri plugins]
|
||||
RustCommands[Rust commands]
|
||||
end
|
||||
|
||||
subgraph State
|
||||
SvelteStores[Svelte writable stores]
|
||||
LazyStores[plugin-store JSON files]
|
||||
Disk[Library filesystem]
|
||||
end
|
||||
|
||||
Presentation --> Application
|
||||
Application --> PlatformBoundary
|
||||
Application --> SvelteStores
|
||||
Application --> LazyStores
|
||||
PlatformBoundary --> Disk
|
||||
```
|
||||
|
||||
### Architectural principles
|
||||
|
||||
1. **Filesystem-first.** The library directory is the source of truth for installed versions. There is no installation database to drift out of sync.
|
||||
2. **Stateless UI over persistent services.** Components read Svelte stores; service modules perform I/O and refresh stores.
|
||||
3. **Thin Rust boundary.** Rust handles archive extraction and process spawning. All orchestration and file layout remain in JavaScript.
|
||||
4. **Explicit per-version isolation.** Launches inject `BLENDER_USER_RESOURCES` pointing at a version-specific config folder.
|
||||
5. **Idempotent maintenance.** Missing icons, banners, templates, and shortcuts are regenerated when versions are rescanned.
|
||||
6. **Graceful degradation.** Missing executables are skipped; failed shortcuts and banners log warnings rather than aborting startup.
|
||||
|
||||
---
|
||||
|
||||
## 5. Repository Layout
|
||||
|
||||
```text
|
||||
smoothie/
|
||||
├── src/ # SvelteKit frontend
|
||||
│ ├── app.css # Global styles and theme variables
|
||||
│ ├── app.html # Webview shell document
|
||||
│ ├── routes/
|
||||
│ │ ├── +layout.js # prerender = true, ssr = false
|
||||
│ │ ├── +layout.svelte
|
||||
│ │ └── +page.svelte # Main application shell and bootstrap
|
||||
│ └── lib/
|
||||
│ ├── assets/ # Base icon and embedded font
|
||||
│ ├── components/ # UI components
|
||||
│ ├── blenderfetch.js # Release discovery and filename parsing
|
||||
│ ├── download.js # Download/extract pipeline
|
||||
│ ├── file_utils.js # Icons, banners, paths, copy/move helpers
|
||||
│ ├── library.js # Installed versions, launch, templates, shortcuts
|
||||
│ ├── notification.js # Transient notification store
|
||||
│ ├── settings.js # Settings, defaults, platform detection
|
||||
│ ├── transition.js # Crossfade transition
|
||||
│ └── trayicon.js # Tray menu and close-to-tray behavior
|
||||
├── src-tauri/
|
||||
│ ├── src/
|
||||
│ │ ├── lib.rs # Commands and plugin registration
|
||||
│ │ └── main.rs # Entry point
|
||||
│ ├── capabilities/desktop.json # Permissions and scopes
|
||||
│ ├── icons/ # App and platform icons
|
||||
│ ├── Cargo.toml
|
||||
│ ├── build.rs
|
||||
│ └── tauri.conf.json # App, window, bundle, updater config
|
||||
├── static/ # Static web assets
|
||||
├── .gitea/workflows/build.yml # Release build workflow
|
||||
├── package.json
|
||||
├── svelte.config.js
|
||||
└── vite.config.js
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 6. Frontend Architecture
|
||||
|
||||
### 6.1 Application shell
|
||||
|
||||
`src/routes/+page.svelte` owns:
|
||||
|
||||
- The splash screen and initialization sequence.
|
||||
- The top-level tab state (`library`, `download`, `settings`).
|
||||
- Subscription wiring between Svelte stores and component props.
|
||||
- Global CSS variables and layout.
|
||||
|
||||
Bootstrap order:
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant UI as +page.svelte
|
||||
participant App as Tauri app API
|
||||
participant Settings as settings.js
|
||||
participant Fetch as blenderfetch.js
|
||||
participant Library as library.js
|
||||
participant Tray as trayicon.js
|
||||
|
||||
UI->>App: getVersion()
|
||||
UI->>Settings: getSettings()
|
||||
Settings->>Settings: detect platform/arch
|
||||
Settings->>Settings: create library structure
|
||||
UI->>Fetch: getBlenderReleases()
|
||||
Fetch->>Fetch: scrape and parse release pages
|
||||
UI->>Library: getInstalledVersions()
|
||||
Library->>Library: scan library, find executables
|
||||
Library->>Library: generate icons/banners, shortcuts
|
||||
UI->>Tray: setupTrayIcon()
|
||||
UI->>UI: subscribe stores and show main UI
|
||||
```
|
||||
|
||||
Initialization is intentionally serial and surfaced through splash status text. No routing is used beyond the single route; tabs are local component state.
|
||||
|
||||
### 6.2 Components
|
||||
|
||||
| Component | Responsibility |
|
||||
| --- | --- |
|
||||
| `Library.svelte` | Two-pane view: installed/favorite versions on the left, templates for the selected version on the right |
|
||||
| `Download.svelte` | Lists major releases and their available minor versions |
|
||||
| `Release.svelte` | Per-release row: version selector, progress, download/installed state |
|
||||
| `VersionCard.svelte` | Version tile: favorite, select, launch, delete, set default |
|
||||
| `TemplateCard.svelte` | Launch base Blender or a template; delete template |
|
||||
| `Dropzone.svelte` | Accepts dropped `.blend` files as templates for the selected version |
|
||||
| `Settings.svelte` | Displays settings and moves the library directory |
|
||||
| `Splash.svelte` | Startup status display |
|
||||
| `Dialog.svelte` | Promise-based confirmation dialog (`show({...})`) |
|
||||
| `Popup.svelte` | Transient success/error toast |
|
||||
| `Menu.svelte`, `MenuItem.svelte` | Context menu primitives |
|
||||
| `Progress.svelte` | Download/extraction progress display |
|
||||
| `Button.svelte` | Shared button styles and variants |
|
||||
|
||||
### 6.3 State management
|
||||
|
||||
State is split into two categories:
|
||||
|
||||
**In-memory Svelte stores**
|
||||
|
||||
| Store | Module | Shape |
|
||||
| --- | --- | --- |
|
||||
| `currentSettings` | `settings.js` | `Settings` |
|
||||
| `installedVersionsStore` | `library.js` | `blenderVersion[]` |
|
||||
| `selectedVersionStore` | `library.js` | `blenderVersion \| null` |
|
||||
| `blenderReleases` | `blenderfetch.js` | `BlenderRelease[]` |
|
||||
| `downloadTasksStore` | `download.js` | `DownloadTask[]` |
|
||||
| `notification` | `notification.js` | `{ message, timeout } \| null` |
|
||||
|
||||
**Persisted stores (`plugin-store`)**
|
||||
|
||||
| File | Keys | Purpose |
|
||||
| --- | --- | --- |
|
||||
| `settings.json` | Setting names | User preferences |
|
||||
| `versions.json` | Version string → boolean | Favorite flags |
|
||||
|
||||
The UI does not cache installed versions independently of `installedVersionsStore`; components rescan through `getInstalledVersions()` after mutations.
|
||||
|
||||
### 6.4 Service modules
|
||||
|
||||
#### `settings.js`
|
||||
|
||||
- Defines the `Settings` type and defaults.
|
||||
- Detects host platform and architecture via `plugin-os`.
|
||||
- Persists settings through `LazyStore`.
|
||||
- Creates the library structure when the library directory changes.
|
||||
- Exposes `BASE_LIBRARY_DIR = "smoothie-library"`.
|
||||
|
||||
#### `blenderfetch.js`
|
||||
|
||||
- Fetches `https://download.blender.org/release/`.
|
||||
- Parses the index with `DOMParser`.
|
||||
- Selects version folders matching `Blender<version>/` and greater than `2.78`.
|
||||
- Fetches each version folder in parallel and parses filenames of the form:
|
||||
|
||||
```text
|
||||
blender-<version>-<platform>-<arch>.<extension>
|
||||
```
|
||||
|
||||
- Filters to the selected platform and architecture.
|
||||
- Sorts releases with a numeric dot-segment comparator.
|
||||
- Emits `BlenderRelease[]` and `FileLink[]`.
|
||||
|
||||
This module is deliberately source-specific. It is the only component that understands Blender's download directory naming convention.
|
||||
|
||||
#### `download.js`
|
||||
|
||||
Implements the install pipeline:
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant UI as Release.svelte
|
||||
participant DL as download.js
|
||||
participant Store as plugin-upload
|
||||
participant Rust as extract_archive
|
||||
participant Lib as library.js
|
||||
|
||||
UI->>DL: downloadBlenderVersion(link)
|
||||
DL->>DL: read settings and compute target dir
|
||||
DL->>Store: download(url, target/archive)
|
||||
loop progress
|
||||
Store-->>DL: loaded / total
|
||||
DL->>DL: updateDownloadProgress(version)
|
||||
end
|
||||
DL->>Rust: extract_archive(archive, target)
|
||||
Rust->>Rust: spawn_blocking extraction
|
||||
Rust->>Rust: strip single top-level directory
|
||||
DL->>DL: remove archive unless keepDownloadedArchives
|
||||
DL->>Lib: getInstalledVersions()
|
||||
DL-->>UI: { success, message, path }
|
||||
```
|
||||
|
||||
Key behaviors:
|
||||
|
||||
- Target directory: `<libraryDir>/smoothie-library/blender/<version>`.
|
||||
- Progress is keyed by version string, not by task ID.
|
||||
- On download failure, an empty target directory is removed.
|
||||
- On extraction failure, the archive is retained and the error is returned.
|
||||
- Extraction is delegated to a single Rust command; the JS layer only decides retention and refresh.
|
||||
|
||||
#### `library.js`
|
||||
|
||||
The domain core. Responsibilities:
|
||||
|
||||
- Scan `<library>/blender/*` and build `blenderVersion` objects.
|
||||
- Resolve the executable for the current platform.
|
||||
- Load templates and ensure template directories exist.
|
||||
- Generate missing icons and banners.
|
||||
- Create/remove Linux `.desktop` entries.
|
||||
- Launch Blender with isolated environment variables.
|
||||
- Register a build as the system default (`blender --register`).
|
||||
- Maintain favorites.
|
||||
- Delete versions and clean up associated resources.
|
||||
- Refresh `selectedVersionStore` after scans.
|
||||
|
||||
#### `file_utils.js`
|
||||
|
||||
- Canvas-based icon generation with the embedded base icon and `Europa-Mono` font.
|
||||
- Canvas/figlet-based 600×90 banner generation.
|
||||
- Directory creation, recursive copy, move, and existence checks.
|
||||
- Single-top-level-directory flattening.
|
||||
- `.blend` drag-and-drop import as templates.
|
||||
|
||||
#### `trayicon.js`
|
||||
|
||||
- Creates a tray icon with "Show/Hide" and "Quit".
|
||||
- Intercepts window close and hides to tray when `closeToTray` is enabled.
|
||||
|
||||
#### `notification.js`
|
||||
|
||||
- Tiny writable store consumed by `+page.svelte` and rendered through `Popup.svelte`.
|
||||
|
||||
---
|
||||
|
||||
## 7. Native (Rust) Layer
|
||||
|
||||
`src-tauri/src/lib.rs` exposes seven commands and registers twelve plugins.
|
||||
|
||||
### 7.1 Commands
|
||||
|
||||
| Command | Signature | Behavior |
|
||||
| --- | --- | --- |
|
||||
| `extract_zip` | `(archive_path, target_dir)` | Extracts ZIP entries, creating parent directories |
|
||||
| `extract_tar` | `(archive_path, target_dir)` | Extracts uncompressed TAR |
|
||||
| `extract_tar_gz` | `(archive_path, target_dir)` | Extracts gzip-compressed TAR |
|
||||
| `extract_tar_xz` | `(archive_path, target_dir)` | Extracts xz-compressed TAR |
|
||||
| `extract_tar_bz2` | `(archive_path, target_dir)` | Extracts bzip2-compressed TAR |
|
||||
| `extract_archive` | `(archive_path, target_dir)` | Async dispatcher; detects format by filename; runs in `spawn_blocking` |
|
||||
| `launch_binary` | `(path, args, env?)` | Spawns a detached process with null stdio |
|
||||
|
||||
Format detection in `extract_archive`:
|
||||
|
||||
1. Multi-part suffixes: `.tar.xz` / `.txz`, `.tar.gz` / `.tgz`, `.tar.bz2` / `.tbz2` / `.tbz`.
|
||||
2. Single suffix: `.tar`, `.zip`.
|
||||
3. Unknown suffix: try ZIP, then uncompressed TAR.
|
||||
|
||||
All archive extractors call `strip_single_top_level_directory`, which flattens an archive that produced exactly one directory. This is required because Blender archives contain a versioned wrapping folder.
|
||||
|
||||
### 7.2 Plugins
|
||||
|
||||
Registered in `lib.rs` and declared in the frontend dependency set:
|
||||
|
||||
- `updater`, `upload`, `shell`, `fs`, `persisted-scope`, `store`, `os`, `notification`, `http`, `dialog`, `window-state`, `opener`.
|
||||
|
||||
`window-state` is registered twice (once in the builder chain and once in `setup`); this is redundant but harmless and should be consolidated.
|
||||
|
||||
### 7.3 Process model
|
||||
|
||||
Blender is launched as a detached child process with:
|
||||
|
||||
- `stdin`, `stdout`, `stderr` set to null.
|
||||
- Optional environment variables.
|
||||
- No process tracking or lifecycle supervision.
|
||||
|
||||
Smoothie does not wait for Blender and does not receive exit status.
|
||||
|
||||
---
|
||||
|
||||
## 8. Data Model
|
||||
|
||||
### 8.1 `Settings`
|
||||
|
||||
```js
|
||||
{
|
||||
libraryDir: string, // user-visible library root
|
||||
defaultPlatform: 'windows' | 'linux' | 'macos',
|
||||
defaultArch: string, // host architecture string
|
||||
keepDownloadedArchives: boolean, // default false
|
||||
autoCreateShortcuts: boolean, // default true (Linux desktop entries)
|
||||
theme: 'light' | 'dark', // default 'light'
|
||||
closeToTray: boolean // default true
|
||||
}
|
||||
```
|
||||
|
||||
Defaults are derived at runtime from `appDataDir()`, `plugin-os` platform, and `plugin-os` architecture. Missing persisted fields are patched from defaults on load.
|
||||
|
||||
### 8.2 `BlenderRelease`
|
||||
|
||||
```js
|
||||
{
|
||||
original: string, // original href, e.g. "Blender4.2/"
|
||||
version: string, // major series, e.g. "4.2"
|
||||
fullPath: string, // absolute folder URL
|
||||
lastModified: null, // reserved
|
||||
links: FileLink[]
|
||||
}
|
||||
```
|
||||
|
||||
### 8.3 `FileLink`
|
||||
|
||||
```js
|
||||
{
|
||||
version: string, // full version, e.g. "4.2.1"
|
||||
downloadUrl: string,
|
||||
platform: 'linux' | 'windows' | 'macos',
|
||||
architecture: 'x64' | 'arm64',
|
||||
fileExtension: 'tar.xz' | 'zip' | ...,
|
||||
status: 'pending' | 'downloading' | 'completed' | 'error',
|
||||
percent: number
|
||||
}
|
||||
```
|
||||
|
||||
### 8.4 `blenderVersion`
|
||||
|
||||
```js
|
||||
{
|
||||
version: string,
|
||||
path: string,
|
||||
executable: string,
|
||||
platform: string,
|
||||
favourite: boolean,
|
||||
templates: string[] // template folder names
|
||||
}
|
||||
```
|
||||
|
||||
`installDate` is declared in the JSDoc but not populated.
|
||||
|
||||
### 8.5 `DownloadTask`
|
||||
|
||||
```js
|
||||
{
|
||||
version: string,
|
||||
loaded: number,
|
||||
total: number,
|
||||
percent: number
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 9. Storage Layout
|
||||
|
||||
### 9.1 Library
|
||||
|
||||
`BASE_LIBRARY_DIR = "smoothie-library"` is created under the configured `libraryDir`.
|
||||
|
||||
```text
|
||||
<libraryDir>/
|
||||
└── smoothie-library/
|
||||
├── blender/
|
||||
│ └── <version>/
|
||||
│ ├── blender # or blender.exe
|
||||
│ ├── icon.png # generated
|
||||
│ ├── banner.png # generated
|
||||
│ ├── <major.minor>/
|
||||
│ │ └── scripts/
|
||||
│ │ └── startup/
|
||||
│ │ └── bl_app_templates_system/
|
||||
│ │ └── <Template>/
|
||||
│ │ ├── startup.blend
|
||||
│ │ └── banner.png
|
||||
│ └── ...
|
||||
└── config/
|
||||
└── <version>/ # BLENDER_USER_RESOURCES
|
||||
```
|
||||
|
||||
The `config/<version>` folder is what makes installations independent. Blender writes preferences, startup files, add-ons, and caches there instead of the user's global Blender configuration.
|
||||
|
||||
### 9.2 OS artifacts
|
||||
|
||||
| Platform | Artifact | Location |
|
||||
| --- | --- | --- |
|
||||
| Linux | Desktop entry | `$LOCALDATA/applications/blender-smoothie-<version>.desktop` |
|
||||
| Windows | No shortcut creation implemented | — |
|
||||
| macOS | No shortcut creation implemented | — |
|
||||
|
||||
Desktop entries embed:
|
||||
|
||||
- `BLENDER_USER_RESOURCES=<library>/config/<version>`
|
||||
- `BLENDER_CUSTOM_SPLASH_BANNER=<version>/banner.png`
|
||||
- `Icon=<version>/icon.png`
|
||||
- `MimeType=application/x-blender`
|
||||
|
||||
### 9.3 Settings and favorites
|
||||
|
||||
Both are managed by `plugin-store`:
|
||||
|
||||
- `settings.json` — scalar key/value pairs.
|
||||
- `versions.json` — version string → favorite boolean.
|
||||
|
||||
These files live in the Tauri-managed application data/config location, not in the portable library. Moving machines requires copying the library separately from these preferences.
|
||||
|
||||
---
|
||||
|
||||
## 10. Key Workflows
|
||||
|
||||
### 10.1 Release discovery
|
||||
|
||||
1. Fetch the release index.
|
||||
2. Parse anchors ending in `/` and matching `Blender<number><suffix>/`.
|
||||
3. Ignore versions at or below 2.78.
|
||||
4. Fetch every qualifying folder concurrently.
|
||||
5. Parse `blender-<version>-<platform>-<arch>.<ext>` filenames.
|
||||
6. Group by full version and select the entry matching the configured platform/architecture.
|
||||
7. Sort major series and minor versions descending.
|
||||
8. Publish results to `blenderReleases`.
|
||||
|
||||
### 10.2 Install
|
||||
|
||||
1. User selects a `FileLink` in the Download tab.
|
||||
2. `downloadBlenderVersion` resolves the target directory.
|
||||
3. `plugin-upload` streams the archive into that directory.
|
||||
4. Progress updates are written to `downloadTasksStore` keyed by version.
|
||||
5. `invoke('extract_archive')` runs extraction off the UI thread.
|
||||
6. The single top-level directory is flattened.
|
||||
7. The archive is deleted unless `keepDownloadedArchives` is true.
|
||||
8. `getInstalledVersions()` rescans the library and regenerates artifacts.
|
||||
9. The release row flips to "Installed".
|
||||
|
||||
### 10.3 Launch
|
||||
|
||||
1. User clicks the version tag, double-clicks a card, or launches a template.
|
||||
2. Smoothie verifies the executable with `stat`.
|
||||
3. It computes the isolated config path.
|
||||
4. It selects the banner: version banner or template banner.
|
||||
5. For a template, it passes `--app-template <name>`.
|
||||
6. It invokes `launch_binary` with:
|
||||
- `BLENDER_USER_RESOURCES=<library>/config/<version>`
|
||||
- `BLENDER_CUSTOM_SPLASH_BANNER=<banner.png>`
|
||||
|
||||
### 10.4 Templates
|
||||
|
||||
- Template directories live inside the installed Blender build, not the config directory.
|
||||
- A template is valid when it contains `startup.blend`.
|
||||
- Built-in directories (`Storyboarding`, `2D_Animation`, `Sculpting`, `VFX`, `Video_Editing`) are ignored.
|
||||
- Dropping a `.blend` copies it into a new template directory as `startup.blend`.
|
||||
- Template deletion removes the directory recursively.
|
||||
- Template banners are generated lazily.
|
||||
|
||||
### 10.5 Favorites and selection
|
||||
|
||||
- Favorites are toggled in memory and persisted immediately.
|
||||
- On scan, the previously selected version is refreshed by version string.
|
||||
- If nothing is selected:
|
||||
- Prefer the first favorite.
|
||||
- Otherwise select the first installed version.
|
||||
|
||||
### 10.6 Delete
|
||||
|
||||
1. Remove the version directory recursively.
|
||||
2. Remove the favorite entry.
|
||||
3. Remove the Linux desktop entry.
|
||||
4. Reset any download-progress entry.
|
||||
5. Update the in-memory installed list.
|
||||
|
||||
### 10.7 Set default
|
||||
|
||||
`registerVersion` invokes `launch_binary` with `--register`, letting Blender register `.blend` file associations. The result of the invocation is not awaited or reported.
|
||||
|
||||
### 10.8 Move library
|
||||
|
||||
Implemented in `Settings.svelte`:
|
||||
|
||||
1. Validate the destination is not inside the current library and vice versa.
|
||||
2. Optionally confirm replacement of an existing destination.
|
||||
3. Remove Linux desktop entries for current versions.
|
||||
4. Attempt `rename`; fall back to recursive copy + delete for cross-device moves.
|
||||
5. Persist the new `libraryDir`.
|
||||
6. Rescan and recreate shortcuts.
|
||||
|
||||
### 10.9 Tray and window lifecycle
|
||||
|
||||
- Closing the window hides it when `closeToTray` is true.
|
||||
- Tray menu toggles visibility and can destroy the window.
|
||||
- Window size and position are persisted by `window-state`.
|
||||
- Default window is 1024×576, resizable, bounded to 512×288 minimum and 1920×1080 maximum.
|
||||
|
||||
---
|
||||
|
||||
## 11. Platform Integration
|
||||
|
||||
### Linux (primary, most complete)
|
||||
|
||||
- `.desktop` entries created and removed automatically.
|
||||
- Orphaned entries cleaned up during scans.
|
||||
- `BLENDER_USER_RESOURCES` and splash banner configured in the entry.
|
||||
- Archives typically `.tar.xz`.
|
||||
|
||||
### Windows (partial)
|
||||
|
||||
- Executable name: `blender.exe`.
|
||||
- Archives typically `.zip`.
|
||||
- No Start Menu or desktop shortcut creation.
|
||||
- File association delegated to `blender --register`.
|
||||
|
||||
### macOS (partial)
|
||||
|
||||
- Platform mapping is `darwin → macos`.
|
||||
- Download links use the `macos` filename segment.
|
||||
- Executable discovery currently expects `<version>/blender`, while a standard macOS bundle places it at `Blender.app/Contents/MacOS/Blender`.
|
||||
- No `.app` or Dock integration.
|
||||
|
||||
### Architecture handling
|
||||
|
||||
- Download selection maps `x86_64 → x64` and `arm64 → arm64`.
|
||||
- Settings detection returns the raw OS architecture value.
|
||||
- The two mappings are not fully aligned (for example, `aarch64` is not normalized to `arm64`), which can cause missing download matches on ARM Linux.
|
||||
|
||||
---
|
||||
|
||||
## 12. Security and Capabilities
|
||||
|
||||
### Current posture
|
||||
|
||||
- The webview loads only bundled local content.
|
||||
- HTTP is scoped to `https://*.blender.org`.
|
||||
- Filesystem access is scoped to app directories plus persisted paths granted through the directory picker.
|
||||
- The updater uses a Minisign public key and signed artifacts.
|
||||
|
||||
Relevant capability entry points in `src-tauri/capabilities/desktop.json`:
|
||||
|
||||
- Window show/hide/close/destroy.
|
||||
- Dialog open and confirm.
|
||||
- App-scoped read/write, recursive.
|
||||
- FS scope for `$LOCALDATA/applications`.
|
||||
- Shell spawn.
|
||||
- HTTP for `*.blender.org`.
|
||||
- Store, OS, notification, upload, updater.
|
||||
|
||||
### Security considerations
|
||||
|
||||
1. **CSP is disabled** (`app.security.csp = null`). Tightening it is advisable now that the frontend is fully bundled.
|
||||
2. **`launch_binary` accepts an arbitrary path and arguments** from the frontend. The trust boundary is the local webview, but an allowlist or explicit launch token would reduce blast radius if UI content were ever compromised.
|
||||
3. **No checksum verification** is performed on downloaded Blender archives. `.md5` and `.sha256` files are explicitly ignored during parsing.
|
||||
4. **Archive extraction** uses `mangled_name()` for ZIP entries, which normalizes traversal paths; TAR extraction relies on the `tar` crate's safety checks.
|
||||
5. **Persisted scope** keeps directory grants across restarts; this is intentional for library access but should be reviewed when the library moves.
|
||||
6. **Updater artifacts** must remain signed; the private key is provided only to CI.
|
||||
|
||||
---
|
||||
|
||||
## 13. Build, Packaging, and Release
|
||||
|
||||
### Local development
|
||||
|
||||
```bash
|
||||
bun install
|
||||
bun run tauri dev
|
||||
```
|
||||
|
||||
- Vite serves on `localhost:1420`.
|
||||
- `src-tauri` is excluded from Vite file watching.
|
||||
- Tauri runs `bun run dev` before development and `bun run build` before production builds.
|
||||
|
||||
### Frontend build
|
||||
|
||||
- `adapter-static` prerenders the single route.
|
||||
- `ssr = false` because Tauri has no Node server.
|
||||
- Output is written to `build/` and bundled by Tauri.
|
||||
|
||||
### Packaging
|
||||
|
||||
- `bundle.targets = "all"`.
|
||||
- `createUpdaterArtifacts = true`.
|
||||
- Icons for Linux, Windows, macOS, Android, and iOS are present, though desktop is the supported target.
|
||||
|
||||
### Release workflow
|
||||
|
||||
`.gitea/workflows/build.yml`:
|
||||
|
||||
- Triggers on pushes to `master`.
|
||||
- Builds on `ubuntu-22.04`.
|
||||
- Installs Bun, Rust stable, and Linux system dependencies.
|
||||
- Invokes a Tauri action that publishes a draft Gitea release tagged `app-v__VERSION__`.
|
||||
- Signs update artifacts via CI secrets.
|
||||
- Uploads artifacts to `https://git.floatingpoint.ch`.
|
||||
|
||||
### Update configuration
|
||||
|
||||
- Endpoint: `https://git.floatingpoint.ch/valerio/smoothie/releases/download/latest/update.json`.
|
||||
- Signed with a Minisign key embedded in `tauri.conf.json`.
|
||||
|
||||
---
|
||||
|
||||
## 14. Reliability, Concurrency, and Error Handling
|
||||
|
||||
### Current behavior
|
||||
|
||||
- Service functions generally return `{ success, message, path? }` rather than throwing to the UI.
|
||||
- Known recoverable failures are logged with `console.warn`.
|
||||
- Downloads are tracked by version string, so two concurrent installs of the same version would collide.
|
||||
- There is no global install queue or lock.
|
||||
- Partial extraction leaves files behind; only a completely empty target directory is cleaned after a download failure.
|
||||
- Store writes are immediate but not transactional across multiple keys.
|
||||
- Installed-version scanning treats the filesystem as authoritative and tolerates malformed version folders by skipping them.
|
||||
- A missing executable causes the version folder to be skipped, with removal commented out.
|
||||
|
||||
### Recommended invariants for future work
|
||||
|
||||
1. One active operation per version.
|
||||
2. Install state machine: `idle → downloading → verifying → extracting → finalizing → installed | failed`.
|
||||
3. Atomic finalize: extract to a temporary directory, then rename into place.
|
||||
4. Cleanup of partial state on failure.
|
||||
5. Explicit cancellation through an operation ID.
|
||||
|
||||
---
|
||||
|
||||
## 15. Known Limitations and Architectural Risks
|
||||
|
||||
| Area | Issue | Impact |
|
||||
| --- | --- | --- |
|
||||
| Release discovery | HTML scraping with regexes tied to current site markup | Breaks if Blender changes its index or filenames |
|
||||
| Release discovery | Fetches every major-version folder on every launch; no cache | Startup latency and N+1 requests |
|
||||
| Downloads | No checksum or signature verification | Supply-chain risk |
|
||||
| Downloads | No cancellation despite a "Cancel" label | Confusing UX and orphaned work |
|
||||
| Extraction | Not atomic; failure can leave partial installs | Library can contain unusable versions |
|
||||
| Concurrency | No per-version lock or queue | Duplicate downloads and progress collisions |
|
||||
| macOS | Executable discovery does not handle `.app` bundles | macOS installations are likely unusable |
|
||||
| Architecture | `aarch64` is not normalized to `arm64` consistently | ARM Linux builds may not appear |
|
||||
| Launch | Detached processes are not tracked | No exit status, crash detection, or running indicator |
|
||||
| Registration | `--register` result is not awaited | UI may report success without confirmation |
|
||||
| Portability | Settings and favorites live outside the library | Full setup is not completely portable |
|
||||
| Security | CSP disabled; arbitrary binary launch command | Hardening opportunity |
|
||||
| Testing | No automated tests or test harness | Regressions rely on manual verification |
|
||||
| Versioning | `package.json` and `tauri.conf.json` are `0.1.2`; `Cargo.toml` is `0.1.0` | Inconsistent release metadata |
|
||||
| Version scan | `exists()` is not awaited in one guard | Incorrect truthiness for missing library paths |
|
||||
| Window state | Plugin is registered twice | Redundant initialization |
|
||||
|
||||
---
|
||||
|
||||
## 16. Extension Points
|
||||
|
||||
The architecture anticipates the following extensions without structural change:
|
||||
|
||||
- **Additional download sources / mirrors.** Add a source adapter that produces `BlenderRelease[]`.
|
||||
- **Checksum verification.** Add a verification step between download and extraction.
|
||||
- **Install queue.** Introduce an operation manager keyed by version, with cancellation and persisted job state.
|
||||
- **Platform-specific shortcut adapters.** Extend the current Linux-only `.desktop` logic with Windows `.lnk` and macOS `.app`/alias handling.
|
||||
- **Typed domain layer.** Migrate JSDoc types to TypeScript and define a typed IPC contract.
|
||||
- **Library manifest.** Add an optional manifest for migration, integrity checks, and machine-readable provenance while keeping the filesystem authoritative.
|
||||
- **Plugin management.** Extend the library model with per-version add-on directories and enable/disable state.
|
||||
- **Template metadata.** Store display names, descriptions, and thumbnails alongside `startup.blend`.
|
||||
|
||||
---
|
||||
|
||||
## 17. Architectural Invariants
|
||||
|
||||
These should remain true unless the architecture is deliberately revised:
|
||||
|
||||
1. No installed-version state is stored outside the library except user preferences and favorites.
|
||||
2. Each Blender launch receives a version-specific `BLENDER_USER_RESOURCES`.
|
||||
3. Every installed version is discoverable by scanning `<library>/smoothie-library/blender`.
|
||||
4. Rust remains a capability layer, not a business-logic layer.
|
||||
5. Release discovery and installation are separate stages, joined by `FileLink`.
|
||||
6. UI state flows from stores; components do not maintain duplicate authoritative copies.
|
||||
7. Network access remains limited to Blender hosts and the updater endpoint.
|
||||
8. The library remains relocatable and transferable as a directory tree.
|
||||
|
||||
---
|
||||
|
||||
## 18. Glossary
|
||||
|
||||
| Term | Meaning |
|
||||
| --- | --- |
|
||||
| Library | `<libraryDir>/smoothie-library`, the portable root containing builds and configs |
|
||||
| Build / Version | An extracted Blender installation under `blender/<version>` |
|
||||
| Template | A folder containing `startup.blend`, launchable via `--app-template` |
|
||||
| Favorite | User-marked version persisted in `versions.json` |
|
||||
| Default version | The build registered with the OS via `blender --register` |
|
||||
| Config isolation | Per-version `BLENDER_USER_RESOURCES` directory |
|
||||
| Splash banner | Generated PNG passed through `BLENDER_CUSTOM_SPLASH_BANNER` |
|
||||
|
After Width: | Height: | Size: 113 MiB |
@@ -4,40 +4,42 @@
|
||||
"": {
|
||||
"name": "smoothie",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2",
|
||||
"@tauri-apps/plugin-dialog": "~2",
|
||||
"@tauri-apps/plugin-fs": "~2",
|
||||
"@tauri-apps/plugin-http": "^2.5.7",
|
||||
"@tauri-apps/plugin-notification": "~2",
|
||||
"@tauri-apps/plugin-opener": "^2",
|
||||
"@tauri-apps/api": "^2.11.0",
|
||||
"@tauri-apps/plugin-dialog": "~2.7.1",
|
||||
"@tauri-apps/plugin-fs": "~2.5.1",
|
||||
"@tauri-apps/plugin-http": "^2.5.9",
|
||||
"@tauri-apps/plugin-notification": "~2.3.3",
|
||||
"@tauri-apps/plugin-opener": "^2.5.4",
|
||||
"@tauri-apps/plugin-os": "^2.3.2",
|
||||
"@tauri-apps/plugin-shell": "~2",
|
||||
"@tauri-apps/plugin-store": "~2",
|
||||
"@tauri-apps/plugin-upload": "~2",
|
||||
"@tauri-apps/plugin-window-state": "~2",
|
||||
"@webtui/css": "^0.1.6",
|
||||
"@tauri-apps/plugin-shell": "~2.3.5",
|
||||
"@tauri-apps/plugin-store": "~2.4.3",
|
||||
"@tauri-apps/plugin-updater": "~2.10.1",
|
||||
"@tauri-apps/plugin-upload": "~2.4.0",
|
||||
"@tauri-apps/plugin-window-state": "~2.4.1",
|
||||
"@webtui/css": "^0.1.7",
|
||||
"figlet": "^1.11.0",
|
||||
"svelte-dropzone-runes": "^1.0.7",
|
||||
"svelte-splitpanes": "^8.0.12",
|
||||
"svelte-tabs": "^1.1.0",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/compat": "^2.0.2",
|
||||
"@eslint/js": "^9.39.2",
|
||||
"@sveltejs/adapter-static": "^3.0.6",
|
||||
"@sveltejs/kit": "^2.9.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
||||
"@tauri-apps/cli": "^2",
|
||||
"@types/node": "^22",
|
||||
"eslint": "^9.39.2",
|
||||
"@eslint/compat": "^2.1.0",
|
||||
"@eslint/js": "^9.39.4",
|
||||
"@sveltejs/adapter-static": "^3.0.10",
|
||||
"@sveltejs/kit": "^2.64.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^5.1.1",
|
||||
"@tauri-apps/cli": "^2.11.2",
|
||||
"@types/node": "^22.19.20",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-svelte": "^3.14.0",
|
||||
"globals": "^17.3.0",
|
||||
"prettier": "^3.8.1",
|
||||
"prettier-plugin-svelte": "^3.4.1",
|
||||
"svelte": "^5.0.0",
|
||||
"svelte-check": "^4.0.0",
|
||||
"typescript": "~5.6.2",
|
||||
"vite": "^6.0.3",
|
||||
"eslint-plugin-svelte": "^3.19.0",
|
||||
"globals": "^17.6.0",
|
||||
"prettier": "^3.8.4",
|
||||
"prettier-plugin-svelte": "^3.5.2",
|
||||
"svelte": "^5.56.3",
|
||||
"svelte-check": "^4.6.0",
|
||||
"typescript": "~5.6.3",
|
||||
"vite": "^6.4.3",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -98,17 +100,17 @@
|
||||
|
||||
"@eslint-community/regexpp": ["@eslint-community/regexpp@4.12.2", "", {}, "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew=="],
|
||||
|
||||
"@eslint/compat": ["@eslint/compat@2.0.2", "", { "dependencies": { "@eslint/core": "^1.1.0" }, "peerDependencies": { "eslint": "^8.40 || 9 || 10" }, "optionalPeers": ["eslint"] }, "sha512-pR1DoD0h3HfF675QZx0xsyrsU8q70Z/plx7880NOhS02NuWLgBCOMDL787nUeQ7EWLkxv3bPQJaarjcPQb2Dwg=="],
|
||||
"@eslint/compat": ["@eslint/compat@2.1.0", "", { "dependencies": { "@eslint/core": "^1.2.1" }, "peerDependencies": { "eslint": "^8.40 || 9 || 10" }, "optionalPeers": ["eslint"] }, "sha512-LgaSCymEpw7tF53xvDw9SNsraPb1IBHxpdABIOM0hW8UAlP8znrjYtuxfR58FSJ3L9BhwD+FaPRFQpZq84Nh6g=="],
|
||||
|
||||
"@eslint/config-array": ["@eslint/config-array@0.21.1", "", { "dependencies": { "@eslint/object-schema": "^2.1.7", "debug": "^4.3.1", "minimatch": "^3.1.2" } }, "sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA=="],
|
||||
"@eslint/config-array": ["@eslint/config-array@0.21.2", "", { "dependencies": { "@eslint/object-schema": "^2.1.7", "debug": "^4.3.1", "minimatch": "^3.1.5" } }, "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw=="],
|
||||
|
||||
"@eslint/config-helpers": ["@eslint/config-helpers@0.4.2", "", { "dependencies": { "@eslint/core": "^0.17.0" } }, "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw=="],
|
||||
|
||||
"@eslint/core": ["@eslint/core@1.1.0", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-/nr9K9wkr3P1EzFTdFdMoLuo1PmIxjmwvPozwoSodjNBdefGujXQUF93u1DDZpEaTuDvMsIQddsd35BwtrW9Xw=="],
|
||||
"@eslint/core": ["@eslint/core@1.2.1", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ=="],
|
||||
|
||||
"@eslint/eslintrc": ["@eslint/eslintrc@3.3.4", "", { "dependencies": { "ajv": "^6.14.0", "debug": "^4.3.2", "espree": "^10.0.1", "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.1", "minimatch": "^3.1.3", "strip-json-comments": "^3.1.1" } }, "sha512-4h4MVF8pmBsncB60r0wSJiIeUKTSD4m7FmTFThG8RHlsg9ajqckLm9OraguFGZE4vVdpiI1Q4+hFnisopmG6gQ=="],
|
||||
"@eslint/eslintrc": ["@eslint/eslintrc@3.3.6", "", { "dependencies": { "ajv": "^6.14.0", "debug": "^4.3.2", "espree": "^10.0.1", "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.3.0", "minimatch": "^3.1.5", "strip-json-comments": "^3.1.1" } }, "sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA=="],
|
||||
|
||||
"@eslint/js": ["@eslint/js@9.39.3", "", {}, "sha512-1B1VkCq6FuUNlQvlBYb+1jDu/gV297TIs/OeiaSR9l1H27SVW55ONE1e1Vp16NqP683+xEGzxYtv4XCiDPaQiw=="],
|
||||
"@eslint/js": ["@eslint/js@9.39.5", "", {}, "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A=="],
|
||||
|
||||
"@eslint/object-schema": ["@eslint/object-schema@2.1.7", "", {}, "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA=="],
|
||||
|
||||
@@ -134,6 +136,12 @@
|
||||
|
||||
"@polka/url": ["@polka/url@1.0.0-next.29", "", {}, "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww=="],
|
||||
|
||||
"@publint/pack": ["@publint/pack@0.1.4", "", {}, "sha512-HDVTWq3H0uTXiU0eeSQntcVUTPP3GamzeXI41+x7uU9J65JgWQh3qWZHblR1i0npXfFtF+mxBiU2nJH8znxWnQ=="],
|
||||
|
||||
"@rollup/plugin-typescript": ["@rollup/plugin-typescript@12.3.0", "", { "dependencies": { "@rollup/pluginutils": "^5.1.0", "resolve": "^1.22.1" }, "peerDependencies": { "rollup": "^2.14.0||^3.0.0||^4.0.0", "tslib": "*", "typescript": ">=3.7.0" }, "optionalPeers": ["rollup", "tslib"] }, "sha512-7DP0/p7y3t67+NabT9f8oTBFE6gGkto4SA6Np2oudYmZE/m1dt8RB0SjL1msMxFpLo631qjRCcBlAbq1ml/Big=="],
|
||||
|
||||
"@rollup/pluginutils": ["@rollup/pluginutils@5.4.0", "", { "dependencies": { "@types/estree": "^1.0.0", "estree-walker": "^2.0.2", "picomatch": "^4.0.2" }, "peerDependencies": { "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0" }, "optionalPeers": ["rollup"] }, "sha512-MfPp06CjRLfXQ3wY0R8vJDYBy/MvVcc9OulEfR0B8Iv9ko+GCNaRZ+EpJYFl27LhKsZK0o420sYCRHCjfCgeUg=="],
|
||||
|
||||
"@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.59.0", "", { "os": "android", "cpu": "arm" }, "sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg=="],
|
||||
|
||||
"@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.59.0", "", { "os": "android", "cpu": "arm64" }, "sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q=="],
|
||||
@@ -186,57 +194,63 @@
|
||||
|
||||
"@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
|
||||
|
||||
"@sveltejs/acorn-typescript": ["@sveltejs/acorn-typescript@1.0.9", "", { "peerDependencies": { "acorn": "^8.9.0" } }, "sha512-lVJX6qEgs/4DOcRTpo56tmKzVPtoWAaVbL4hfO7t7NVwl9AAXzQR6cihesW1BmNMPl+bK6dreu2sOKBP2Q9CIA=="],
|
||||
"@sveltejs/acorn-typescript": ["@sveltejs/acorn-typescript@1.0.10", "", { "peerDependencies": { "acorn": "^8.9.0" } }, "sha512-4WfKk68eTih+MiJD4fSbxN7E8kVBmTMPWHUPYjvl2N0rMs53YLTT8/YjKU5Dtnz5LqDjl7LEw4U7lXR2W3J5WA=="],
|
||||
|
||||
"@sveltejs/adapter-static": ["@sveltejs/adapter-static@3.0.10", "", { "peerDependencies": { "@sveltejs/kit": "^2.0.0" } }, "sha512-7D9lYFWJmB7zxZyTE/qxjksvMqzMuYrrsyh1f4AlZqeZeACPRySjbC3aFiY55wb1tWUaKOQG9PVbm74JcN2Iew=="],
|
||||
|
||||
"@sveltejs/kit": ["@sveltejs/kit@2.53.2", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@sveltejs/acorn-typescript": "^1.0.5", "@types/cookie": "^0.6.0", "acorn": "^8.14.1", "cookie": "^0.6.0", "devalue": "^5.6.3", "esm-env": "^1.2.2", "kleur": "^4.1.5", "magic-string": "^0.30.5", "mrmime": "^2.0.0", "set-cookie-parser": "^3.0.0", "sirv": "^3.0.0" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0 || ^6.0.0-next.0 || ^7.0.0", "svelte": "^4.0.0 || ^5.0.0-next.0", "typescript": "^5.3.3", "vite": "^5.0.3 || ^6.0.0 || ^7.0.0-beta.0 || ^8.0.0" }, "optionalPeers": ["@opentelemetry/api", "typescript"], "bin": { "svelte-kit": "svelte-kit.js" } }, "sha512-M+MqAvFve12T1HWws/2npP/s3hFtyjw3GB/OXW/8a1jZBk48qnvPJrtgE+VOMc3RnjUMxc4mv/vQ73nvj2uNMg=="],
|
||||
"@sveltejs/kit": ["@sveltejs/kit@2.70.1", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@sveltejs/acorn-typescript": "^1.0.9", "@types/cookie": "^0.6.0", "acorn": "^8.16.0", "cookie": "^0.6.0", "devalue": "^5.8.1", "esm-env": "^1.2.2", "kleur": "^4.1.5", "magic-string": "^0.30.5", "mrmime": "^2.0.0", "set-cookie-parser": "^3.0.0", "sirv": "^3.0.0" }, "peerDependencies": { "@opentelemetry/api": "^1.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0 || ^6.0.0-next.0 || ^7.0.0", "svelte": "^4.0.0 || ^5.0.0-next.0", "typescript": "^5.3.3 || ^6.0.0", "vite": "^5.0.3 || ^6.0.0 || ^7.0.0-beta.0 || ^8.0.0" }, "optionalPeers": ["@opentelemetry/api", "typescript"], "bin": { "svelte-kit": "svelte-kit.js" } }, "sha512-nY9SPHGOZro3doud9vZXDBwl9tCZIouuJztjgSHs6PAIrv9M/z5O7eOhPV5xU7CgVHA976Jwu3BA1hIFvXztkA=="],
|
||||
|
||||
"@sveltejs/load-config": ["@sveltejs/load-config@0.2.1", "", {}, "sha512-5m3B2cbqQ4TbwW6Xkh66Ntw6dD7gNc77cCxABTTesWcq9jxIzMgTk97pZx5vEtvQx8iokgi7GIphqZe+PGwcZA=="],
|
||||
|
||||
"@sveltejs/package": ["@sveltejs/package@2.5.8", "", { "dependencies": { "chokidar": "^5.0.0", "kleur": "^4.1.5", "sade": "^1.8.1", "semver": "^7.5.4", "svelte2tsx": "~0.7.55" }, "peerDependencies": { "svelte": "^3.44.0 || ^4.0.0 || ^5.0.0-next.1" }, "bin": { "svelte-package": "svelte-package.js" } }, "sha512-zeBbsXYvHiBu56v4gJaGQoEHzg96w0E1j3dOMX8vo56s6vI5eQ57ZEZhudjwjnegnVitRRu5MrmhO0eNvaonIw=="],
|
||||
|
||||
"@sveltejs/vite-plugin-svelte": ["@sveltejs/vite-plugin-svelte@5.1.1", "", { "dependencies": { "@sveltejs/vite-plugin-svelte-inspector": "^4.0.1", "debug": "^4.4.1", "deepmerge": "^4.3.1", "kleur": "^4.1.5", "magic-string": "^0.30.17", "vitefu": "^1.0.6" }, "peerDependencies": { "svelte": "^5.0.0", "vite": "^6.0.0" } }, "sha512-Y1Cs7hhTc+a5E9Va/xwKlAJoariQyHY+5zBgCZg4PFWNYQ1nMN9sjK1zhw1gK69DuqVP++sht/1GZg1aRwmAXQ=="],
|
||||
|
||||
"@sveltejs/vite-plugin-svelte-inspector": ["@sveltejs/vite-plugin-svelte-inspector@4.0.1", "", { "dependencies": { "debug": "^4.3.7" }, "peerDependencies": { "@sveltejs/vite-plugin-svelte": "^5.0.0", "svelte": "^5.0.0", "vite": "^6.0.0" } }, "sha512-J/Nmb2Q2y7mck2hyCX4ckVHcR5tu2J+MtBEQqpDrrgELZ2uvraQcK/ioCV61AqkdXFgriksOKIceDcQmqnGhVw=="],
|
||||
|
||||
"@tauri-apps/api": ["@tauri-apps/api@2.10.1", "", {}, "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw=="],
|
||||
"@tauri-apps/api": ["@tauri-apps/api@2.11.1", "", {}, "sha512-M2FPuYND2m+wh5hfW9ZpSdxMPdEJovPBWwoHJmwUpysTYNHaOkVFN419m/K0LIgjb/7KU2vBgsUepJWugQCvAA=="],
|
||||
|
||||
"@tauri-apps/cli": ["@tauri-apps/cli@2.10.0", "", { "optionalDependencies": { "@tauri-apps/cli-darwin-arm64": "2.10.0", "@tauri-apps/cli-darwin-x64": "2.10.0", "@tauri-apps/cli-linux-arm-gnueabihf": "2.10.0", "@tauri-apps/cli-linux-arm64-gnu": "2.10.0", "@tauri-apps/cli-linux-arm64-musl": "2.10.0", "@tauri-apps/cli-linux-riscv64-gnu": "2.10.0", "@tauri-apps/cli-linux-x64-gnu": "2.10.0", "@tauri-apps/cli-linux-x64-musl": "2.10.0", "@tauri-apps/cli-win32-arm64-msvc": "2.10.0", "@tauri-apps/cli-win32-ia32-msvc": "2.10.0", "@tauri-apps/cli-win32-x64-msvc": "2.10.0" }, "bin": { "tauri": "tauri.js" } }, "sha512-ZwT0T+7bw4+DPCSWzmviwq5XbXlM0cNoleDKOYPFYqcZqeKY31KlpoMW/MOON/tOFBPgi31a2v3w9gliqwL2+Q=="],
|
||||
"@tauri-apps/cli": ["@tauri-apps/cli@2.11.4", "", { "optionalDependencies": { "@tauri-apps/cli-darwin-arm64": "2.11.4", "@tauri-apps/cli-darwin-x64": "2.11.4", "@tauri-apps/cli-linux-arm-gnueabihf": "2.11.4", "@tauri-apps/cli-linux-arm64-gnu": "2.11.4", "@tauri-apps/cli-linux-arm64-musl": "2.11.4", "@tauri-apps/cli-linux-riscv64-gnu": "2.11.4", "@tauri-apps/cli-linux-x64-gnu": "2.11.4", "@tauri-apps/cli-linux-x64-musl": "2.11.4", "@tauri-apps/cli-win32-arm64-msvc": "2.11.4", "@tauri-apps/cli-win32-ia32-msvc": "2.11.4", "@tauri-apps/cli-win32-x64-msvc": "2.11.4" }, "bin": { "tauri": "tauri.js" } }, "sha512-R8xGtMpwyetawSqm9kYOuMmEqkhUbvcUy8n0aNXIxollKBLESUu5f4Fx+64hgASYm1H+jSWq6jCW6zqTnH6hqQ=="],
|
||||
|
||||
"@tauri-apps/cli-darwin-arm64": ["@tauri-apps/cli-darwin-arm64@2.10.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-avqHD4HRjrMamE/7R/kzJPcAJnZs0IIS+1nkDP5b+TNBn3py7N2aIo9LIpy+VQq0AkN8G5dDpZtOOBkmWt/zjA=="],
|
||||
"@tauri-apps/cli-darwin-arm64": ["@tauri-apps/cli-darwin-arm64@2.11.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-1ryOF3ZhpZ/nemHV5zVwBQBz9jDGKmKPvWPADOhc83ig0P4bMc2iER4NbC6r9sjeIZ6RVQ4g3RZIYvezhcl4TQ=="],
|
||||
|
||||
"@tauri-apps/cli-darwin-x64": ["@tauri-apps/cli-darwin-x64@2.10.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-keDmlvJRStzVFjZTd0xYkBONLtgBC9eMTpmXnBXzsHuawV2q9PvDo2x6D5mhuoMVrJ9QWjgaPKBBCFks4dK71Q=="],
|
||||
"@tauri-apps/cli-darwin-x64": ["@tauri-apps/cli-darwin-x64@2.11.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-uFsGQAAfuyz1k/yGLmkWfkBlgKAqZfxqlHmLWx81QU27RJWfmbNHCIq8T8w1e+VClleIuZUjpHWfoE4E3DLo3A=="],
|
||||
|
||||
"@tauri-apps/cli-linux-arm-gnueabihf": ["@tauri-apps/cli-linux-arm-gnueabihf@2.10.0", "", { "os": "linux", "cpu": "arm" }, "sha512-e5u0VfLZsMAC9iHaOEANumgl6lfnJx0Dtjkd8IJpysZ8jp0tJ6wrIkto2OzQgzcYyRCKgX72aKE0PFgZputA8g=="],
|
||||
"@tauri-apps/cli-linux-arm-gnueabihf": ["@tauri-apps/cli-linux-arm-gnueabihf@2.11.4", "", { "os": "linux", "cpu": "arm" }, "sha512-IaHZn5CdBL21oUmjiVOS1ctw6Ip1O0pjp70FwOWmYz1myWe0SY96ZIj2FYf7pT0m8bI2h/hrs5ZbEXXh44/MkQ=="],
|
||||
|
||||
"@tauri-apps/cli-linux-arm64-gnu": ["@tauri-apps/cli-linux-arm64-gnu@2.10.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-YrYYk2dfmBs5m+OIMCrb+JH/oo+4FtlpcrTCgiFYc7vcs6m3QDd1TTyWu0u01ewsCtK2kOdluhr/zKku+KP7HA=="],
|
||||
"@tauri-apps/cli-linux-arm64-gnu": ["@tauri-apps/cli-linux-arm64-gnu@2.11.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-N41/ukTRVe6XSuUTESuFdGeOW2i7k62tK+6gHK5Kd5/q5RPvvi19GaWAVPPb9u95HSGmTChSolBfzynUsssFaA=="],
|
||||
|
||||
"@tauri-apps/cli-linux-arm64-musl": ["@tauri-apps/cli-linux-arm64-musl@2.10.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-GUoPdVJmrJRIXFfW3Rkt+eGK9ygOdyISACZfC/bCSfOnGt8kNdQIQr5WRH9QUaTVFIwxMlQyV3m+yXYP+xhSVA=="],
|
||||
"@tauri-apps/cli-linux-arm64-musl": ["@tauri-apps/cli-linux-arm64-musl@2.11.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-v277UnT/fB64xAfSroL5N3Km3tLmvATWqJJw/wRI+g6o+HkeD0slyE7gOhNs1MbjE41R7bQOTxMVoL3aomUJmw=="],
|
||||
|
||||
"@tauri-apps/cli-linux-riscv64-gnu": ["@tauri-apps/cli-linux-riscv64-gnu@2.10.0", "", { "os": "linux", "cpu": "none" }, "sha512-JO7s3TlSxshwsoKNCDkyvsx5gw2QAs/Y2GbR5UE2d5kkU138ATKoPOtxn8G1fFT1aDW4LH0rYAAfBpGkDyJJnw=="],
|
||||
"@tauri-apps/cli-linux-riscv64-gnu": ["@tauri-apps/cli-linux-riscv64-gnu@2.11.4", "", { "os": "linux", "cpu": "none" }, "sha512-qqgNkQ2u1yZHxjhxsZaxUtRDW8dIqIYm33rx/mzwQv0SfY9x1B+iraj8vWeFiXjjSVVhEMepXSOts1TqPzvXNQ=="],
|
||||
|
||||
"@tauri-apps/cli-linux-x64-gnu": ["@tauri-apps/cli-linux-x64-gnu@2.10.0", "", { "os": "linux", "cpu": "x64" }, "sha512-Uvh4SUUp4A6DVRSMWjelww0GnZI3PlVy7VS+DRF5napKuIehVjGl9XD0uKoCoxwAQBLctvipyEK+pDXpJeoHng=="],
|
||||
"@tauri-apps/cli-linux-x64-gnu": ["@tauri-apps/cli-linux-x64-gnu@2.11.4", "", { "os": "linux", "cpu": "x64" }, "sha512-2VRNWl84FOH0m2giiDkO2h0QXlcMJeX+zJDpI5kDIQAx6s+geF3v48F4DXfJez4GS/FdoDGnPnw1C2iYGbQ7bQ=="],
|
||||
|
||||
"@tauri-apps/cli-linux-x64-musl": ["@tauri-apps/cli-linux-x64-musl@2.10.0", "", { "os": "linux", "cpu": "x64" }, "sha512-AP0KRK6bJuTpQ8kMNWvhIpKUkQJfcPFeba7QshOQZjJ8wOS6emwTN4K5g/d3AbCMo0RRdnZWwu67MlmtJyxC1Q=="],
|
||||
"@tauri-apps/cli-linux-x64-musl": ["@tauri-apps/cli-linux-x64-musl@2.11.4", "", { "os": "linux", "cpu": "x64" }, "sha512-o9GyhYor/nc7xarmwDE3ka2szuW3uuZzXjHWh64Q8YX5AtSgxdQkFWzrY4O8KiGtVNvFBI14H3Q49Qj5TOIP/A=="],
|
||||
|
||||
"@tauri-apps/cli-win32-arm64-msvc": ["@tauri-apps/cli-win32-arm64-msvc@2.10.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-97DXVU3dJystrq7W41IX+82JEorLNY+3+ECYxvXWqkq7DBN6FsA08x/EFGE8N/b0LTOui9X2dvpGGoeZKKV08g=="],
|
||||
"@tauri-apps/cli-win32-arm64-msvc": ["@tauri-apps/cli-win32-arm64-msvc@2.11.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-ld5Ehb598m0VkYyylRPNeCFsBe/km0jxis6KgMpl3IGY6I/i1RwQXO05I1AsXUXO2WC6AvB/Lw4qTf/asiuEiQ=="],
|
||||
|
||||
"@tauri-apps/cli-win32-ia32-msvc": ["@tauri-apps/cli-win32-ia32-msvc@2.10.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-EHyQ1iwrWy1CwMalEm9z2a6L5isQ121pe7FcA2xe4VWMJp+GHSDDGvbTv/OPdkt2Lyr7DAZBpZHM6nvlHXEc4A=="],
|
||||
"@tauri-apps/cli-win32-ia32-msvc": ["@tauri-apps/cli-win32-ia32-msvc@2.11.4", "", { "os": "win32", "cpu": "ia32" }, "sha512-12Hxi0XX/H5VFxO/bGgHkFWhml9VMgEOu9CidjeCeTNQ1l6fpUlbiGgSP7CLI3PFtW9/FfbeHieZ+kyWK5H7CA=="],
|
||||
|
||||
"@tauri-apps/cli-win32-x64-msvc": ["@tauri-apps/cli-win32-x64-msvc@2.10.0", "", { "os": "win32", "cpu": "x64" }, "sha512-NTpyQxkpzGmU6ceWBTY2xRIEaS0ZLbVx1HE1zTA3TY/pV3+cPoPPOs+7YScr4IMzXMtOw7tLw5LEXo5oIG3qaQ=="],
|
||||
"@tauri-apps/cli-win32-x64-msvc": ["@tauri-apps/cli-win32-x64-msvc@2.11.4", "", { "os": "win32", "cpu": "x64" }, "sha512-+vDiqBIU5dMISg/wNvX3sF+ZHfgJGJ5T0AcO+EHNXV9GGAG+P5fzodlDXD3QdKCRgZxMoCm5PPvj3BqLNjBthw=="],
|
||||
|
||||
"@tauri-apps/plugin-dialog": ["@tauri-apps/plugin-dialog@2.6.0", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-q4Uq3eY87TdcYzXACiYSPhmpBA76shgmQswGkSVio4C82Sz2W4iehe9TnKYwbq7weHiL88Yw19XZm7v28+Micg=="],
|
||||
"@tauri-apps/plugin-dialog": ["@tauri-apps/plugin-dialog@2.7.2", "", { "dependencies": { "@tauri-apps/api": "^2.11.0" } }, "sha512-pX0IGm1I3I6wc+zeKYcq1GSqogK6okCNX5fOdaNU5ab1AjGS6l1E5wFNjEb7meg7ZFSp0JUs+0jQGQNyOvLrsg=="],
|
||||
|
||||
"@tauri-apps/plugin-fs": ["@tauri-apps/plugin-fs@2.4.5", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-dVxWWGE6VrOxC7/jlhyE+ON/Cc2REJlM35R3PJX3UvFw2XwYhLGQVAIyrehenDdKjotipjYEVc4YjOl3qq90fA=="],
|
||||
"@tauri-apps/plugin-fs": ["@tauri-apps/plugin-fs@2.5.1", "", { "dependencies": { "@tauri-apps/api": "^2.11.0" } }, "sha512-9Lz+Jopp6QyeEWhlpkMx4R/+P9HgR+AVAI4vOZhlT8Xaymtz8iVI/Ov984/XTqgJz/5gz5NretqPB/XEMS3NhQ=="],
|
||||
|
||||
"@tauri-apps/plugin-http": ["@tauri-apps/plugin-http@2.5.7", "", { "dependencies": { "@tauri-apps/api": "^2.10.1" } }, "sha512-+F2lEH/c9b0zSsOXKq+5hZNcd9F4IIKCK1T17RqMwpCmVnx2aoqY8yIBccCd25HTYUb3j6NPVbRax/m00hKG8A=="],
|
||||
"@tauri-apps/plugin-http": ["@tauri-apps/plugin-http@2.5.9", "", { "dependencies": { "@tauri-apps/api": "^2.11.0" } }, "sha512-lCiY0+vs4HvIUSvZrBs8TC3TiCB0MOPRmiUjTq4prW7SlcJE2jdLeT6KBsJrT9Tlplufl7W1pY6SFAO3gCWxDA=="],
|
||||
|
||||
"@tauri-apps/plugin-notification": ["@tauri-apps/plugin-notification@2.3.3", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-Zw+ZH18RJb41G4NrfHgIuofJiymusqN+q8fGUIIV7vyCH+5sSn5coqRv/MWB9qETsUs97vmU045q7OyseCV3Qg=="],
|
||||
|
||||
"@tauri-apps/plugin-opener": ["@tauri-apps/plugin-opener@2.5.3", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-CCcUltXMOfUEArbf3db3kCE7Ggy1ExBEBl51Ko2ODJ6GDYHRp1nSNlQm5uNCFY5k7/ufaK5Ib3Du/Zir19IYQQ=="],
|
||||
"@tauri-apps/plugin-opener": ["@tauri-apps/plugin-opener@2.5.4", "", { "dependencies": { "@tauri-apps/api": "^2.11.0" } }, "sha512-1HnPkb+AmgO29HBazm4uPLKB+r7zzcTBW1d0fyYp1uP+jwtpoiNDGKMMzz58SFp49nOIrxdE3aUJtT57lfO9CQ=="],
|
||||
|
||||
"@tauri-apps/plugin-os": ["@tauri-apps/plugin-os@2.3.2", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-n+nXWeuSeF9wcEsSPmRnBEGrRgOy6jjkSU+UVCOV8YUGKb2erhDOxis7IqRXiRVHhY8XMKks00BJ0OAdkpf6+A=="],
|
||||
|
||||
"@tauri-apps/plugin-shell": ["@tauri-apps/plugin-shell@2.3.5", "", { "dependencies": { "@tauri-apps/api": "^2.10.1" } }, "sha512-jewtULhiQ7lI7+owCKAjc8tYLJr92U16bPOeAa472LHJdgaibLP83NcfAF2e+wkEcA53FxKQAZ7byDzs2eeizg=="],
|
||||
|
||||
"@tauri-apps/plugin-store": ["@tauri-apps/plugin-store@2.4.2", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-0ClHS50Oq9HEvLPhNzTNFxbWVOqoAp3dRvtewQBeqfIQ0z5m3JRnOISIn2ZVPCrQC0MyGyhTS9DWhHjpigQE7A=="],
|
||||
"@tauri-apps/plugin-store": ["@tauri-apps/plugin-store@2.4.4", "", { "dependencies": { "@tauri-apps/api": "^2.11.0" } }, "sha512-oxSMaj/QpVfJcBMYX5aOQV94fWvga0MwQMfD6TLlbK2dh+ShPWAzefd8HWXhvOKjPRJdGVAkW7ZGO76JzzjaDA=="],
|
||||
|
||||
"@tauri-apps/plugin-updater": ["@tauri-apps/plugin-updater@2.10.1", "", { "dependencies": { "@tauri-apps/api": "^2.10.1" } }, "sha512-NFYMg+tWOZPJdzE/PpFj2qfqwAWwNS3kXrb1tm1gnBJ9mYzZ4WDRrwy8udzWoAnfGCHLuePNLY1WVCNHnh3eRA=="],
|
||||
|
||||
"@tauri-apps/plugin-upload": ["@tauri-apps/plugin-upload@2.4.0", "", { "dependencies": { "@tauri-apps/api": "^2.8.0" } }, "sha512-ebhsqXmiELnpKu2p46EZG14UKxvbVP28BpJBiHzR+quWVrMxm40518PXTDlXXcJUW5CkbmP/6RL5ERSVXBL8sQ=="],
|
||||
|
||||
@@ -248,11 +262,11 @@
|
||||
|
||||
"@types/json-schema": ["@types/json-schema@7.0.15", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="],
|
||||
|
||||
"@types/node": ["@types/node@22.19.13", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-akNQMv0wW5uyRpD2v2IEyRSZiR+BeGuoB6L310EgGObO44HSMNT8z1xzio28V8qOrgYaopIDNA18YgdXd+qTiw=="],
|
||||
"@types/node": ["@types/node@22.20.1", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q=="],
|
||||
|
||||
"@types/trusted-types": ["@types/trusted-types@2.0.7", "", {}, "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="],
|
||||
|
||||
"@webtui/css": ["@webtui/css@0.1.6", "", {}, "sha512-pYQ7wE5R2ZC4Suj/BtHg5oG1HPhX+RXfFPh/pn8b+Eb+GHmL7rT8RrKkywLgtExNBD0kdqrEDHAr7pjs6PNNBg=="],
|
||||
"@webtui/css": ["@webtui/css@0.1.9", "", {}, "sha512-frEwcxRihw3VlmUxLzu5gsvp2KaPtETJvKKgCFHq+9KJ/kqZrgGoil9W56SOgW3T6/9CMtRG8fciU4yixGwPOg=="],
|
||||
|
||||
"acorn": ["acorn@8.16.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw=="],
|
||||
|
||||
@@ -296,21 +310,25 @@
|
||||
|
||||
"debug": ["debug@4.4.3", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
|
||||
|
||||
"dedent-js": ["dedent-js@1.0.1", "", {}, "sha512-OUepMozQULMLUmhxS95Vudo0jb0UchLimi3+pQ2plj61Fcy8axbP9hbiD4Sz6DPqn6XG3kfmziVfQ1rSys5AJQ=="],
|
||||
|
||||
"deep-is": ["deep-is@0.1.4", "", {}, "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="],
|
||||
|
||||
"deepmerge": ["deepmerge@4.3.1", "", {}, "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="],
|
||||
|
||||
"devalue": ["devalue@5.6.3", "", {}, "sha512-nc7XjUU/2Lb+SvEFVGcWLiKkzfw8+qHI7zn8WYXKkLMgfGSHbgCEaR6bJpev8Cm6Rmrb19Gfd/tZvGqx9is3wg=="],
|
||||
"devalue": ["devalue@5.8.1", "", {}, "sha512-4CXDYRBGqN+57wVJkuXBYmpAVUSg3L6JAQa/DFqm238G73E1wuyc/JhGQJzN7vUf/CMphYau2zXbfWzDR5aTEw=="],
|
||||
|
||||
"es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
|
||||
|
||||
"esbuild": ["esbuild@0.25.12", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.12", "@esbuild/android-arm": "0.25.12", "@esbuild/android-arm64": "0.25.12", "@esbuild/android-x64": "0.25.12", "@esbuild/darwin-arm64": "0.25.12", "@esbuild/darwin-x64": "0.25.12", "@esbuild/freebsd-arm64": "0.25.12", "@esbuild/freebsd-x64": "0.25.12", "@esbuild/linux-arm": "0.25.12", "@esbuild/linux-arm64": "0.25.12", "@esbuild/linux-ia32": "0.25.12", "@esbuild/linux-loong64": "0.25.12", "@esbuild/linux-mips64el": "0.25.12", "@esbuild/linux-ppc64": "0.25.12", "@esbuild/linux-riscv64": "0.25.12", "@esbuild/linux-s390x": "0.25.12", "@esbuild/linux-x64": "0.25.12", "@esbuild/netbsd-arm64": "0.25.12", "@esbuild/netbsd-x64": "0.25.12", "@esbuild/openbsd-arm64": "0.25.12", "@esbuild/openbsd-x64": "0.25.12", "@esbuild/openharmony-arm64": "0.25.12", "@esbuild/sunos-x64": "0.25.12", "@esbuild/win32-arm64": "0.25.12", "@esbuild/win32-ia32": "0.25.12", "@esbuild/win32-x64": "0.25.12" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg=="],
|
||||
|
||||
"escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="],
|
||||
|
||||
"eslint": ["eslint@9.39.3", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.1", "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "9.39.3", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.4.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-VmQ+sifHUbI/IcSopBCF/HO3YiHQx/AVd3UVyYL6weuwW+HvON9VYn5l6Zl1WZzPWXPNZrSQpxwkkZ/VuvJZzg=="],
|
||||
"eslint": ["eslint@9.39.5", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.2", "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.6", "@eslint/js": "9.39.5", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.14.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.4.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw=="],
|
||||
|
||||
"eslint-config-prettier": ["eslint-config-prettier@10.1.8", "", { "peerDependencies": { "eslint": ">=7.0.0" }, "bin": { "eslint-config-prettier": "bin/cli.js" } }, "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w=="],
|
||||
|
||||
"eslint-plugin-svelte": ["eslint-plugin-svelte@3.15.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.6.1", "@jridgewell/sourcemap-codec": "^1.5.0", "esutils": "^2.0.3", "globals": "^16.0.0", "known-css-properties": "^0.37.0", "postcss": "^8.4.49", "postcss-load-config": "^3.1.4", "postcss-safe-parser": "^7.0.0", "semver": "^7.6.3", "svelte-eslint-parser": "^1.4.0" }, "peerDependencies": { "eslint": "^8.57.1 || ^9.0.0 || ^10.0.0", "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["svelte"] }, "sha512-QKB7zqfuB8aChOfBTComgDptMf2yxiJx7FE04nneCmtQzgTHvY8UJkuh8J2Rz7KB9FFV9aTHX6r7rdYGvG8T9Q=="],
|
||||
"eslint-plugin-svelte": ["eslint-plugin-svelte@3.22.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.6.1", "@jridgewell/sourcemap-codec": "^1.5.0", "esutils": "^2.0.3", "globals": "^16.0.0", "known-css-properties": "^0.37.0", "postcss": "^8.4.49", "postcss-load-config": "^3.1.4", "postcss-safe-parser": "^7.0.0", "semver": "^7.6.3", "svelte-eslint-parser": "^1.7.0" }, "peerDependencies": { "eslint": "^8.57.1 || ^9.0.0 || ^10.0.0", "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["svelte"] }, "sha512-O3qn0NePTWta+1o25dIThqeEP/hEQ3VxDK2LVO8SQ5wG9umLMvulK+m1yQ4JGOb2Pkl8IB0G1lpRV/HXDXSLTQ=="],
|
||||
|
||||
"eslint-scope": ["eslint-scope@8.4.0", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } }, "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg=="],
|
||||
|
||||
@@ -322,12 +340,14 @@
|
||||
|
||||
"esquery": ["esquery@1.7.0", "", { "dependencies": { "estraverse": "^5.1.0" } }, "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g=="],
|
||||
|
||||
"esrap": ["esrap@2.2.3", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" } }, "sha512-8fOS+GIGCQZl/ZIlhl59htOlms6U8NvX6ZYgYHpRU/b6tVSh3uHkOHZikl3D4cMbYM0JlpBe+p/BkZEi8J9XIQ=="],
|
||||
"esrap": ["esrap@2.3.0", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" }, "peerDependencies": { "@typescript-eslint/types": "^8.2.0" }, "optionalPeers": ["@typescript-eslint/types"] }, "sha512-GQ/7RN8uOtEfNpzZzBMTzW9JBcX42oaSVtPzdF+6cEL8pqIL094iUpr9jzYGn4O4P/1S60dJ6izyT8F4LYARng=="],
|
||||
|
||||
"esrecurse": ["esrecurse@4.3.0", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="],
|
||||
|
||||
"estraverse": ["estraverse@5.3.0", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="],
|
||||
|
||||
"estree-walker": ["estree-walker@2.0.2", "", {}, "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="],
|
||||
|
||||
"esutils": ["esutils@2.0.3", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="],
|
||||
|
||||
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
||||
@@ -338,10 +358,12 @@
|
||||
|
||||
"fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
|
||||
|
||||
"figlet": ["figlet@1.11.0", "", { "dependencies": { "commander": "^14.0.0" }, "bin": { "figlet": "bin/index.js" } }, "sha512-EEx3OS/l2bFqcUNN2NM9FPJp8vAMrgbCxsbl2hbcJNNxOEwVe3mEzrhan7TbJQViZa8mMqhihlbCaqD+LyYKTQ=="],
|
||||
"figlet": ["figlet@1.11.3", "", { "dependencies": { "commander": "^14.0.0" }, "bin": { "figlet": "bin/index.js" } }, "sha512-7+OS4S6VjQXI2XRvfZlOdHhItd25lI0NgrR1j5UHfuyZfmMh44v65tMQUlb2bSriYGPCHAtGhuY5u23vqelvmg=="],
|
||||
|
||||
"file-entry-cache": ["file-entry-cache@8.0.0", "", { "dependencies": { "flat-cache": "^4.0.0" } }, "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ=="],
|
||||
|
||||
"file-selector": ["file-selector@2.1.2", "", { "dependencies": { "tslib": "^2.7.0" } }, "sha512-QgXo+mXTe8ljeqUFaX3QVHc5osSItJ/Km+xpocx0aSqWGMSCf6qYs/VnzZgS864Pjn5iceMRFigeAV7AfTlaig=="],
|
||||
|
||||
"find-up": ["find-up@5.0.0", "", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="],
|
||||
|
||||
"flat-cache": ["flat-cache@4.0.1", "", { "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.4" } }, "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw=="],
|
||||
@@ -350,18 +372,24 @@
|
||||
|
||||
"fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
|
||||
|
||||
"function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
|
||||
|
||||
"glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="],
|
||||
|
||||
"globals": ["globals@17.4.0", "", {}, "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw=="],
|
||||
"globals": ["globals@17.7.0", "", {}, "sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg=="],
|
||||
|
||||
"has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],
|
||||
|
||||
"hasown": ["hasown@2.0.4", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A=="],
|
||||
|
||||
"ignore": ["ignore@5.3.2", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],
|
||||
|
||||
"import-fresh": ["import-fresh@3.3.1", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="],
|
||||
|
||||
"imurmurhash": ["imurmurhash@0.1.4", "", {}, "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="],
|
||||
|
||||
"is-core-module": ["is-core-module@2.16.2", "", { "dependencies": { "hasown": "^2.0.3" } }, "sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA=="],
|
||||
|
||||
"is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],
|
||||
|
||||
"is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="],
|
||||
@@ -370,7 +398,7 @@
|
||||
|
||||
"isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],
|
||||
|
||||
"js-yaml": ["js-yaml@4.1.1", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="],
|
||||
"js-yaml": ["js-yaml@4.3.0", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q=="],
|
||||
|
||||
"json-buffer": ["json-buffer@3.0.1", "", {}, "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="],
|
||||
|
||||
@@ -414,12 +442,16 @@
|
||||
|
||||
"p-locate": ["p-locate@5.0.0", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="],
|
||||
|
||||
"package-manager-detector": ["package-manager-detector@1.6.0", "", {}, "sha512-61A5ThoTiDG/C8s8UMZwSorAGwMJ0ERVGj2OjoW5pAalsNOg15+iQiPzrLJ4jhZ1HJzmC2PIHT2oEiH3R5fzNA=="],
|
||||
|
||||
"parent-module": ["parent-module@1.0.1", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="],
|
||||
|
||||
"path-exists": ["path-exists@4.0.0", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="],
|
||||
|
||||
"path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],
|
||||
|
||||
"path-parse": ["path-parse@1.0.7", "", {}, "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="],
|
||||
|
||||
"picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
|
||||
|
||||
"picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="],
|
||||
@@ -436,20 +468,26 @@
|
||||
|
||||
"prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="],
|
||||
|
||||
"prettier": ["prettier@3.8.1", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg=="],
|
||||
"prettier": ["prettier@3.9.6", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g=="],
|
||||
|
||||
"prettier-plugin-svelte": ["prettier-plugin-svelte@3.5.0", "", { "peerDependencies": { "prettier": "^3.0.0", "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0" } }, "sha512-2lLO/7EupnjO/95t+XZesXs8Bf3nYLIDfCo270h5QWbj/vjLqmrQ1LiRk9LPggxSDsnVYfehamZNf+rgQYApZg=="],
|
||||
"prettier-plugin-svelte": ["prettier-plugin-svelte@3.5.2", "", { "peerDependencies": { "prettier": "^3.0.0", "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0" } }, "sha512-ItFouLvzSFE3ulNl4DKoWM3BGcbDCNVpIyy/Y3F2gC3aNiGLxtFUdffVqO5Z5hhYG+DFT5KULWaxmeFFpdbvaQ=="],
|
||||
|
||||
"publint": ["publint@0.3.21", "", { "dependencies": { "@publint/pack": "^0.1.4", "package-manager-detector": "^1.6.0", "picocolors": "^1.1.1", "sade": "^1.8.1" }, "bin": { "publint": "src/cli.js" } }, "sha512-OqejcnMV6E9zel2oCrUOJEiiFkGiAAni0A6ibfQNh1k9Gu5z4F+Yso8lllam7AzmV6Do0vp7u3UpZNRBwuXaHQ=="],
|
||||
|
||||
"punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],
|
||||
|
||||
"readdirp": ["readdirp@4.1.2", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],
|
||||
|
||||
"resolve": ["resolve@1.22.12", "", { "dependencies": { "es-errors": "^1.3.0", "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" } }, "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA=="],
|
||||
|
||||
"resolve-from": ["resolve-from@4.0.0", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="],
|
||||
|
||||
"rollup": ["rollup@4.59.0", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.59.0", "@rollup/rollup-android-arm64": "4.59.0", "@rollup/rollup-darwin-arm64": "4.59.0", "@rollup/rollup-darwin-x64": "4.59.0", "@rollup/rollup-freebsd-arm64": "4.59.0", "@rollup/rollup-freebsd-x64": "4.59.0", "@rollup/rollup-linux-arm-gnueabihf": "4.59.0", "@rollup/rollup-linux-arm-musleabihf": "4.59.0", "@rollup/rollup-linux-arm64-gnu": "4.59.0", "@rollup/rollup-linux-arm64-musl": "4.59.0", "@rollup/rollup-linux-loong64-gnu": "4.59.0", "@rollup/rollup-linux-loong64-musl": "4.59.0", "@rollup/rollup-linux-ppc64-gnu": "4.59.0", "@rollup/rollup-linux-ppc64-musl": "4.59.0", "@rollup/rollup-linux-riscv64-gnu": "4.59.0", "@rollup/rollup-linux-riscv64-musl": "4.59.0", "@rollup/rollup-linux-s390x-gnu": "4.59.0", "@rollup/rollup-linux-x64-gnu": "4.59.0", "@rollup/rollup-linux-x64-musl": "4.59.0", "@rollup/rollup-openbsd-x64": "4.59.0", "@rollup/rollup-openharmony-arm64": "4.59.0", "@rollup/rollup-win32-arm64-msvc": "4.59.0", "@rollup/rollup-win32-ia32-msvc": "4.59.0", "@rollup/rollup-win32-x64-gnu": "4.59.0", "@rollup/rollup-win32-x64-msvc": "4.59.0", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg=="],
|
||||
|
||||
"sade": ["sade@1.8.1", "", { "dependencies": { "mri": "^1.1.0" } }, "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A=="],
|
||||
|
||||
"scule": ["scule@1.3.0", "", {}, "sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g=="],
|
||||
|
||||
"semver": ["semver@7.7.4", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="],
|
||||
|
||||
"set-cookie-parser": ["set-cookie-parser@3.0.1", "", {}, "sha512-n7Z7dXZhJbwuAHhNzkTti6Aw9QDDjZtm3JTpTGATIdNzdQz5GuFs22w90BcvF4INfnrL5xrX3oGsuqO5Dx3A1Q=="],
|
||||
@@ -466,20 +504,28 @@
|
||||
|
||||
"supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
|
||||
|
||||
"svelte": ["svelte@5.53.5", "", { "dependencies": { "@jridgewell/remapping": "^2.3.4", "@jridgewell/sourcemap-codec": "^1.5.0", "@sveltejs/acorn-typescript": "^1.0.5", "@types/estree": "^1.0.5", "@types/trusted-types": "^2.0.7", "acorn": "^8.12.1", "aria-query": "5.3.1", "axobject-query": "^4.1.0", "clsx": "^2.1.1", "devalue": "^5.6.3", "esm-env": "^1.2.1", "esrap": "^2.2.2", "is-reference": "^3.0.3", "locate-character": "^3.0.0", "magic-string": "^0.30.11", "zimmerframe": "^1.1.2" } }, "sha512-YkqERnF05g8KLdDZwZrF8/i1eSbj6Eoat8Jjr2IfruZz9StLuBqo8sfCSzjosNKd+ZrQ8DkKZDjpO5y3ht1Pow=="],
|
||||
"supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="],
|
||||
|
||||
"svelte-check": ["svelte-check@4.4.3", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "chokidar": "^4.0.1", "fdir": "^6.2.0", "picocolors": "^1.0.0", "sade": "^1.7.4" }, "peerDependencies": { "svelte": "^4.0.0 || ^5.0.0-next.0", "typescript": ">=5.0.0" }, "bin": { "svelte-check": "bin/svelte-check" } }, "sha512-4HtdEv2hOoLCEsSXI+RDELk9okP/4sImWa7X02OjMFFOWeSdFF3NFy3vqpw0z+eH9C88J9vxZfUXz/Uv2A1ANw=="],
|
||||
"svelte": ["svelte@5.56.8", "", { "dependencies": { "@jridgewell/remapping": "^2.3.4", "@jridgewell/sourcemap-codec": "^1.5.0", "@sveltejs/acorn-typescript": "^1.0.10", "@types/estree": "^1.0.5", "@types/trusted-types": "^2.0.7", "acorn": "^8.12.1", "aria-query": "5.3.1", "axobject-query": "^4.1.0", "clsx": "^2.1.1", "devalue": "^5.8.1", "esm-env": "^1.2.1", "esrap": "^2.2.12", "is-reference": "^3.0.3", "locate-character": "^3.0.0", "magic-string": "^0.30.11", "zimmerframe": "^1.1.2" } }, "sha512-PY8LOw7xP6c8IOiVqdo0sbbZVYhXRSfklOQLAUyGBKqjTX0wx/z4l/9J+PmBpmlLnxzEb1NqltxQ5/wZme/Cmg=="],
|
||||
|
||||
"svelte-eslint-parser": ["svelte-eslint-parser@1.5.1", "", { "dependencies": { "eslint-scope": "^8.2.0", "eslint-visitor-keys": "^4.0.0", "espree": "^10.0.0", "postcss": "^8.4.49", "postcss-scss": "^4.0.9", "postcss-selector-parser": "^7.0.0", "semver": "^7.7.2" }, "peerDependencies": { "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["svelte"] }, "sha512-UbY7DYoDg+x4AKLUcX5xWuEWylgmm8ZD2Z89YT/AK6Wm/ckeMTnOMwr6AVC99znXbRC26xzWEPhSgmB62E07Gg=="],
|
||||
"svelte-check": ["svelte-check@4.7.3", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "@sveltejs/load-config": "^0.2.0", "chokidar": "^4.0.1", "fdir": "^6.2.0", "picocolors": "^1.0.0", "sade": "^1.7.4" }, "peerDependencies": { "svelte": "^4.0.0 || ^5.0.0-next.0", "typescript": ">=5.0.0" }, "bin": { "svelte-check": "bin/svelte-check" } }, "sha512-DHdTCGX62R0fCxBEaT+USdASAnoaRBaaNczkRJl0K7o3WyoCeVUbVxo6fKqpOll/B+WMWCsiFK0eFrJSNBKZIg=="],
|
||||
|
||||
"svelte-dropzone-runes": ["svelte-dropzone-runes@1.0.7", "", { "dependencies": { "@rollup/plugin-typescript": "^12.1.2", "@sveltejs/package": "^2.0.0", "file-selector": "^2.1.2", "publint": "^0.3.11" }, "peerDependencies": { "svelte": "^5.0.0" } }, "sha512-l2Ptc4iHYlo+aYvTVPd1qJilC/Oh3BI8KX4K22C7HQTbiXS0UkWL9Oks5Vl0A4V83QEYJBDZCD+VnlVyBbMJrQ=="],
|
||||
|
||||
"svelte-eslint-parser": ["svelte-eslint-parser@1.8.0", "", { "dependencies": { "eslint-scope": "^8.2.0", "eslint-visitor-keys": "^4.0.0", "espree": "^10.0.0", "postcss": "^8.4.49", "postcss-scss": "^4.0.9", "postcss-selector-parser": "^7.0.0", "semver": "^7.7.2" }, "peerDependencies": { "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["svelte"] }, "sha512-mikR1qwIVy3t5WthUoAXkMwxkXvabZP9FJgdx35Ei7EbGWmctva1Pih16Koeor/bdNNq8NXHlwKGS6NkYTawLg=="],
|
||||
|
||||
"svelte-splitpanes": ["svelte-splitpanes@8.0.12", "", { "peerDependencies": { "svelte": "^5.43.0" } }, "sha512-HJ07HgbtY0Q/35TEuJquGy47dtgCVavV7ay9r1FhWRx3boyUs3RpeiHlwMKliznCKy2ZotNeT+8GG+mIoNjgRA=="],
|
||||
|
||||
"svelte-tabs": ["svelte-tabs@1.1.0", "", {}, "sha512-bCynxgET2uvqpB6xf/dVyqHjzmumRURQyh2QqXlrki8NxzO7h2WghF8qgpb5qeB5NTX1bMU+9Q5Hf5ey2WLaMg=="],
|
||||
|
||||
"svelte2tsx": ["svelte2tsx@0.7.56", "", { "dependencies": { "dedent-js": "^1.0.1", "scule": "^1.3.0" }, "peerDependencies": { "svelte": "^3.55 || ^4.0.0-next.0 || ^4.0 || ^5.0.0-next.0", "typescript": "^4.9.4 || ^5.0.0 || ^6.0.0" } }, "sha512-NTvqqL+goYlW8gWNajk81L07+uu7jw5V2m1Az5MZbYm3GEydcHXh+uTrLHM9SuGuaqCtF90vlMXkOVBotfH94g=="],
|
||||
|
||||
"tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="],
|
||||
|
||||
"totalist": ["totalist@3.0.1", "", {}, "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ=="],
|
||||
|
||||
"tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
|
||||
|
||||
"type-check": ["type-check@0.4.0", "", { "dependencies": { "prelude-ls": "^1.2.1" } }, "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="],
|
||||
|
||||
"typescript": ["typescript@5.6.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw=="],
|
||||
@@ -490,7 +536,7 @@
|
||||
|
||||
"util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="],
|
||||
|
||||
"vite": ["vite@6.4.1", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g=="],
|
||||
"vite": ["vite@6.4.3", "", { "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", "tinyglobby": "^0.2.13" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A=="],
|
||||
|
||||
"vitefu": ["vitefu@1.1.2", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-beta.0" }, "optionalPeers": ["vite"] }, "sha512-zpKATdUbzbsycPFBN71nS2uzBUQiVnFoOrr2rvqv34S1lcAgMKKkjWleLGeiJlZ8lwCXvtWaRn7R3ZC16SYRuw=="],
|
||||
|
||||
@@ -512,8 +558,30 @@
|
||||
|
||||
"@eslint/plugin-kit/@eslint/core": ["@eslint/core@0.17.0", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ=="],
|
||||
|
||||
"@sveltejs/package/chokidar": ["chokidar@5.0.0", "", { "dependencies": { "readdirp": "^5.0.0" } }, "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw=="],
|
||||
|
||||
"@tauri-apps/plugin-fs/@tauri-apps/api": ["@tauri-apps/api@2.11.0", "", {}, "sha512-7CinYODhky9lmO23xHnUFv0Xt43fbtWMyxZcLcRBlFkcgXKuEirBvHpmtJ89YMhyeGcq20Wuc47Fa4XjyniywA=="],
|
||||
|
||||
"@tauri-apps/plugin-http/@tauri-apps/api": ["@tauri-apps/api@2.11.0", "", {}, "sha512-7CinYODhky9lmO23xHnUFv0Xt43fbtWMyxZcLcRBlFkcgXKuEirBvHpmtJ89YMhyeGcq20Wuc47Fa4XjyniywA=="],
|
||||
|
||||
"@tauri-apps/plugin-notification/@tauri-apps/api": ["@tauri-apps/api@2.10.1", "", {}, "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw=="],
|
||||
|
||||
"@tauri-apps/plugin-opener/@tauri-apps/api": ["@tauri-apps/api@2.11.0", "", {}, "sha512-7CinYODhky9lmO23xHnUFv0Xt43fbtWMyxZcLcRBlFkcgXKuEirBvHpmtJ89YMhyeGcq20Wuc47Fa4XjyniywA=="],
|
||||
|
||||
"@tauri-apps/plugin-os/@tauri-apps/api": ["@tauri-apps/api@2.10.1", "", {}, "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw=="],
|
||||
|
||||
"@tauri-apps/plugin-shell/@tauri-apps/api": ["@tauri-apps/api@2.10.1", "", {}, "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw=="],
|
||||
|
||||
"@tauri-apps/plugin-updater/@tauri-apps/api": ["@tauri-apps/api@2.11.0", "", {}, "sha512-7CinYODhky9lmO23xHnUFv0Xt43fbtWMyxZcLcRBlFkcgXKuEirBvHpmtJ89YMhyeGcq20Wuc47Fa4XjyniywA=="],
|
||||
|
||||
"@tauri-apps/plugin-upload/@tauri-apps/api": ["@tauri-apps/api@2.10.1", "", {}, "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw=="],
|
||||
|
||||
"@tauri-apps/plugin-window-state/@tauri-apps/api": ["@tauri-apps/api@2.10.1", "", {}, "sha512-hKL/jWf293UDSUN09rR69hrToyIXBb8CjGaWC7gfinvnQrBVvnLr08FeFi38gxtugAVyVcTa5/FD/Xnkb1siBw=="],
|
||||
|
||||
"eslint/@eslint/core": ["@eslint/core@0.17.0", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ=="],
|
||||
|
||||
"eslint-plugin-svelte/globals": ["globals@16.5.0", "", {}, "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ=="],
|
||||
|
||||
"@sveltejs/package/chokidar/readdirp": ["readdirp@5.0.0", "", {}, "sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ=="],
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "smoothie",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "smoothie",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "smoothie",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
@@ -15,39 +15,41 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2",
|
||||
"@tauri-apps/plugin-dialog": "~2",
|
||||
"@tauri-apps/plugin-fs": "~2",
|
||||
"@tauri-apps/plugin-http": "^2.5.7",
|
||||
"@tauri-apps/plugin-notification": "~2",
|
||||
"@tauri-apps/plugin-opener": "^2",
|
||||
"@tauri-apps/api": "^2.11.1",
|
||||
"@tauri-apps/plugin-dialog": "~2.7.2",
|
||||
"@tauri-apps/plugin-fs": "~2.5.1",
|
||||
"@tauri-apps/plugin-http": "^2.5.9",
|
||||
"@tauri-apps/plugin-notification": "~2.3.3",
|
||||
"@tauri-apps/plugin-opener": "^2.5.4",
|
||||
"@tauri-apps/plugin-os": "^2.3.2",
|
||||
"@tauri-apps/plugin-shell": "~2",
|
||||
"@tauri-apps/plugin-store": "~2",
|
||||
"@tauri-apps/plugin-upload": "~2",
|
||||
"@tauri-apps/plugin-window-state": "~2",
|
||||
"@webtui/css": "^0.1.6",
|
||||
"figlet": "^1.11.0",
|
||||
"@tauri-apps/plugin-shell": "~2.3.5",
|
||||
"@tauri-apps/plugin-store": "~2.4.4",
|
||||
"@tauri-apps/plugin-updater": "~2.10.1",
|
||||
"@tauri-apps/plugin-upload": "~2.4.0",
|
||||
"@tauri-apps/plugin-window-state": "~2.4.1",
|
||||
"@webtui/css": "^0.1.9",
|
||||
"figlet": "^1.11.3",
|
||||
"svelte-dropzone-runes": "^1.0.7",
|
||||
"svelte-splitpanes": "^8.0.12",
|
||||
"svelte-tabs": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/compat": "^2.0.2",
|
||||
"@eslint/js": "^9.39.2",
|
||||
"@sveltejs/adapter-static": "^3.0.6",
|
||||
"@sveltejs/kit": "^2.9.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
||||
"@tauri-apps/cli": "^2",
|
||||
"@types/node": "^22",
|
||||
"eslint": "^9.39.2",
|
||||
"@eslint/compat": "^2.1.0",
|
||||
"@eslint/js": "^9.39.5",
|
||||
"@sveltejs/adapter-static": "^3.0.10",
|
||||
"@sveltejs/kit": "^2.70.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^5.1.1",
|
||||
"@tauri-apps/cli": "^2.11.4",
|
||||
"@types/node": "^22.20.1",
|
||||
"eslint": "^9.39.5",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-svelte": "^3.14.0",
|
||||
"globals": "^17.3.0",
|
||||
"prettier": "^3.8.1",
|
||||
"prettier-plugin-svelte": "^3.4.1",
|
||||
"svelte": "^5.0.0",
|
||||
"svelte-check": "^4.0.0",
|
||||
"typescript": "~5.6.2",
|
||||
"vite": "^6.0.3"
|
||||
"eslint-plugin-svelte": "^3.22.0",
|
||||
"globals": "^17.7.0",
|
||||
"prettier": "^3.9.6",
|
||||
"prettier-plugin-svelte": "^3.5.2",
|
||||
"svelte": "^5.56.8",
|
||||
"svelte-check": "^4.7.3",
|
||||
"typescript": "~5.6.3",
|
||||
"vite": "^6.4.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,13 +18,13 @@ crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
tauri-build = { version = "2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2", features = [] }
|
||||
tauri = { version = "2.11", features = ["tray-icon", "image-png"] }
|
||||
tauri-plugin-opener = "2"
|
||||
tauri-plugin-window-state = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tauri-plugin-fs = "2"
|
||||
tauri-plugin-dialog = "2"
|
||||
tauri-plugin-fs = "2.5"
|
||||
tauri-plugin-dialog = "2.7"
|
||||
tauri-plugin-http = "2"
|
||||
tauri-plugin-notification = "2"
|
||||
tauri-plugin-os = "2"
|
||||
@@ -38,4 +38,5 @@ flate2 = "1.0"
|
||||
bzip2 = "0.4"
|
||||
tauri-plugin-upload = "2"
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
tauri-plugin-updater = "2"
|
||||
tauri-plugin-window-state = "2"
|
||||
|
||||
@@ -3,6 +3,13 @@
|
||||
"platforms": ["macOS", "windows", "linux"],
|
||||
"windows": ["main"],
|
||||
"permissions": [
|
||||
"core:window:default",
|
||||
"core:window:allow-start-dragging",
|
||||
"core:window:allow-close",
|
||||
"core:window:allow-hide",
|
||||
"core:window:allow-show",
|
||||
"core:window:allow-is-visible",
|
||||
"core:window:allow-destroy",
|
||||
"core:default",
|
||||
"opener:default",
|
||||
"window-state:default",
|
||||
@@ -15,9 +22,15 @@
|
||||
{
|
||||
"identifier": "fs:scope",
|
||||
"allow": [
|
||||
{ "path": "$LOCALDATA/applications/**" },
|
||||
{ "path": "$LOCALDATA/applications" },
|
||||
{ "path": "$LOCALDATA/applications/*" }
|
||||
{
|
||||
"path": "$LOCALDATA/applications/**"
|
||||
},
|
||||
{
|
||||
"path": "$LOCALDATA/applications"
|
||||
},
|
||||
{
|
||||
"path": "$LOCALDATA/applications/*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"shell:allow-spawn",
|
||||
@@ -33,6 +46,7 @@
|
||||
"os:default",
|
||||
"store:default",
|
||||
"shell:default",
|
||||
"upload:default"
|
||||
"upload:default",
|
||||
"updater:default"
|
||||
]
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 974 B After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 4.5 KiB |
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
</adaptive-icon>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 26 KiB |
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#fff</color>
|
||||
</resources>
|
||||
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 496 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 25 KiB |
@@ -280,6 +280,7 @@ async fn extract_archive(archive_path: String, target_dir: String) -> Result<Str
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_updater::Builder::new().build())
|
||||
.plugin(tauri_plugin_upload::init())
|
||||
.plugin(tauri_plugin_shell::init())
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "smoothie",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"identifier": "smoothie",
|
||||
"build": {
|
||||
"beforeDevCommand": "bun run dev",
|
||||
@@ -12,8 +12,8 @@
|
||||
"app": {
|
||||
"windows": [
|
||||
{
|
||||
"decorations": true,
|
||||
"title": "smoothie",
|
||||
"dragDropEnabled": true,
|
||||
"width": 1024,
|
||||
"height": 576,
|
||||
"maxHeight": 1080,
|
||||
@@ -31,6 +31,7 @@
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"createUpdaterArtifacts": true,
|
||||
"icon": [
|
||||
"icons/32x32.png",
|
||||
"icons/128x128.png",
|
||||
@@ -38,5 +39,13 @@
|
||||
"icons/icon.icns",
|
||||
"icons/icon.ico"
|
||||
]
|
||||
},
|
||||
"plugins": {
|
||||
"updater": {
|
||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDZGMjVEM0E3RDQ1QTE4N0YKUldSL0dGclVwOU1sYjU5a1ZiV2xOV3V2SVBPakMvLys0Q2xFYlozZEk0cW0rR2p5bnBvYkpUek8K",
|
||||
"endpoints": [
|
||||
"https://git.floatingpoint.ch/valerio/smoothie/releases/download/latest/update.json"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ import { currentSettings } from './settings';
|
||||
import { writable } from 'svelte/store';
|
||||
import { get } from 'svelte/store';
|
||||
|
||||
const RELEASES_URL = 'https://download.blender.org/release/';
|
||||
|
||||
/**
|
||||
* @typedef {Object} FileLink
|
||||
* @property {string} version - The version string (e.g., "5.0.0")
|
||||
@@ -32,7 +34,7 @@ export async function getBlenderReleases() {
|
||||
const currentArch = settings.defaultArch;
|
||||
try {
|
||||
// Fetch the HTML page
|
||||
const response = await fetch('https://download.blender.org/release/');
|
||||
const response = await fetch(RELEASES_URL);
|
||||
const html = await response.text();
|
||||
|
||||
// Parse the HTML
|
||||
|
||||
@@ -0,0 +1,109 @@
|
||||
<script>
|
||||
import { getCurrentWindow } from '@tauri-apps/api/window';
|
||||
import { onMount } from 'svelte';
|
||||
import { addTemplateFile } from '$lib/file_utils';
|
||||
import Popup from '$lib/components/Popup.svelte';
|
||||
let dragging = $state(false);
|
||||
let hasBlend = $state(false);
|
||||
let dropzoneEl = $state(null);
|
||||
|
||||
let { version } = $props();
|
||||
|
||||
let successPopup;
|
||||
let errorPopup;
|
||||
|
||||
onMount(() => {
|
||||
const win = getCurrentWindow();
|
||||
let unlisten = () => {};
|
||||
|
||||
win
|
||||
.onDragDropEvent((event) => {
|
||||
if (!dropzoneEl) return;
|
||||
|
||||
const payload = event.payload;
|
||||
|
||||
if (payload.type === 'enter') {
|
||||
hasBlend = payload.paths.some((p) => p.endsWith('.blend'));
|
||||
if (!hasBlend) return;
|
||||
}
|
||||
|
||||
if (payload.type === 'leave') {
|
||||
dragging = false;
|
||||
return;
|
||||
}
|
||||
|
||||
// 'enter', 'over', and 'drop' all have position data
|
||||
const rect = dropzoneEl.getBoundingClientRect();
|
||||
const scale = window.devicePixelRatio || 1;
|
||||
const cssX = payload.position.x / scale;
|
||||
const cssY = payload.position.y / scale;
|
||||
|
||||
const isInside =
|
||||
cssX >= rect.left && cssX <= rect.right && cssY >= rect.top && cssY <= rect.bottom;
|
||||
|
||||
if (payload.type === 'over') {
|
||||
dragging = hasBlend && isInside;
|
||||
} else if (payload.type === 'enter') {
|
||||
dragging = isInside;
|
||||
} else if (payload.type === 'drop') {
|
||||
dragging = false;
|
||||
if (hasBlend && isInside) {
|
||||
const blendFiles = payload.paths.filter((p) => p.endsWith('.blend'));
|
||||
if (blendFiles.length > 0) {
|
||||
console.log('Dropped Blender files:', blendFiles);
|
||||
blendFiles.forEach(async (file) => {
|
||||
if (version) {
|
||||
const result = await addTemplateFile(version, file);
|
||||
if (result.success) {
|
||||
successPopup.pop(result.message, 3000);
|
||||
} else {
|
||||
errorPopup.pop(result.message, 4000);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
.then((fn) => {
|
||||
unlisten = fn;
|
||||
});
|
||||
|
||||
return () => unlisten();
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="dropzone" class:dragging bind:this={dropzoneEl}>Drop Blender Files</div>
|
||||
|
||||
<Popup bind:this={successPopup} type="confirm" />
|
||||
<Popup bind:this={errorPopup} type="error" />
|
||||
|
||||
<style>
|
||||
.dropzone {
|
||||
height: 3rem;
|
||||
|
||||
width: 100%;
|
||||
border-color: var(--light-accent);
|
||||
border-width: 3px;
|
||||
border-style: solid;
|
||||
border-radius: 5px;
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: var(--light-accent);
|
||||
transition:
|
||||
border-color 0.15s,
|
||||
color 0.15s;
|
||||
cursor: pointer;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.dropzone.dragging {
|
||||
height: 5rem;
|
||||
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
}
|
||||
</style>
|
||||
@@ -1,19 +1,33 @@
|
||||
<script>
|
||||
import VersionCard from './VersionCard.svelte';
|
||||
import TemplateCard from './TemplateCard.svelte';
|
||||
|
||||
import { send, receive } from '$lib/transition.js';
|
||||
import { flip } from 'svelte/animate';
|
||||
import { selectedVersionStore } from '$lib/library.js';
|
||||
import { Splitpanes, Pane } from 'svelte-splitpanes';
|
||||
|
||||
let selectedVersion = $state(null);
|
||||
|
||||
selectedVersionStore.subscribe((version) => {
|
||||
selectedVersion = version;
|
||||
});
|
||||
|
||||
let { installedVersions } = $props();
|
||||
import '@webtui/css/base.css';
|
||||
import '@webtui/css/utils/box.css';
|
||||
import Dropzone from './Dropzone.svelte';
|
||||
import { fade } from 'svelte/transition';
|
||||
|
||||
let favourites = $derived(installedVersions?.filter((v) => v.favourite) || []);
|
||||
let installed = $derived(installedVersions?.filter((v) => !v.favourite) || []);
|
||||
</script>
|
||||
|
||||
<h2>Favourites</h2>
|
||||
<Splitpanes id="split">
|
||||
<Pane>
|
||||
<h2>Favourites</h2>
|
||||
|
||||
<div id="container">
|
||||
<div id="container">
|
||||
<div id="library">
|
||||
{#if favourites.length}
|
||||
{#each favourites as version (version.version)}
|
||||
@@ -22,17 +36,17 @@
|
||||
in:receive={{ key: version.version }}
|
||||
out:send={{ key: version.version }}
|
||||
>
|
||||
<VersionCard {version} />
|
||||
<VersionCard {version} {selectedVersion} />
|
||||
</div>
|
||||
{/each}
|
||||
{:else}
|
||||
<p class="minor">No favourites</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Installed</h2>
|
||||
<div id="container">
|
||||
<h2>Installed</h2>
|
||||
<div id="container">
|
||||
<div id="library">
|
||||
{#each installed as version (version.version)}
|
||||
<div
|
||||
@@ -40,11 +54,31 @@
|
||||
in:receive={{ key: version.version }}
|
||||
out:send={{ key: version.version }}
|
||||
>
|
||||
<VersionCard {version} />
|
||||
<VersionCard {version} {selectedVersion} />
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Pane>
|
||||
<Pane>
|
||||
<div id="templates">
|
||||
{#if selectedVersion}
|
||||
<h2>Blender {selectedVersion.version}</h2>
|
||||
<TemplateCard template={null} version={selectedVersion} />
|
||||
{#if selectedVersion?.templates.length > 0}
|
||||
{#each selectedVersion?.templates as template (template)}
|
||||
<div>
|
||||
<TemplateCard {template} version={selectedVersion} />
|
||||
</div>
|
||||
{/each}
|
||||
{:else}
|
||||
<p class="minor">No templates</p>
|
||||
{/if}
|
||||
<Dropzone version={selectedVersion}></Dropzone>
|
||||
{/if}
|
||||
</div>
|
||||
</Pane>
|
||||
</Splitpanes>
|
||||
|
||||
<style>
|
||||
.minor {
|
||||
@@ -58,12 +92,27 @@
|
||||
max-height: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#templates {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 5px;
|
||||
padding: 0 0 0 1rem;
|
||||
}
|
||||
#library {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
min-height: 140px;
|
||||
padding-bottom: 1rem;
|
||||
overflow: visible;
|
||||
}
|
||||
:global(.splitpanes__pane) {
|
||||
background-color: unset !important;
|
||||
}
|
||||
:global(.splitpanes__splitter) {
|
||||
background-color: var(--light) !important;
|
||||
width: 0.5rem !important;
|
||||
border: none !important;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -88,6 +88,9 @@
|
||||
<style>
|
||||
.btncont {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.menu-container {
|
||||
height: 100%;
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<script>
|
||||
let { onclick, children } = $props();
|
||||
</script>
|
||||
|
||||
<button type="button" class="menu-item" {onclick}>{@render children?.()}</button>
|
||||
|
||||
<style>
|
||||
.menu-item {
|
||||
padding: 0.5rem 1rem;
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
border: none;
|
||||
font-family: var(--font);
|
||||
font-size: 1rem;
|
||||
color: var(--black);
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
.menu-item:hover {
|
||||
background-color: var(--light-accent);
|
||||
}
|
||||
</style>
|
||||
@@ -1,10 +1,12 @@
|
||||
<script>
|
||||
import { fade, fly } from 'svelte/transition';
|
||||
|
||||
let { content = '', type = 'confirm' } = $props();
|
||||
let { type = 'confirm' } = $props();
|
||||
let open = $state(false);
|
||||
let message = $state('');
|
||||
|
||||
export function pop(resetTimeout = 0) {
|
||||
export function pop(msg = '', resetTimeout = 0) {
|
||||
message = msg;
|
||||
open = true;
|
||||
if (resetTimeout > 0) {
|
||||
setTimeout(() => {
|
||||
@@ -17,7 +19,7 @@
|
||||
{#if open}
|
||||
<div in:fly={{ duration: 200, y: 100 }} out:fade class="popup {type}">
|
||||
<div class="popup-content">
|
||||
<p>{content}</p>
|
||||
<p>{message}</p>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -35,4 +37,7 @@
|
||||
.confirm {
|
||||
background-color: var(--light-accent);
|
||||
}
|
||||
.error {
|
||||
background-color: var(--accent);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
async function handleDownload() {
|
||||
let result = await downloadBlenderVersion(selectedLink);
|
||||
if (result.success) {
|
||||
popup?.pop(2000);
|
||||
popup?.pop('Blender ' + selectedLink.version + ' has been installed', 2000);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,15 +29,28 @@
|
||||
let popup = $state();
|
||||
</script>
|
||||
|
||||
<Popup bind:this={popup} content={'Blender ' + selectedLink.version + ' has been installed'}
|
||||
></Popup>
|
||||
<Popup bind:this={popup}></Popup>
|
||||
<div class="download" class:full-width={downloading || installed}>
|
||||
<div class="selectVersion {downloading}">
|
||||
<select class:disabled={downloading && !installed} bind:value={linkIndex}>
|
||||
{#each release.links as link, i (link.version)}
|
||||
<option value={i} selected={i === linkIndex}>{link.version}</option>
|
||||
{/each}
|
||||
|
||||
</select>
|
||||
<svg
|
||||
class="arrow"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
width="14"
|
||||
height="14"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
><polyline points="6 9 12 15 18 9"></polyline></svg
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="progress" class:downloading={downloading || installed}>
|
||||
@@ -79,6 +92,13 @@
|
||||
box-sizing: border-box;
|
||||
width: 5.5rem;
|
||||
min-width: 5.5rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
.arrow {
|
||||
pointer-events: none;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.progress {
|
||||
flex: 1;
|
||||
@@ -104,7 +124,7 @@
|
||||
transition: color 0.3s ease;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
select:hover {
|
||||
.selectVersion:hover {
|
||||
outline: 2px solid var(--accent);
|
||||
}
|
||||
select.disabled {
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
<script>
|
||||
import { load } from '@tauri-apps/plugin-store';
|
||||
|
||||
let { loadingState } = $props();
|
||||
</script>
|
||||
|
||||
<div class="splash">
|
||||
<div class="spinner">
|
||||
<pre class="monospace">
|
||||
▄▄▄▄▄
|
||||
██▀▀▀▀█▄ █▄ █▄
|
||||
▀██▄ ▄▀ ▄ ▄██▄██ ▀▀
|
||||
▀██▄▄ ███▄███▄ ▄███▄ ▄███▄ ██ ████▄ ██ ▄█▀█▄
|
||||
▄ ▀██▄ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▄█▀
|
||||
▀██████▀▄██ ██ ▀█▄▀███▀▄▀███▀▄██▄██ ██▄██▄▀█▄▄▄
|
||||
</pre>
|
||||
</div>
|
||||
<p>{loadingState}</p>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.splash {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.spinner {
|
||||
}
|
||||
.monospace {
|
||||
font-family: monospace;
|
||||
color: var(--black);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,85 @@
|
||||
<script>
|
||||
import Button from '$lib/components/Button.svelte';
|
||||
import Menu from '$lib/components/Menu.svelte';
|
||||
import MenuItem from '$lib/components/MenuItem.svelte';
|
||||
import { show } from '$lib/components/Dialog.svelte';
|
||||
import { deleteTemplate } from '$lib/library';
|
||||
|
||||
import { launchBlenderVersion } from '$lib/library';
|
||||
import { notify } from '$lib/notification.js';
|
||||
let { template, version } = $props();
|
||||
let templateName = $derived(
|
||||
template
|
||||
.split('/')
|
||||
.pop()
|
||||
.replace('.blend', '')
|
||||
.replace(/\b\w/g, (c) => c.toUpperCase())
|
||||
);
|
||||
|
||||
/**
|
||||
* Handles the deletion of a template.
|
||||
*
|
||||
* @param {string} template - The template file path to delete.
|
||||
*/
|
||||
async function handleDelete(template) {
|
||||
const prompt = await show({
|
||||
title: 'Delete Template',
|
||||
message: `This will delete the "${templateName}" template.`,
|
||||
buttons: ['Cancel', 'Continue'],
|
||||
type: 'warning'
|
||||
});
|
||||
if (prompt == 'Continue') {
|
||||
const result = await deleteTemplate(version, template);
|
||||
if (result.success) {
|
||||
notify(result.message, 3000);
|
||||
} else {
|
||||
notify(result.message, 4000);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if template == null}
|
||||
<div id="base-card">
|
||||
<Button fill={true} color="accent" onclick={() => launchBlenderVersion(version)}
|
||||
>Launch Base</Button
|
||||
>
|
||||
</div>
|
||||
{:else}
|
||||
<div id="template-card">
|
||||
<div class="leftmenu">
|
||||
<Menu>
|
||||
<MenuItem onclick={() => handleDelete(template)}>Delete</MenuItem>
|
||||
</Menu>
|
||||
{templateName}
|
||||
</div>
|
||||
<Button style="small" onclick={() => launchBlenderVersion(version, template)}>→</Button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
#base-card {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
#template-card {
|
||||
height: 3rem;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
background-color: var(--light);
|
||||
padding: 0.5rem 0.5rem 0.5rem 1rem;
|
||||
border-radius: 0.5rem;
|
||||
width: 100%;
|
||||
transition: width 0.3s ease;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.leftmenu {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
</style>
|
||||
@@ -1,17 +1,22 @@
|
||||
<script>
|
||||
import Popup from '$lib/components/Popup.svelte';
|
||||
import {
|
||||
deleteVersion,
|
||||
launchBlenderVersion,
|
||||
toggleFavourite,
|
||||
registerVersion
|
||||
registerVersion,
|
||||
selectVersion
|
||||
} from '$lib/library';
|
||||
import Button from '$lib/components/Button.svelte';
|
||||
import Menu from '$lib/components/Menu.svelte';
|
||||
import { show } from '$lib/components/Dialog.svelte';
|
||||
import MenuItem from '$lib/components/MenuItem.svelte';
|
||||
|
||||
let { version } = $props();
|
||||
let popup = $state();
|
||||
import { show } from '$lib/components/Dialog.svelte';
|
||||
import { notify } from '$lib/notification.js';
|
||||
|
||||
let { version, selectedVersion } = $props();
|
||||
|
||||
let selected = $derived(version.version === selectedVersion?.version);
|
||||
let hovering = $state(false);
|
||||
|
||||
async function handleDelete() {
|
||||
const prompt = await show({
|
||||
@@ -21,7 +26,12 @@
|
||||
type: 'warning'
|
||||
});
|
||||
if (prompt == 'Continue') {
|
||||
deleteVersion(version);
|
||||
const result = await deleteVersion(version);
|
||||
if (result.success) {
|
||||
notify(result.message, 3000);
|
||||
} else {
|
||||
notify(result.message, 4000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,17 +43,25 @@
|
||||
type: 'info'
|
||||
});
|
||||
if (prompt == 'Continue') {
|
||||
popup.pop(1500);
|
||||
notify('Version ' + version.version + ' is now the default on your system', 1500);
|
||||
registerVersion(version);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<Popup bind:this={popup} content="Version {version.version} is now the default on your system"
|
||||
></Popup>
|
||||
<div id="card">
|
||||
<div class="row">
|
||||
{version.version}
|
||||
<div
|
||||
role="button"
|
||||
tabindex="0"
|
||||
onkeydown={() => {}}
|
||||
onclick={async () => {
|
||||
await selectVersion(version);
|
||||
}}
|
||||
ondblclick={async () => {
|
||||
console.log('double click', version);
|
||||
await launchBlenderVersion(version);
|
||||
}}
|
||||
id="card"
|
||||
class:selected
|
||||
>
|
||||
<Button style="iconbutton" onclick={() => toggleFavourite(version)}
|
||||
><svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -57,52 +75,58 @@
|
||||
/>
|
||||
</svg>
|
||||
</Button>
|
||||
<div
|
||||
id="version-tag"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
onkeydown={() => {}}
|
||||
onmouseenter={() => (hovering = true)}
|
||||
onmouseleave={() => (hovering = false)}
|
||||
onclick={async (e) => {
|
||||
e.stopPropagation();
|
||||
await launchBlenderVersion(version);
|
||||
}}
|
||||
>
|
||||
<p>{hovering ? 'Launch' : version.version}</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<Button onclick={() => launchBlenderVersion(version)}>Launch</Button>
|
||||
<Menu>
|
||||
{#snippet children({ close })}
|
||||
<button
|
||||
type="button"
|
||||
class="menu-item"
|
||||
<MenuItem
|
||||
onclick={async () => {
|
||||
await handleDelete();
|
||||
close();
|
||||
}}>Delete</button
|
||||
}}>Delete</MenuItem
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="menu-item"
|
||||
<MenuItem
|
||||
onclick={async () => {
|
||||
await handleDefault();
|
||||
close();
|
||||
}}>Default</button
|
||||
}}>Default</MenuItem
|
||||
>
|
||||
{/snippet}
|
||||
</Menu>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
#card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
justify-content: space-between;
|
||||
aspect-ratio: 1 / 0.7;
|
||||
width: 100%;
|
||||
min-width: 170px;
|
||||
max-width: 200px;
|
||||
background-color: var(--white);
|
||||
border-radius: 5px;
|
||||
background-color: var(--light);
|
||||
padding: 1rem;
|
||||
}
|
||||
.row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
#card.selected {
|
||||
background-color: var(--light-accent);
|
||||
}
|
||||
#card:hover {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: -2px;
|
||||
@@ -113,18 +137,23 @@
|
||||
.fav-btn.fav {
|
||||
fill: var(--accent);
|
||||
}
|
||||
.menu-item {
|
||||
padding: 0.5rem 1rem;
|
||||
#version-tag{
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
border: none;
|
||||
font-family: var(--font);
|
||||
font-size: 1rem;
|
||||
color: var(--black);
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
border-radius: var(--round);
|
||||
}
|
||||
.menu-item:hover {
|
||||
background-color: var(--light-accent);
|
||||
#version-tag p{
|
||||
padding: .1rem .5rem ;
|
||||
}
|
||||
#version-tag:hover{
|
||||
border-radius: 5px;
|
||||
background-color: var(--accent);
|
||||
}
|
||||
|
||||
#version-tag:active{
|
||||
background-color: var(--black);
|
||||
}
|
||||
|
||||
#version-tag:hover p {
|
||||
color: var(--light);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -4,13 +4,14 @@ import {
|
||||
basename as pathBasename,
|
||||
dirname as pathDirname
|
||||
} from '@tauri-apps/api/path';
|
||||
import { stat, mkdir, readDir, copyFile, rename, remove } from '@tauri-apps/plugin-fs';
|
||||
import { stat, mkdir, readDir, copyFile, rename, remove, exists } from '@tauri-apps/plugin-fs';
|
||||
import { open } from '@tauri-apps/plugin-dialog';
|
||||
import baseicon from '$lib/assets/baseicon.png';
|
||||
import europa from '$lib/assets/fonts/Europa-Mono-Medium.otf';
|
||||
import { BASE_LIBRARY_DIR } from './settings';
|
||||
import figlet from 'figlet';
|
||||
import shadow from 'figlet/fonts/Classy';
|
||||
import { getInstalledVersions, getTemplatesDir } from './library';
|
||||
figlet.parseFont('Big', shadow);
|
||||
|
||||
/**
|
||||
@@ -58,10 +59,10 @@ export async function createIcon(iconText) {
|
||||
|
||||
/**
|
||||
* Create a custom banner with version number next to the baseIcon image
|
||||
* @param {string} versionText - Version text to display
|
||||
* @param {string} text - Version text to display
|
||||
* @returns {Promise<Blob>} Promise resolving to a PNG blob of the banner
|
||||
*/
|
||||
export async function createBanner(versionText) {
|
||||
export async function createBanner(text) {
|
||||
// Create canvas element for banner
|
||||
const canvas = document.createElement('canvas');
|
||||
const ctx = canvas.getContext('2d');
|
||||
@@ -82,11 +83,6 @@ export async function createBanner(versionText) {
|
||||
img.onload = resolve;
|
||||
});
|
||||
|
||||
// Calculate icon position (centered vertically, left-aligned)
|
||||
const iconSize = 70;
|
||||
const iconX = 20;
|
||||
const iconY = (canvas.height - iconSize) / 2;
|
||||
|
||||
// Add version text
|
||||
ctx.fillStyle = '#f5f5f5';
|
||||
ctx.textAlign = 'left';
|
||||
@@ -102,7 +98,9 @@ export async function createBanner(versionText) {
|
||||
const textX = 20;
|
||||
const textY = canvas.height / 2;
|
||||
|
||||
const bannerText = await figlet.text(versionText + ' - Base', { font: 'Big' });
|
||||
const bannerText = await figlet.text(text, {
|
||||
font: 'Big'
|
||||
});
|
||||
const lines = bannerText.split('\n');
|
||||
const lineHeight = fontSize * 1.2;
|
||||
const startY = textY - (lines.length * lineHeight) / 2 + lineHeight / 2;
|
||||
@@ -121,6 +119,32 @@ export async function createBanner(versionText) {
|
||||
}, 'image/png');
|
||||
});
|
||||
}
|
||||
|
||||
export async function addTemplateFile(version, filePath) {
|
||||
const newFileName = await pathBasename(filePath);
|
||||
const templateName = newFileName.replace(/\.blend$/i, '');
|
||||
const newTemplatePath = await join(await getTemplatesDir(version), templateName);
|
||||
|
||||
// Check for duplicate template name
|
||||
if (await exists(newTemplatePath)) {
|
||||
return { success: false, message: `Template "${templateName}" already exists` };
|
||||
}
|
||||
|
||||
const newTemplateFile = await join(newTemplatePath, 'startup.blend');
|
||||
await ensureDirectory(newTemplatePath);
|
||||
|
||||
try {
|
||||
await copyFile(filePath, newTemplateFile);
|
||||
} catch (error) {
|
||||
console.error('Error adding template file:', error);
|
||||
return { success: false, message: `Failed to add template: ${error.message || error}` };
|
||||
}
|
||||
|
||||
await getInstalledVersions();
|
||||
|
||||
return { success: true, message: `Template "${templateName}" added` };
|
||||
}
|
||||
|
||||
/**
|
||||
* Create library directory structure if it doesn't exist
|
||||
* @param {string} libraryDir - Library directory path
|
||||
@@ -131,10 +155,6 @@ export async function ensureLibraryStructure(libraryDir) {
|
||||
const baseDir = await join(libraryDir, BASE_LIBRARY_DIR);
|
||||
const blenderDir = await join(baseDir, 'blender');
|
||||
await mkdir(blenderDir, { recursive: true });
|
||||
|
||||
const templatesDir = await join(baseDir, 'templates');
|
||||
await mkdir(templatesDir, { recursive: true });
|
||||
|
||||
const configDir = await join(baseDir, 'config');
|
||||
await mkdir(configDir, { recursive: true });
|
||||
|
||||
@@ -201,24 +221,6 @@ export async function ensureDirectory(path) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the basename of a path (file or directory name)
|
||||
* @param {string} path - Full path
|
||||
* @returns {Promise<string>} Basename
|
||||
*/
|
||||
export async function basename(path) {
|
||||
return pathBasename(path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the directory name of a path
|
||||
* @param {string} path - Full path
|
||||
* @returns {Promise<string>} Directory name
|
||||
*/
|
||||
export async function dirname(path) {
|
||||
return pathDirname(path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy a file or directory recursively
|
||||
* @param {string} source - Source path
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { currentSettings } from '$lib/settings.js';
|
||||
import { createIcon, createBanner } from './file_utils';
|
||||
import { createIcon, createBanner, ensureDirectory } from './file_utils';
|
||||
import { platform } from '@tauri-apps/plugin-os';
|
||||
import { join, localDataDir } from '@tauri-apps/api/path';
|
||||
import { exists, stat, readDir, writeFile, remove } from '@tauri-apps/plugin-fs';
|
||||
@@ -7,7 +7,6 @@ import { invoke } from '@tauri-apps/api/core';
|
||||
import { writable, get } from 'svelte/store';
|
||||
import { LazyStore } from '@tauri-apps/plugin-store';
|
||||
import { BASE_LIBRARY_DIR } from '$lib/settings.js';
|
||||
import { confirm } from '@tauri-apps/plugin-dialog';
|
||||
import { updateDownloadProgress } from './download';
|
||||
|
||||
/** INSTALLED BLENDER VERSION TYPE
|
||||
@@ -17,13 +16,34 @@ import { updateDownloadProgress } from './download';
|
||||
* @property {string} executable - Path to Blender executable
|
||||
* @property {string} platform - Detected platform (windows, linux, macos)
|
||||
* @property {Date} [installDate] - Installation date (if available)
|
||||
* @property {Array<string>} [templates] - List of favourite scenes for this version
|
||||
*/
|
||||
|
||||
export const currentInstalledVersions = writable([]);
|
||||
export const installedVersionsStore = writable([]);
|
||||
export const selectedVersionStore = writable(null);
|
||||
const favouritesStore = new LazyStore('versions.json');
|
||||
|
||||
export async function selectVersion(version) {
|
||||
selectedVersionStore.set(version);
|
||||
}
|
||||
|
||||
export async function generateTemplateBanner(templateDir) {
|
||||
const bannerPath = `${templateDir}/banner.png`;
|
||||
if (await exists(bannerPath)) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const templateName = templateDir.split('/').pop() || templateDir.split('\\').pop();
|
||||
const banner = await createBanner(templateName);
|
||||
const bannerBuffer = new Uint8Array(await banner.arrayBuffer());
|
||||
await writeFile(bannerPath, bannerBuffer);
|
||||
} catch (error) {
|
||||
console.error(`Failed to generate banner for template: ${templateDir}`, error);
|
||||
}
|
||||
}
|
||||
|
||||
export async function generateVersionBanner(version) {
|
||||
const bannerPath = `${version.path}/banner.png`;
|
||||
const bannerPath = await join(version.path, 'banner.png');
|
||||
if (await exists(bannerPath)) {
|
||||
return;
|
||||
}
|
||||
@@ -165,12 +185,25 @@ export async function createDesktopFile(version, forceRecreate = false) {
|
||||
await remove(desktopFilePath);
|
||||
}
|
||||
|
||||
|
||||
const settings = get(currentSettings);
|
||||
const libraryDir = settings.libraryDir;
|
||||
|
||||
if (!libraryDir) {
|
||||
return {
|
||||
success: false,
|
||||
message: `couldn't find library`
|
||||
};
|
||||
}
|
||||
const blenderConfigPath = await join(libraryDir, BASE_LIBRARY_DIR, 'config', version.version);
|
||||
let bannerPath = await join(version.path, 'banner.png');
|
||||
|
||||
try {
|
||||
const desktopFileContent = `[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Blender ${version.version}
|
||||
Comment=Blender ${version.version} - 3D creation suite
|
||||
Exec=${version.executable.replace(/ /g, '\\ ')} %F
|
||||
Exec=env BLENDER_USER_RESOURCES=${blenderConfigPath.replace(/ /g, '\\ ')} BLENDER_CUSTOM_SPLASH_BANNER=${bannerPath.replace(/ /g, '\\ ')} ${version.executable.replace(/ /g, '\\ ')} %F
|
||||
Icon=${version.path.replace(/ /g, '\\ ')}/icon.png
|
||||
Terminal=false
|
||||
Categories=Graphics;3DGraphics;
|
||||
@@ -183,6 +216,18 @@ MimeType=application/x-blender;
|
||||
}
|
||||
}
|
||||
|
||||
export async function removeTemplate(templatePath) {
|
||||
if (await exists(templatePath)) {
|
||||
try {
|
||||
await remove(templatePath, { recursive: true });
|
||||
} catch (error) {
|
||||
console.warn(`Failed to remove template path: ${templatePath}`, error);
|
||||
}
|
||||
} else {
|
||||
console.warn(`Template path does not exist: ${templatePath}`);
|
||||
}
|
||||
}
|
||||
|
||||
export async function removeVersion(version) {
|
||||
if (await exists(version.path)) {
|
||||
try {
|
||||
@@ -200,7 +245,7 @@ export async function removeVersion(version) {
|
||||
* @param {blenderVersion} version The version to toggle.
|
||||
*/
|
||||
export async function toggleFavourite(version) {
|
||||
const versions = get(currentInstalledVersions);
|
||||
const versions = get(installedVersionsStore);
|
||||
console.log();
|
||||
const versionObj = versions.find((v) => v.version === version.version);
|
||||
if (versionObj) {
|
||||
@@ -208,11 +253,28 @@ export async function toggleFavourite(version) {
|
||||
} else {
|
||||
console.error('version not found', version);
|
||||
}
|
||||
currentInstalledVersions.set(versions);
|
||||
installedVersionsStore.set(versions);
|
||||
await favouritesStore.set(version.version, versionObj.favourite);
|
||||
await favouritesStore.save();
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove a template from the library.
|
||||
* @param {blenderVersion} version The version to remove the template from.
|
||||
* @param {string} template The name of the template to remove.
|
||||
*/
|
||||
export async function deleteTemplate(version, template) {
|
||||
const templatePath = await join(await getTemplatesDir(version), template);
|
||||
try {
|
||||
await removeTemplate(templatePath);
|
||||
await getInstalledVersions();
|
||||
return { success: true, message: `Template "${template}" deleted` };
|
||||
} catch (error) {
|
||||
console.error('Failed to delete template', error);
|
||||
return { success: false, message: `Failed to delete template: ${error.message || error}` };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete a version and remove it from disk.
|
||||
* @param {blenderVersion} version The version to delete.
|
||||
@@ -230,14 +292,15 @@ export async function deleteVersion(version) {
|
||||
await favouritesStore.save();
|
||||
|
||||
// Update the current installed versions list
|
||||
const versions = get(currentInstalledVersions);
|
||||
const versions = get(installedVersionsStore);
|
||||
const filteredVersions = versions.filter((v) => v.version !== version.version);
|
||||
currentInstalledVersions.set(filteredVersions);
|
||||
installedVersionsStore.set(filteredVersions);
|
||||
|
||||
console.log(`Successfully deleted version ${version.version}`);
|
||||
return { success: true, message: `Blender ${version.version} deleted` };
|
||||
} catch (error) {
|
||||
console.error(`Failed to delete version ${version.version}:`, error);
|
||||
throw error;
|
||||
return { success: false, message: `Failed to delete Blender ${version.version}: ${error.message || error}` };
|
||||
}
|
||||
}
|
||||
|
||||
@@ -253,13 +316,13 @@ export async function getInstalledVersions() {
|
||||
const settings = get(currentSettings);
|
||||
const libraryDir = settings.libraryDir;
|
||||
if (!libraryDir) {
|
||||
currentInstalledVersions.set([]);
|
||||
installedVersionsStore.set([]);
|
||||
return [];
|
||||
}
|
||||
const blenderLibraryPath = await join(libraryDir, BASE_LIBRARY_DIR, 'blender');
|
||||
|
||||
if (!exists(blenderLibraryPath)) {
|
||||
currentInstalledVersions.set([]);
|
||||
installedVersionsStore.set([]);
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -281,14 +344,23 @@ export async function getInstalledVersions() {
|
||||
const executable = await findBlenderExecutable(versionPath);
|
||||
if (executable) {
|
||||
const currentPlatform = platform();
|
||||
|
||||
// Get templates for this version
|
||||
|
||||
|
||||
let newVersion = {
|
||||
version,
|
||||
path: versionPath,
|
||||
executable,
|
||||
platform: currentPlatform,
|
||||
favourite: favourites[version] || false
|
||||
favourite: favourites[version] || false,
|
||||
templates: []
|
||||
};
|
||||
|
||||
var templates = await getTemplates(newVersion);
|
||||
|
||||
newVersion.templates = templates;
|
||||
|
||||
//check if version has an icon, if not generate one
|
||||
await generateVersionIcon(newVersion);
|
||||
await generateVersionBanner(newVersion);
|
||||
@@ -308,17 +380,63 @@ export async function getInstalledVersions() {
|
||||
}
|
||||
}
|
||||
|
||||
currentInstalledVersions.set(versions);
|
||||
cleanupOrphanedDesktopFiles(versions);
|
||||
installedVersionsStore.set(versions);
|
||||
await cleanupOrphanedDesktopFiles(versions);
|
||||
const selectedVersion = get(selectedVersionStore);
|
||||
if (selectedVersion) {
|
||||
const refreshed = versions.find((v) => v.version === selectedVersion.version);
|
||||
selectedVersionStore.set(refreshed || selectedVersion);
|
||||
} else {
|
||||
if (versions.length > 0) {
|
||||
let favouriteVersion = versions.find((v) => v.favourite);
|
||||
if (favouriteVersion) {
|
||||
selectedVersionStore.set(favouriteVersion);
|
||||
} else {
|
||||
selectedVersionStore.set(versions[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return versions;
|
||||
} catch (error) {
|
||||
console.error('Error getting installed versions:', error);
|
||||
currentInstalledVersions.set([]);
|
||||
installedVersionsStore.set([]);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {blenderVersion} version
|
||||
* @returns {Promise<string[]>} List of .blend files paths in the templates directory
|
||||
*/
|
||||
export async function getTemplates(version) {
|
||||
try {
|
||||
const templatesDir = await getTemplatesDir(version)
|
||||
await ensureDirectory(templatesDir);
|
||||
|
||||
const entries = await readDir(templatesDir);
|
||||
const templates = [];
|
||||
|
||||
const ignoredDirs = ['Storyboarding', '2D_Animation', 'Sculpting', 'VFX', 'Video_Editing'];
|
||||
for (const entry of entries) {
|
||||
if (entry.isDirectory && !ignoredDirs.includes(entry.name)) {
|
||||
const startupFile = await join(templatesDir, entry.name, 'startup.blend');
|
||||
await generateTemplateBanner(await join(templatesDir, entry.name));
|
||||
if (await exists(startupFile)) {
|
||||
templates.push(entry.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return templates;
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Register a Blender version with the system.
|
||||
* @param {blenderVersion} version - The version object to launch
|
||||
@@ -355,6 +473,53 @@ export async function registerVersion(version) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the templates directory for a given Blender version
|
||||
* @param {blenderVersion} version
|
||||
* @returns {Promise<string>}
|
||||
*/
|
||||
export async function getTemplatesDir(version) {
|
||||
|
||||
const versionNumber = version?.version;
|
||||
|
||||
|
||||
try {
|
||||
const templatesDir = await join(
|
||||
version.path,
|
||||
versionNumber.split('.').slice(0, 2).join('.'),
|
||||
'scripts',
|
||||
'startup',
|
||||
'bl_app_templates_system'
|
||||
);
|
||||
|
||||
await ensureDirectory(templatesDir);
|
||||
console.log(templatesDir)
|
||||
return templatesDir;
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {blenderVersion} version
|
||||
* @param {string} template
|
||||
* @returns {Promise<string>}
|
||||
*/
|
||||
export async function getTemplate(version, template) {
|
||||
try {
|
||||
// Launch the executable
|
||||
const templatesDir = await join(await getTemplatesDir(version),
|
||||
template
|
||||
);
|
||||
return templatesDir;
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Launch a specific Blender version.
|
||||
* @param {blenderVersion} version - The version object to launch
|
||||
@@ -386,18 +551,34 @@ export async function launchBlenderVersion(version, template = null) {
|
||||
if (!libraryDir) {
|
||||
return {
|
||||
success: false,
|
||||
message: `couldn't find library: ${version.executable}`
|
||||
message: `couldn't find library`
|
||||
};
|
||||
}
|
||||
const blenderConfigPath = await join(libraryDir, BASE_LIBRARY_DIR, 'config', version.version);
|
||||
|
||||
// Launch the executable
|
||||
let bannerPath;
|
||||
if (template) {
|
||||
const templateDir = await getTemplate(version, template);
|
||||
bannerPath = await join(templateDir, 'banner.png');
|
||||
} else {
|
||||
bannerPath = await join(version.path, 'banner.png');
|
||||
}
|
||||
const args = template ? ['--app-template', template] : [];
|
||||
|
||||
/*if (template) {
|
||||
|
||||
} else {
|
||||
bannerPath = await join(version.path, 'banner.png');
|
||||
} */
|
||||
|
||||
console.log('launching', version.executable, args);
|
||||
invoke('launch_binary', {
|
||||
path: version.executable,
|
||||
args: [],
|
||||
args: args,
|
||||
env: {
|
||||
BLENDER_USER_RESOURCES: blenderConfigPath,
|
||||
BLENDER_CUSTOM_SPLASH_BANNER: await join(version.path, 'banner.png')
|
||||
BLENDER_CUSTOM_SPLASH_BANNER: bannerPath
|
||||
}
|
||||
});
|
||||
} catch (error) {
|
||||
@@ -405,11 +586,16 @@ export async function launchBlenderVersion(version, template = null) {
|
||||
const errorMessage = error instanceof Error ? error.message : String(error);
|
||||
return {
|
||||
success: false,
|
||||
message: `Launch failed: ${errorMessage}`
|
||||
message: `. failed: ${errorMessage}`
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string} versionPath
|
||||
* @returns {Promise<string | null>} Path to the Blender executable, or null if not found
|
||||
*/
|
||||
async function findBlenderExecutable(versionPath) {
|
||||
const settings = get(currentSettings);
|
||||
const currentPlatform = settings.defaultPlatform;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
export const notification = writable(null);
|
||||
|
||||
/**
|
||||
* Show a notification popup.
|
||||
* @param {string} message - The message to display
|
||||
* @param {number} [timeout=3000] - Auto-dismiss timeout in milliseconds
|
||||
*/
|
||||
export function notify(message, timeout = 3000) {
|
||||
notification.set({ message, timeout });
|
||||
}
|
||||
@@ -12,6 +12,7 @@ import { ensureLibraryStructure, selectDirectory } from './file_utils.js';
|
||||
* @property {string} [theme] - Theme ('light', 'dark')
|
||||
* @property {boolean} [autoCreateShortcuts] - should smoothie create a shortcut to newly installed blender versions
|
||||
* @property {boolean} [keepDownloadedArchives] - Whether to keep downloaded archives after extraction
|
||||
* @property {boolean} [closeToTray] - Whether to close the window to the tray instead of exiting when the close button is clicked
|
||||
*/
|
||||
|
||||
// Settings lazy store
|
||||
@@ -32,7 +33,8 @@ export async function initSettings() {
|
||||
defaultArch: detectedArch,
|
||||
keepDownloadedArchives: false,
|
||||
autoCreateShortcuts: true,
|
||||
theme: 'light' //
|
||||
theme: 'light', //
|
||||
closeToTray: true
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
import { TrayIcon } from '@tauri-apps/api/tray';
|
||||
import { getCurrentWindow } from '@tauri-apps/api/window';
|
||||
import { currentSettings } from './settings';
|
||||
import { get } from 'svelte/store';
|
||||
import { Menu } from '@tauri-apps/api/menu';
|
||||
|
||||
const mainWindow = getCurrentWindow();
|
||||
|
||||
export async function setupTrayIcon() {
|
||||
// Prevent the window from closing when the close button is clicked
|
||||
mainWindow.onCloseRequested((event) => {
|
||||
const settings = get(currentSettings);
|
||||
if (settings.closeToTray) {
|
||||
event.preventDefault();
|
||||
mainWindow.hide();
|
||||
}
|
||||
});
|
||||
const menu = await Menu.new({
|
||||
items: [
|
||||
{
|
||||
id: 'toggle',
|
||||
text: 'Show/Hide',
|
||||
action: async () => {
|
||||
const visible = await mainWindow.isVisible();
|
||||
console.log(visible);
|
||||
if (visible) {
|
||||
mainWindow.hide();
|
||||
} else {
|
||||
mainWindow.show();
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'quit',
|
||||
text: 'Quit',
|
||||
action: () => {
|
||||
mainWindow.destroy();
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
const options = {
|
||||
menu,
|
||||
menuOnLeftClick: true
|
||||
};
|
||||
|
||||
return await TrayIcon.new(options);
|
||||
}
|
||||
@@ -1,32 +1,50 @@
|
||||
<script>
|
||||
import '@webtui/css/components/spinner.css';
|
||||
import { fade } from 'svelte/transition';
|
||||
// LIBS
|
||||
import { getVersion } from '@tauri-apps/api/app';
|
||||
import { onMount } from 'svelte';
|
||||
import { getSettings, currentSettings } from '$lib/settings.js';
|
||||
import { fade } from 'svelte/transition';
|
||||
import '@webtui/css/components/spinner.css';
|
||||
|
||||
// MODULES
|
||||
import { setupTrayIcon } from '$lib/trayicon';
|
||||
import { getSettings, currentSettings } from '$lib/settings';
|
||||
import { getBlenderReleases, blenderReleases } from '$lib/blenderfetch';
|
||||
import { getInstalledVersions, currentInstalledVersions } from '$lib/library.js';
|
||||
|
||||
import { getInstalledVersions, installedVersionsStore } from '$lib/library.js';
|
||||
import { downloadTasksStore } from '$lib/download.js';
|
||||
import Library from '$lib/components/Library.svelte';
|
||||
import Download from '$lib/components/Download.svelte';
|
||||
import Settings from '$lib/components/Settings.svelte';
|
||||
import Popup from '$lib/components/Popup.svelte';
|
||||
import Dialog from '$lib/components/Dialog.svelte';
|
||||
import Splash from '$lib/components/Splash.svelte';
|
||||
import { notification } from '$lib/notification.js';
|
||||
|
||||
// states
|
||||
let fadeInSettings = { duration: 100 };
|
||||
let fadeOutSettings = { duration: 100, delay: fadeInSettings.duration };
|
||||
let activeTab = 'library';
|
||||
let blenderVersions = [];
|
||||
let installedVersions = [];
|
||||
let downloadTasks = [];
|
||||
let settings = {};
|
||||
let initialized = false;
|
||||
let activeTab = $state('library');
|
||||
let blenderVersions = $state([]);
|
||||
let installedVersions = $state([]);
|
||||
let downloadTasks = $state([]);
|
||||
let settings = $state();
|
||||
let notificationPopup;
|
||||
let initialized = $state(false);
|
||||
let version = $state('');
|
||||
let loadingState = $state('loading'); // load, update, initialized
|
||||
|
||||
function initStoresListeners() {
|
||||
notification.subscribe((n) => {
|
||||
if (n) {
|
||||
notificationPopup?.pop(n.message, n.timeout);
|
||||
}
|
||||
});
|
||||
|
||||
async function initStoresListeners() {
|
||||
currentSettings.subscribe((value) => {
|
||||
settings = value;
|
||||
console.log('Loaded settings:', settings);
|
||||
});
|
||||
currentInstalledVersions.subscribe((value) => {
|
||||
installedVersionsStore.subscribe((value) => {
|
||||
installedVersions = value;
|
||||
console.log('Loaded installed versions:', installedVersions);
|
||||
});
|
||||
@@ -41,33 +59,28 @@
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
const startTime = Date.now();
|
||||
|
||||
loadingState = 'Checking for Updates';
|
||||
version = await getVersion();
|
||||
loadingState = 'Loading Settings';
|
||||
await getSettings();
|
||||
loadingState = 'Fetching Blender Releases';
|
||||
await getBlenderReleases();
|
||||
loadingState = 'Loading your installs';
|
||||
await getInstalledVersions();
|
||||
|
||||
initStoresListeners();
|
||||
const elapsed = Date.now() - startTime;
|
||||
if (elapsed < 2000) {
|
||||
initialized = true;
|
||||
/* setTimeout(() => {
|
||||
initialized = true;
|
||||
}, 2000 - elapsed);*/
|
||||
} else {
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
//await getInstalledVersions();
|
||||
//
|
||||
loadingState = 'Setting up Tray';
|
||||
await setupTrayIcon();
|
||||
loadingState = 'initializing';
|
||||
await initStoresListeners();
|
||||
await setTimeout(() => {}, 1000);
|
||||
loadingState = 'initialized';
|
||||
});
|
||||
</script>
|
||||
|
||||
<Popup content="Are you sure you want to delete this file?" type="confirm" />
|
||||
<Popup bind:this={notificationPopup} />
|
||||
<Dialog />
|
||||
|
||||
<div id="main">
|
||||
{#if initialized}
|
||||
{#if loadingState == 'initialized'}
|
||||
<div class="tablist" role="tablist">
|
||||
<div
|
||||
role="tab"
|
||||
@@ -120,8 +133,11 @@
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div class="version">v{version}</div>
|
||||
{:else}
|
||||
LOADING...
|
||||
<div class="splash-wrapper" in:fade={{ duration: 100 }} out:fade={{ delay: 50, duration: 200 }}>
|
||||
<Splash {loadingState} />
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
@@ -205,4 +221,21 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.version {
|
||||
position: fixed;
|
||||
bottom: 2.8rem;
|
||||
right: 3rem;
|
||||
z-index: 2;
|
||||
text-align: right;
|
||||
color: var(--light-accent);
|
||||
}
|
||||
.splash-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: var(--white);
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// Tauri doesn't have a Node.js server to do proper SSR
|
||||
// so we will use adapter-static to prerender the app (SSG)
|
||||
// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info
|
||||
import adapter from "@sveltejs/adapter-static";
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
kit: {
|
||||
adapter: adapter(),
|
||||
},
|
||||
adapter: adapter()
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
||||