mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-15 06:07:23 +08:00
🎈 perf: 主机名提示显示本机主机名
This commit is contained in:
@@ -20,3 +20,7 @@ export async function collectNetworkInfos() {
|
||||
const ret: string = await invoke('collect_network_infos', {})
|
||||
return JSON.parse(ret)
|
||||
}
|
||||
|
||||
export async function getOsHostname(): Promise<string> {
|
||||
return await invoke('get_os_hostname')
|
||||
}
|
||||
Reference in New Issue
Block a user