Compare commits

..

2 commits

3 changed files with 9 additions and 2 deletions

View file

@ -18,6 +18,9 @@
.page{ width:640px; }
body .script{ visibility: hidden; }
body.script .script{ visibility: visible !important; }
/* spacers */
.margin1L{ margin: 0px 20px 10px 0px;}
.margin1{ margin: 10px 20px; }

View file

@ -46,6 +46,9 @@
<!-- JanusXR portalroom, see https://janusxr.org for markup -->
${janusxr}
<script>
document.body.classList.add('script') // show javascript buttons for modern browsers
</script>
</body>
</html>

View file

@ -12,8 +12,9 @@ app.on('set', function(k,v)
end)
app.on('autobackup', function() -- triggered by src/plugin/webhook.lua
if util.cmdExist('rclone') then
print("running RCLONE cmd sync!")
if util.cmdExist('rclone') and #app.opts.plugin_clouddrive_syncpath > 0 then
print("running RCLONE sync")
os.execute("rclone sync " .. app.opts.plugin_diskscan_dir .. "/ " .. app.opts.plugin_clouddrive_syncpath )
end
end)