Compare commits

...

2 commits

3 changed files with 9 additions and 2 deletions

View file

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

View file

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

View file

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