Files
diy-layout-creator/diylc/diylc-swing/appimage/diylc.sh
T
Bane Stojkovic b657a4d53f Feature/gerber (#881)
* gerber initial implementation

* added icon

* refactor actions

* add ground fill for gerber

* reorganize export actions

* fix gerber export of pcb text

* handle negative pcb text

* improve positioning of pcb text

* add board outline for gerber

* add support for other pad shapes

* handle 0 hole size

* added solder mask layer

* refactor gerber support to simplify components

* added silk screen support, some refactor

* libs

* fix mirroring

* outline support

* simplify layers

* Fix board alignment

* handle circular pads

* handle empty string

* update

* fixes

* add text to silk

* fix text tracing

* cleanup

* fix layer id

* optimize continuity calculations

* Solder pad - pth vs npth

* gerber fixes

* netlist improvement

* Update update.xml

* Pasting a building block sometimes messes up the z-order of components

* Pasting a building block sometimes switches selection to previously added components and canvas moves to the wrong position

* 'Highlight Continuity Areas' sometimes renders stale areas when clicked

* beta build

* fix builds

* appimage

* appimage

* appimage

* fix building from downloaded jre

* disable fractional metrics

* appimage

* Create build.zip

* bat for setup

* fix for high DPI monitors

* fixes

* scaling

* appimage

* 4.41 release

* cleanup

* Update org.eclipse.core.resources.prefs
2025-03-07 10:57:31 +01:00

11 lines
779 B
Bash

#!/bin/bash
HERE="$(dirname "$(readlink -f "$0")")"
# Set JRE path inside AppImage
if [ -d "$HERE/../lib/jre" ]; then
JAVA_HOME="$HERE/../lib/jre"
PATH="$JAVA_HOME/bin:$PATH"
export JAVA_HOME PATH
fi
exec "$JAVA_HOME/bin/java" -Xms512m -Xmx4096m -javaagent:lib/jar-loader.jar -Dorg.diylc.scriptRun=true -Dfile.encoding=UTF-8 -cp diylc.jar:lib --add-exports java.desktop/com.apple.eawt.event=ALL-UNNAMED --add-exports java.desktop/com.apple.eio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED --add-opens java.desktop/java.awt=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens java.desktop/java.awt.geom=ALL-UNNAMED org.diylc.DIYLCStarter "$@"