Add a dev_scripts/dangerzone-image

This commit is contained in:
Alexis Métaireau 2025-01-29 19:31:30 +01:00
parent 7991a5cb9c
commit 7bbd260c72
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -1 +0,0 @@
dangerzone

13
dev_scripts/dangerzone-image Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
# Load dangerzone module and resources from the source code tree
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.dangerzone_dev = True
from dangerzone.updater import cli
cli.main()