mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Add a dev_scripts/dangerzone-image
This commit is contained in:
parent
7991a5cb9c
commit
7bbd260c72
1 changed files with 13 additions and 1 deletions
|
@ -1 +0,0 @@
|
||||||
dangerzone
|
|
13
dev_scripts/dangerzone-image
Executable file
13
dev_scripts/dangerzone-image
Executable 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()
|
Loading…
Reference in a new issue