From 2ce8c4fc5c915624bc6225a563a3712c0a78886c Mon Sep 17 00:00:00 2001 From: GloriousEggroll Date: Tue, 9 Jul 2024 13:13:49 -0600 Subject: [PATCH] update snap readme --- packaging/snap/README.md | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/packaging/snap/README.md b/packaging/snap/README.md index 819738614..e0ee70b1b 100644 --- a/packaging/snap/README.md +++ b/packaging/snap/README.md @@ -6,22 +6,25 @@ With that being said, we have put the snap together for convenience for those th Please be aware that this runs in devmode with without any standard snap confinements. -1. Install build dependencies: - +1. Install build dependencies: +``` snap install snapcraft --classic - -2. Create snap structure: - +``` +2. Create snap structure: +``` mkdir snap cp snapcraft.yaml snap/ - -3. Build: +``` +3. Build: +``` snapcraft - -4. Install: - -snap install --dangerous --devmode umu-launcher*.snap - -5. Test: - +``` +4. Install: +``` +sudo snap install --dangerous --devmode umu-launcher*.snap +``` +5. Test: +``` +sudo snap connect umu-launcher:gaming-mesa gaming-graphics-core22 WINEPREFIX=~/umu-test STORE=none GAMEID=0 umu-launcher.umu-run winecfg +```