一段时间之后就无法启动switchhosts

bpsygsoo  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(59)

System (Mac, Windows 7/8/10, Linux) / 操作系统

Debian GNU/Linux 11 (bullseye)

SwitchHosts! Version / SwitchHosts! 版本

SwitchHosts_linux_amd64_4.1.1.6077.deb

Description / 描述

(用户名使用xxxxx代替)
xxxxx@debian:/opt/SwitchHosts$ switchhosts
local db: /home/xxxxx/.config/SwitchHosts/swh_local
config db: /home/xxxxx/.SwitchHosts/config
VERSION: 4.1.1.6077
Systel locale: en-US
Error: ERR_FAILED (-2) loading 'file:///opt/SwitchHosts/resources/app.asar/renderer/index.html#/tray'
at rejectAndCleanup (node:electron/js2c/browser_init:161:7647)
at EventEmitter.stopLoadingListener (node:electron/js2c/browser_init:161:8022)
at EventEmitter.emit (node:events:390:28) {
errno: -2,
code: 'ERR_FAILED',
url: 'file:///opt/SwitchHosts/resources/app.asar/renderer/index.html#/tray'
}

How to reproduce / 重现步骤

下载deb包,安装,启动,都没啥问题
但是过一段时间之后,再双击图标就无反应,在终端输入switchhosts命令启动就报上面的那个错误

deyfvvtc

deyfvvtc1#

switchhosts在后台运行,杀掉后台就可以重新启动

相关问题