Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Advanced Installer install file.
- Loading branch information
1 parent
bed524c
commit fa69c10
Showing
7 changed files
with
801 additions
and
444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
netsh http add urlacl url=http://+:8111/JMMServerPlex sddl=D:(A;;GA;;;S-1-1-0) | ||
netsh http add urlacl url=http://+:8111/JMMServerStreaming sddl=D:(A;;GA;;;S-1-1-0) | ||
netsh http add urlacl url=http://+:8111/JMMServerImage sddl=D:(A;;GA;;;S-1-1-0) | ||
netsh http add urlacl url=http://+:8111/ sddl=D:(A;;GA;;;S-1-1-0) | ||
icacls C:\ProgramData\ShokoServer /inheritance:r | ||
icacls C:\ProgramData\ShokoServer /grant *S-1-1-0:(OI)(CI)F /T /inheritance:e | ||
@echo off | ||
title Setting Shoko Server Permissions | ||
|
||
if exist "C:\ProgramData\ShokoServer" ( | ||
echo Shoko Server folder found, no need to set permissions. | ||
) | ||
|
||
if not exist "C:\ProgramData\ShokoServer" ( | ||
netsh advfirewall firewall add rule name="Shoko Server Port" dir=in action=allow protocol=TCP localport=8111 | ||
netsh http add urlacl url=http://+:8111/JMMServerPlex sddl=D:(A;;GA;;;S-1-1-0) | ||
netsh http add urlacl url=http://+:8111/JMMServerStreaming sddl=D:(A;;GA;;;S-1-1-0) | ||
netsh http add urlacl url=http://+:8111/JMMServerImage sddl=D:(A;;GA;;;S-1-1-0) | ||
netsh http add urlacl url=http://+:8111/ sddl=D:(A;;GA;;;S-1-1-0) | ||
mkdir C:\ProgramData\ShokoServer | ||
icacls C:\ProgramData\ShokoServer /inheritance:r | ||
icacls C:\ProgramData\ShokoServer /grant *S-1-1-0:(OI)(CI)F /T /inheritance:e | ||
) | ||
|
||
echo. | ||
echo. | ||
echo Shoko Server permissions correctly applied. |
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.