From 6d4fbcd078bf915ca4b3759da97cb41a89a50157 Mon Sep 17 00:00:00 2001 From: dav Date: Sat, 4 Nov 2023 18:00:12 -0700 Subject: [PATCH] Small Fixes for Flatpak Building Be sure to install gnome 45 not 44 Build: `flatpak-builder --keep-build-dirs --user --disable-rofiles-fuse flatpak_app com.hackclub.burrow.json` --- burrow-gtk/com.hackclub.burrow.json | 10 +++++----- burrow-gtk/src/.gitignore | 1 + burrow-gtk/src/config.rs | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 burrow-gtk/src/.gitignore diff --git a/burrow-gtk/com.hackclub.burrow.json b/burrow-gtk/com.hackclub.burrow.json index bf42d59..e4bfabe 100644 --- a/burrow-gtk/com.hackclub.burrow.json +++ b/burrow-gtk/com.hackclub.burrow.json @@ -1,7 +1,7 @@ { "app-id" : "com.hackclub.burrow", "runtime" : "org.gnome.Platform", - "runtime-version" : "44", + "runtime-version" : "45", "sdk" : "org.gnome.Sdk", "sdk-extensions" : [ "org.freedesktop.Sdk.Extension.rust-stable" @@ -53,11 +53,11 @@ "subdir" : "burrow-gtk", "buildsystem" : "meson", "sources" : [ - { - "type" : "git", - "branch" : "main", - "url" : "https://github.com/hackclub/burrow.git" + { + "type": "dir", + "path": "./" } + ] } ] diff --git a/burrow-gtk/src/.gitignore b/burrow-gtk/src/.gitignore new file mode 100644 index 0000000..c6bb786 --- /dev/null +++ b/burrow-gtk/src/.gitignore @@ -0,0 +1 @@ +config.rs diff --git a/burrow-gtk/src/config.rs b/burrow-gtk/src/config.rs index 73ce81e..cb50d0e 100644 --- a/burrow-gtk/src/config.rs +++ b/burrow-gtk/src/config.rs @@ -1,4 +1,4 @@ pub static VERSION: &str = "0.1.0"; pub static GETTEXT_PACKAGE: &str = "burrow-gtk"; -pub static LOCALEDIR: &str = "/app/share/locale"; -pub static PKGDATADIR: &str = "/app/share/burrow-gtk"; +pub static LOCALEDIR: &str = "/usr/local/share/locale"; +pub static PKGDATADIR: &str = "/usr/local/share/burrow-gtk";