Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash without AppDirectory Parameter #1

Closed
andrewzirkel opened this issue Jan 22, 2018 · 2 comments
Closed

Crash without AppDirectory Parameter #1

andrewzirkel opened this issue Jan 22, 2018 · 2 comments

Comments

@andrewzirkel
Copy link

Have been playing with your app, which is great and is exactly what I need. It crashes if there isn't an AppDirectory parameter for the service. Maybe update that in the readme or make a default.

Thanks!

@wqweto
Copy link

wqweto commented Mar 28, 2022

This works here

@echo off
sc create frpcsvc start= auto binPath= "%~dp0srvany-ng.exe"
reg add HKLM\SYSTEM\CurrentControlSet\Services\frpcsvc\Parameters /v Application /f /d "%~dp0frpc.exe"
reg add HKLM\SYSTEM\CurrentControlSet\Services\frpcsvc\Parameters /v AppDirectory /f /d "%~dp0."
reg add HKLM\SYSTEM\CurrentControlSet\Services\frpcsvc\Parameters /v AppParameters /f /d "-c %~dp0frpc.ini"

. . . but without AppDirectory registry value the service crashes indeed.

@birkett
Copy link
Owner

birkett commented Sep 19, 2024

Confirmed and resolved in 0cfffe4

This fix will be included in an upcoming 1.1 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@wqweto @andrewzirkel @birkett and others