Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketok4321 committed Sep 8, 2023
1 parent 5a778f2 commit 6c71d53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('speedtest',
version: '0.1.0',
version: '1.0.0',
meson_version: '>= 0.62.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)
Expand Down
7 changes: 4 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
from .speedtest_worker import SpeedtestWorker

class SpeedtestApplication(Adw.Application):
def __init__(self):
def __init__(self, version):
super().__init__(application_id="xyz.ketok.Speedtest", flags=Gio.ApplicationFlags.DEFAULT_FLAGS)

self.servers = None
self.win = None
self.version = version

self.create_action("quit", lambda *_: self.quit(), ["<primary>q", "<primary>w"])
self.create_action("about", self.on_about_action)
Expand Down Expand Up @@ -60,7 +61,7 @@ def on_about_action(self, widget, _):
application_name="Speedtest",
application_icon="xyz.ketok.Speedtest",
developer_name="Ketok",
version="0.1.0",
version=self.version,
issue_url="https://github.com/Ketok4321/speedtest/issues",
developers=["Ketok"],
copyright="© 2023 Ketok",
Expand Down Expand Up @@ -100,5 +101,5 @@ def create_action(self, name, callback, shortcuts=None):
return action

def main(version):
app = SpeedtestApplication()
app = SpeedtestApplication(version)
return app.run(sys.argv)

0 comments on commit 6c71d53

Please sign in to comment.