mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
#156 - Allow server to run as a service
This commit is contained in:
parent
a2dba21264
commit
5aea7b2c6a
2 changed files with 11 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
|||
<li>
|
||||
<input type="checkbox" id="chkRunAtStartup" name="chkRunAtStartup" />
|
||||
<label for="chkRunAtStartup">Run server at startup</label>
|
||||
<div id="windowsStartupDescription" class="fieldDescription warningFieldDescription" style="display: none;">
|
||||
This will start the tray icon on windows startup. If you'd prefer to start the windows service instead, disable this and configure the service from the control panel.
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="selectAutomaticUpdateLevel">Automatic update level</label>
|
||||
|
|
|
@ -2,6 +2,14 @@
|
|||
|
||||
function loadPage(page, config, systemInfo) {
|
||||
|
||||
var os = systemInfo.OperatingSystem.toLowerCase();
|
||||
|
||||
if (os.indexOf('windows') != -1) {
|
||||
$('#windowsStartupDescription', page).show();
|
||||
} else {
|
||||
$('#windowsStartupDescription', page).hide();
|
||||
}
|
||||
|
||||
if (systemInfo.SupportsNativeWebSocket) {
|
||||
|
||||
$('#fldWebSocketPortNumber', page).hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue