Change GitArchiver to use the new requestAsset event
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
import org.openrndr.applicationSynchronous
|
||||
import org.openrndr.extensions.Screenshots
|
||||
import org.openrndr.extensions.SingleScreenshot
|
||||
|
||||
fun main() = applicationSynchronous {
|
||||
program {
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
extend(SingleScreenshot()) {
|
||||
this.outputFile = System.getProperty("screenshotPath")
|
||||
}
|
||||
}
|
||||
val ga = extend(GitArchiver()) {
|
||||
commitOnRun = false
|
||||
commitOnProduceAssets = false
|
||||
commitOnRun = true
|
||||
commitOnRequestAssets = false
|
||||
}
|
||||
extend(Screenshots())
|
||||
extend {
|
||||
|
||||
Reference in New Issue
Block a user