This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ftp -MVo- https://ftp.openbsd.org/pub/OpenBSD/snapshots/$(uname -m)/BUILDINFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| GDXARCH= | |
| if [ "$(uname -p)" = "amd64" ] ; then | |
| GDXARCH=64 | |
| fi | |
| JAVA_HOME=${TRUEPREFIX}/jdk-11 | |
| PATH=$PATH:$JAVA_HOME/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # get mainClass from config.json | |
| mainclass= | |
| mainclass="$(cat config.json | grep mainClass | cut -d\" -f 4)" | |
| # TODO: get vmArgs from config.json | |
| vmargs="-Xmx2G" | |
| JAVA_HOME=${TRUEPREFIX}/jdk-11 PATH=$PATH:$JAVA_HOME/bin java $vmargs $mainclass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- assets/node-webkit.html.orig Sat Nov 28 20:42:00 2020 | |
| +++ assets/node-webkit.html Sat Nov 28 21:06:54 2020 | |
| @@ -51,12 +51,14 @@ | |
| <script type="text/javascript"> | |
| // make sure we don't let node-webkit show it's error page | |
| // TODO for release mode, there should be an option to write to a file or something. | |
| + /* | |
| window['process'].once('uncaughtException', function() { | |
| var win = require('nw.gui').Window.get(); | |
| if(!(win.isDevToolsOpen && win.isDevToolsOpen())) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # make sure the appropriate autorandr configurations exist | |
| for a_status in docked docked_open; do | |
| autorandr | egrep -q "^$a_status( .*)?$" || \ | |
| { echo "Error: no autorandr for $a_status"; exit 1; } | |
| done | |
| lid_status=$(sysctl -n hw.sensors.acpibtn0.indicator0 | cut -f1 -d' ') | |
| if [ $lid_status = "On" ]; then # "On" = lid open |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ######## | |
| # Copyright (c) 2018-2019 Thomas Frohwein <[email protected]> | |
| # | |
| # Permission to use, copy, modify, and distribute this software for any | |
| # purpose with or without fee is hereby granted, provided that the above | |
| # copyright notice and this permission notice appear in all copies. | |
| # | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
OlderNewer