mirror of
https://github.com/ivabus/gui
synced 2025-04-24 14:37:11 +03:00
1.7 KiB
1.7 KiB
@tea/desktop
Desktop app of tea for installing packages/softwares
More interesting and possibly updated documentations are at this NOTION page. It is ideal to review it also, its more updated.
Developing
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
# use if you need interaction with the rust handlers
pnpm tauri dev
# or if ui dev only
pnpm run dev -- --open
Building
To create a production version of your app:
pnpm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.
Testing
pnpm playwright install
pnpm test
Intuition Building Links
A minimal project template for Electron and SvelteKit configured with adapter-static.
Screenshot
Commands
pnpm dev
: Runs SvelteKit in dev modepnpm preview
: Runs SvelteKit in production modepnpm electron
: Runs SvelteKit with electron in dev modepnpm build
: Runs SvelteKit compilerpnpm dev:package
: Creates an Electron package (you can inspect the contents)pnpm package
: Creates a distributable Electron package