mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
chore: change qt version
This commit is contained in:
@@ -167,9 +167,8 @@ void AutoRun_SetEnabled(bool enable) {
|
||||
QStringList appCmdList = {QApplication::applicationFilePath(), "-tray"};
|
||||
|
||||
// nekoray: launcher
|
||||
auto launcherPath = QApplication::applicationDirPath() + "/launcher";
|
||||
if (QFile::exists(launcherPath)) {
|
||||
appCmdList = QStringList{launcherPath, "--", "-tray"};
|
||||
if (qEnvironmentVariable("NKR_FROM_LAUNCHER") == "1") {
|
||||
appCmdList = QStringList{QApplication::applicationDirPath() + "/launcher", "--", "-tray"};
|
||||
}
|
||||
|
||||
if (enable) {
|
||||
|
||||
Reference in New Issue
Block a user