mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-09-07 20:21:15 +00:00
Update dashboard.py
This commit is contained in:
@@ -2665,6 +2665,8 @@ def AmneziaWGEnabled():
|
||||
return which('awg') is not None and which('awg-quick') is not None
|
||||
|
||||
def InitWireguardConfigurationsList(startup: bool = False):
|
||||
print(AmneziaWGEnabled())
|
||||
|
||||
confs = os.listdir(DashboardConfig.GetConfig("Server", "wg_conf_path")[1])
|
||||
confs.sort()
|
||||
for i in confs:
|
||||
|
Reference in New Issue
Block a user