mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-09 01:03:54 +01:00
12 lines
492 B
Bash
Executable File
12 lines
492 B
Bash
Executable File
#!/bin/bash
|
|
export INKSCAPE=/Applications/Inkscape.app/Contents/MacOS/inkscape
|
|
|
|
mkdir ${TMPDIR}real
|
|
|
|
for filename in real/*.svg; do
|
|
#./MyProgram.exe "$filename" "Logs/$(basename "$filename" .txt)_Log$i.txt"
|
|
cp "$filename" $TMPDIR${filename}
|
|
sed -i '' 's/00ff00/808080/g' $TMPDIR${filename}
|
|
$INKSCAPE --export-type png --export-filename tmp/${filename}-.png -w 256 $TMPDIR${filename}
|
|
$INKSCAPE --export-type png --export-filename tmp/${filename}.png -w 256 "$filename"
|
|
done |