diff options
Diffstat (limited to 'web/js/index/main.js')
-rw-r--r-- | web/js/index/main.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/web/js/index/main.js b/web/js/index/main.js index 31c6905a..ba82ed2f 100644 --- a/web/js/index/main.js +++ b/web/js/index/main.js @@ -4,16 +4,15 @@ function main() { } function __setAppText() { - var url = window.location.href; $("app-text").innerHTML = ` <span class="code-comment"># On Linux using Chromium/Chrome via any terminal:<br> - $</span> \`which chromium 2>/dev/null || which chrome 2>/dev/null\` --app="${url}"<br> + $</span> \`which chromium 2>/dev/null || which chrome 2>/dev/null\` --app="${window.location.href}"<br> <br> <span class="code-comment"># On MacOS using Terminal application:<br> - $</span> /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app="${url}"<br> + $</span> /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --app="${window.location.href}"<br> <br> <span class="code-comment"># On Windows via cmd.exe:<br> - C:\></span> start chrome --app="${url}" + C:\></span> start chrome --app="${window.location.href}" `; } |