Compare commits
2 commits
10a72ff713
...
733ddd7cfc
| Author | SHA1 | Date | |
|---|---|---|---|
| 733ddd7cfc | |||
| 586cea2cc6 |
3 changed files with 9 additions and 2 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue