From 3b4992049b873d445dbf6919a871d542046bcce3 Mon Sep 17 00:00:00 2001 From: "Ngo Iok Ui (Wu Yu Wei)" Date: Tue, 24 Sep 2024 10:55:24 +0900 Subject: [PATCH] Revert "fix: get flatpak deps from flathub README (#143)" This reverts commit 2cd31ab0612cf8eb8ce6fddfe05554f7d40fdbbe. --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35857aec..caaef8bb 100644 --- a/README.md +++ b/README.md @@ -55,13 +55,21 @@ cargo run For unified environment setup and package experience, we choose Flatpak to build the project from the start. Please follow the [Flatpak Setup](https://flatpak.org/setup/) page to install Flatpak based on your distribution. +- Install flatpak runtimes and extensions: + +```sh +flatpak install flathub org.freedesktop.Platform//23.08 +flatpak install flathub org.freedesktop.Sdk//23.08 +flatpak install flathub org.freedesktop.Sdk.Extension.rust-stable//23.08 +flatpak install flathub org.freedesktop.Sdk.Extension.llvm18//23.08 +``` - Generate manifests and build: // TODO Exporting to a repository instead ```sh python3 ./flatpak-cargo-generator.py ./Cargo.lock -o cargo-sources.json -flatpak-builder --user --install --install-deps-from=flathub --force-clean target org.versotile.verso.yml +flatpak-builder --user --install --force-clean target org.versotile.verso.yml flatpak run org.versotile.verso ``` @@ -88,7 +96,7 @@ But please understand we don't triage any build issue without flatpak or nix set Nightly releases built with CrabNebula Cloud can be found at [releases](https://web.crabnebula.cloud/verso/verso-nightly/releases). -> Packages are unsigned currently. If you have problem opening the app on macOS, try `xattr -d com.apple.quarantine /Applications/verso.app` after installation. +> Packages are unsigned currently. If you have problem opening the app on macOS, try `xattr -d com.apple.quarantine /Applications/verso.app` after installation. ## Future Work