diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2247baa..42264e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install system dependencies 📦 - run: sudo apt-get update -y && sudo apt-get install -y dbus dbus-user-session inkscape + run: | + sudo apt-get update -y + sudo apt-get install -y inkscape - name: Install requirements 📦 run: | python3 -m pip install --upgrade pip diff --git a/scripts/wws_manage.sh b/scripts/wws_manage.sh index 1d5f9ca..6dcb85a 100755 --- a/scripts/wws_manage.sh +++ b/scripts/wws_manage.sh @@ -35,7 +35,7 @@ case $1 in for svg in $SVG_FILES do BASENAME=`basename $svg .svg` - dbus-run-session inkscape -f $svg -e $PNG_DIR/$BASENAME.png --g-fatal-warnings -l + inkscape --export-type=png --export-filename=$PNG_DIR/$BASENAME.png $svg -l status=$? if [ $status -ne 0 ]; then COUNTER=$((COUNTER+1))