Skip to content

Commit b13a189

Browse files
committed
.
1 parent 75ed232 commit b13a189

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/activitys/InstallTerminalV2Activity/hooks/useExploreInstall.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const useExploreInstall = (): [(options: ExploreInstall) => Promise<void>, numbe
108108
addText("! \x1b[31mInternal error!\x1b[0m");
109109
break;
110110
default:
111-
addText("? Unknown code returned");
111+
addText(`? Unknown code returned (${code}})`);
112112
break;
113113
}
114114
}

src/activitys/InstallTerminalV2Activity/hooks/useLines.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ const LinesProvider = (props: LinesProviderProps) => {
210210
const _binaryNames = binaryNames.split(",");
211211
for (const binaryName of _binaryNames) {
212212
for (const folder of folders) {
213-
const binaryPath = path.join(folder, binaryName);
213+
const binaryPath = modFSParse(path.join(folder, binaryName));
214214
if (SuFile.exist(binaryPath)) {
215215
return `${binaryPath} ${args}`;
216216
}

src/activitys/InstallTerminalV2Activity/hooks/useLocalInstall.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const useLocalInstall = (): [(options: LocalInstall) => Promise<void>] => {
168168
break;
169169

170170
default:
171-
addText("- Unknown code returned");
171+
addText(`? Unknown code returned (${code}})`);
172172
break;
173173
}
174174
}

0 commit comments

Comments
 (0)