Skip to content

tealinuxos/tealinux-installer

Repository files navigation

Tealinux Installer

A Linux installer made exclusively for TealinuxOS, built with Tauri and SvelteKit.

image

Prequisites

Linux Dependency

  • lshw
  • rsync
  • fuse2
  • gcc-libs
  • webkit2gtk-4.1
  • libappindicator-gtk3
  • appmenu-gtk-module

To install the required dependencies on a Linux system using pacman, run the following command:

sudo pacman -Sy \
  webkit2gtk-4.1 \
  base-devel \
  curl \
  wget \
  file \
  openssl \
  appmenu-gtk-module \
  libappindicator-gtk3 \
  librsvg \ 
  lshw \ 
  dmidecode \ 
  rsync \ 
  fuse2 \ 
  gcc-libs \ 

Running

Install all dependencies:

bun install

Running the project:

bunx tauri dev

Building

To build and bundle into an executable:

bunx tauri build

# if encountering error running image.sh
NO_STRIP=true bunx tauri build

the TEALINUX_BUILD env accepting two mode

  • dev this type of build will stop installer touching dangerous parts, essential safe for frontend development
  • prod (or explicitly production) this type of build will execute the dangerous parts (such partitioning, format, etc), this also will instruct internal parts library to use real system call instead use dummy data (i.e os-probe output)

this environment evaluation is executed only on build time, the resulted binary must be presistent.

example

# create final executable
TEALINUX_BUILD=prod bunx tauri build

# or run dev instead
TEALINUX_BUILD=dev bunx tauri dev

# if you doing backend development
TEALINUX_BUILD=prod bunx tauri dev

Contributing

To contribute, here's list of TODO. Thank you for considering it!

About

A Linux installer made exclusively for TealinuxOS, built with Tauri and SvelteKit.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7