Skip to content

Commit

Permalink
q-dev: drop dependence on qubes core
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrbartman committed Oct 14, 2024
1 parent 9a3cc15 commit 1315da6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qui/tools/attach_confirm.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,19 @@
import sys
import asyncio

import qubes
import qubesadmin

from qrexec.server import call_socket_service
from qrexec.utils import get_system_info

SOCKET_PATH = "/var/run/qubes"


def main():
socket = "device-agent.GUI"

app = qubes.Qubes()
system_info = qubes.api.internal.get_system_info(app)
app = qubesadmin.Qubes()
system_info = get_system_info()
doms = app.domains

try:
Expand Down

0 comments on commit 1315da6

Please sign in to comment.