mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-11-18 11:10:04 +00:00
Merge branch 'nightly' into fix/paths
This commit is contained in:
commit
7b8abc49e2
22
.github/pull_request_template.md
vendored
22
.github/pull_request_template.md
vendored
@ -1,22 +0,0 @@
|
||||
## Description
|
||||
<!--- Please include a summary of the changes. --->
|
||||
|
||||
### Screenshot
|
||||
<!--- Include screenshots if the changes are UI-related. --->
|
||||
|
||||
### Issues Fixed or Closed
|
||||
<!--- Delete if not relevant. --->
|
||||
- Fixes #(issue)
|
||||
|
||||
## Type of Change
|
||||
<!--- Please delete options that are not relevant. --->
|
||||
- [ ] Bug fix (non-breaking change which fixes an issue)
|
||||
- [ ] New feature (non-breaking change which adds functionality)
|
||||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
|
||||
|
||||
## Checklist
|
||||
<!--- DO NOT delete any options here. It is okay to have items unchecked! --->
|
||||
- [ ] My code follows the style guidelines of this project
|
||||
- [ ] I have performed a self-review of my own code
|
||||
- [ ] I have commented my code, particularly in hard-to-understand areas
|
||||
- [ ] I have added or updated the docstring/documentation-blocks for new or existing methods/components
|
8
src_assets/windows/misc/firewall/add-firewall-rule.bat
Normal file
8
src_assets/windows/misc/firewall/add-firewall-rule.bat
Normal file
@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
|
||||
set RULE_NAME=Sunshine
|
||||
set PROGRAM_BIN="%~dp0sunshine.exe"
|
||||
|
||||
rem Add the rule
|
||||
netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=tcp program=%PROGRAM_BIN% enable=yes
|
||||
netsh advfirewall firewall add rule name=%RULE_NAME% dir=in action=allow protocol=udp program=%PROGRAM_BIN% enable=yes
|
@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
|
||||
set RULE_NAME=Sunshine
|
||||
|
||||
rem Delete the rule
|
||||
netsh advfirewall firewall delete rule name=%RULE_NAME%
|
Loading…
Reference in New Issue
Block a user