Skip to content

Multi-platform portable (offline) application that bundles the BYBE website

License

Notifications You must be signed in to change notification settings

RakuJa/BYBE-Portable

Repository files navigation

BYBE-Portable

Multi-platform portable (offline) application that bundles the BYBE website

Build base package locally for Linux/Windows/MacOS

Install Tauri-cli

cargo install tauri-cli

Clone repository

git clone --recurse-submodules https://github.com/RakuJa/BYBE-Portable.git

Copy the DB in home or change ENV variable

To let BYBE aka BYBE-backend aka BYBE-core compile, you have to let the Rust library find the database.db file. This can be done either by:

cp . /full/path/to/BYBE-Portable/BYBE-tauri/data/database.db

or by:

export DATABASE_URL = /full/path/to/BYBE-Portable/BYBE-tauri/data/database.db

Important! It's better to avoid the latter, as it could result in unexpected behaviour during dev testing

Test the application (does not export bundles)

In the project directory, run

cargo tauri dev

Build the bundle

In the project directory, run

cargo tauri build

Errors should only happen if you have a Arch/Fedora distribution and AppImage as target build. (https://tauri.app/v1/guides/building/linux/#limitations / linuxdeploy/linuxdeploy#272) If there are errors while building the AppImage, first delete the target folder at ./BYBE-tauri/target and when there is no target folder run

NO_STRIP=true cargo tauri build

About

Multi-platform portable (offline) application that bundles the BYBE website

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages