Commit 0fd3d13d authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui Committed by GitHub

Fix Flatpak build (#76)

* prepare for a new hotfix release
parent cf125c87
......@@ -9,6 +9,8 @@ tags
*.so
*.po~
test/
.auth/
auth/
# Distribution / packaging
builddir/
......
from os import path
from tempfile import NamedTemporaryFile, gettempdir
from tempfile import NamedTemporaryFile
from gi.repository import Gio, GLib
......@@ -10,7 +10,8 @@ class GNOMEScreenshot:
@staticmethod
def area(filename=None):
if not filename:
filename = path.join(GLib.get_user_cache_dir(), NamedTemporaryFile().name)
filename = path.join(GLib.get_user_cache_dir(),
path.basename(NamedTemporaryFile().name))
bus = Gio.bus_get_sync(Gio.BusType.SESSION, None)
screen_proxy = Gio.DBusProxy.new_sync(bus,
Gio.DBusProxyFlags.NONE,
......
......@@ -39,7 +39,7 @@ class AboutDialog(Gtk.AboutDialog):
self.set_license_type(Gtk.License.GPL_3_0)
self.set_program_name(_("Authenticator"))
self.set_translator_credits(_("translator-credits"))
self.set_version("0.2.2")
self.set_version("0.2.2.1")
self.set_comments(_("Two-factor authentication code generator."))
self.set_website(
"https://github.com/bilelmoussaoui/Gnome-Authenticator")
[![Translation status](https://hosted.weblate.org/widgets/authenticator/-/svg-badge.svg)](https://hosted.weblate.org/engage/authenticator/?utm_source=widget) [![Version](https://img.shields.io/badge/version-0.2.2-green.svg)](https://github.com/bilelmoussaoui/Authenticator/releases)
[![Translation status](https://hosted.weblate.org/widgets/authenticator/-/svg-badge.svg)](https://hosted.weblate.org/engage/authenticator/?utm_source=widget) [![Version](https://img.shields.io/badge/version-0.2.2.1-green.svg)](https://github.com/bilelmoussaoui/Authenticator/releases)
# Authenticator
<img src="https://raw.githubusercontent.com/bilelmoussaoui/Authenticator/master/data/icons/hicolor/256x256/apps/com.github.bilelmoussaoui.Authenticator.png" width="128" height="128" />
......
......@@ -133,7 +133,7 @@
"buildsystem": "meson",
"sources": [{
"type": "git",
"url": "git@github.com:bilelmoussaoui/Authenticator.git",
"url": "https://github.com/bilelmoussaoui/Authenticator",
"branch": "master"
}]
}
......
......@@ -37,6 +37,13 @@
</categories>
<content_rating type="oars-1.0" />
<releases>
<release version="0.2.2.1" date="2018-09-03">
<description>
<ul>
<li>Fix python-dbus by using GDbus instead</li>
</ul>
</description>
</release>
<release version="0.2.2" date="2018-09-02">
<description>
<ul>
......
project('com.github.bilelmoussaoui.Authenticator',
version: '0.2.2',
version: '0.2.2.1',
meson_version: '>= 0.40',
license: 'GPL+-3.0',
default_options: ['prefix=/usr']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment