Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
meshya committed May 28, 2024
1 parent 897aeec commit 059a690
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package/archlinux/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=namban
pkgver=0.1
pkgver=0.2
pkgrel=1
pkgdesc="use custom dns has never been hard"
arch=('any')
Expand Down
6 changes: 6 additions & 0 deletions src/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import sys
import control
import core
import checks
class application(Gtk.Application, control.control, storage.storage, core.core):
def __init__(self):
Gtk.Application.__init__(self,
Expand All @@ -23,6 +24,11 @@ def data(self):
def activate(self,*args):
win = window(app=self)
win.present()

def run(self,*d,**dd):
super().run(*d,**dd)
self.disconnectProfiles()


def main() :
return application().run([])
Expand Down
1 change: 1 addition & 0 deletions src/namban.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
print('Run it as root!')
sys.exit(1)
checks.checkStartupService()
checks.checkPaths()
sys.exit(
application.main()
)

0 comments on commit 059a690

Please sign in to comment.