mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-15 06:07:23 +08:00
support start on reboot (#132)
* move launcher to eastier lib * support auto start after reboot
This commit is contained in:
@@ -20,3 +20,7 @@ export async function collectNetworkInfos() {
|
||||
export async function getOsHostname() {
|
||||
return await invoke<string>('get_os_hostname')
|
||||
}
|
||||
|
||||
export async function setAutoLaunchStatus(enable: boolean) {
|
||||
return await invoke<boolean>('set_auto_launch_status', { enable })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user