修改开机自启bug

This commit is contained in:
yang 2022-10-16 12:20:57 +08:00
parent cf41a0f51b
commit a698ebb2dd
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ public class AutoStartFile {
fileContentJoiner.add("@echo off");
fileContentJoiner.add(driveLetter);
fileContentJoiner.add("cd " + ResourceUtils.getResourceByProject(""));
fileContentJoiner.add("RoomIt");
fileContentJoiner.add("exit");
fileContentJoiner.add("start /b RoomIt");
String fileContent = fileContentJoiner.toString();
File startUpFile = new File(START_UP_FILE_PATH);