mirror of
https://github.com/Snigdha-OS/snigdhaos-kernel-switcher.git
synced 2025-09-06 15:15:12 +02:00
🐞 fix(_path): fix relative to absolute path
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from os import makedirs
|
from os import makedirs
|
||||||
|
@@ -1,7 +1,23 @@
|
|||||||
#!/bin/python
|
#!/usr/bin/python
|
||||||
import os
|
import os
|
||||||
|
import libs.functions as fn
|
||||||
import gi
|
import gi
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "4.0")
|
||||||
from gi.repository import Gtk, Gio, GLib, Gdk
|
from gi.repository import Gtk, Gio, GLib, Gdk
|
||||||
|
|
||||||
|
base_dir = fn.os.path.dirname(fn.os.path.realpath(__file__))
|
||||||
|
|
||||||
|
app_name = "Snigdha OS Kernel Switcher"
|
||||||
|
app_version = "${app_version}"
|
||||||
|
app_name_dir = "snigdhaos-kernel-switcher"
|
||||||
|
app_id = "org.snigdhaos.kernelswitcher"
|
||||||
|
lock_file = "/tmp/.sks.lock"
|
||||||
|
progress_lock_file = "/tmp/.sks-progress.lock"
|
||||||
|
pid_file ="/tmp/.sks.pid"
|
||||||
|
|
||||||
|
class Main(Gtk.Application):
|
||||||
|
def __init__(self):
|
||||||
|
super().__init__(application_id=app_id, flags=Gio.ApplicationFlags.FLAGS_NONE)
|
||||||
|
|
||||||
|
def do_activate(self):
|
||||||
|
default_context = GLib.
|
Reference in New Issue
Block a user