propellor spin

This commit is contained in:
Joey Hess 2015-03-12 16:34:44 -04:00
parent df203684e6
commit f2750857b8
Failed to extract signature
1 changed files with 4 additions and 1 deletions

View File

@ -51,8 +51,11 @@ scrollBox = propertyList "scroll server" $ props
] `onChange` (s `File.mode` (combineModes (ownerWriteMode:readModes ++ executeModes))) ] `onChange` (s `File.mode` (combineModes (ownerWriteMode:readModes ++ executeModes)))
& g `File.hasContent` & g `File.hasContent`
[ "#!/bin/sh" [ "#!/bin/sh"
, "SHELL=/bin/sh script --timing=timing -c ../../scroll/scroll" , "if ../../scroll/scroll; then"
, "echo Scroll seems to have ended unexpectedly. Possibly a bug.."
, "else"
, "echo Thanks for playing scroll! https://joeyh.name/code/scroll/" , "echo Thanks for playing scroll! https://joeyh.name/code/scroll/"
, "fi"
, "echo Your game was recorded, as ID:$(basename \"$t\")" , "echo Your game was recorded, as ID:$(basename \"$t\")"
, "echo if you would like to talk about how it went, email scroll@joeyh.name" , "echo if you would like to talk about how it went, email scroll@joeyh.name"
, "echo or, type comments below (finish with a dot on its own line)" , "echo or, type comments below (finish with a dot on its own line)"