feat: get network interface

This commit is contained in:
MystiPanda
2024-07-07 18:02:29 +08:00
parent 9278e74e9e
commit a865465514
9 changed files with 158 additions and 110 deletions

View File

@@ -233,3 +233,7 @@ export async function copyIconFile(
export async function downloadIconCache(url: string, name: string) {
return invoke<string>("download_icon_cache", { url, name });
}
export async function getNetworkInterfaces() {
return invoke<string[]>("get_network_interfaces");
}