@tmustier/pi-nes 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions/nes/index.ts +3 -3
- package/package.json +1 -1
package/extensions/nes/index.ts
CHANGED
|
@@ -143,8 +143,8 @@ async function configureWithWizard(
|
|
|
143
143
|
const romDirDisplay = displayPath(config.romDir);
|
|
144
144
|
const romDirDefaultLabel = config.romDir === DEFAULT_CONFIG.romDir ? "Use default" : "Use current";
|
|
145
145
|
const romDirOptions = [
|
|
146
|
-
`${romDirDefaultLabel} (${romDirDisplay})`,
|
|
147
|
-
"Enter a custom path",
|
|
146
|
+
`${romDirDefaultLabel} (${romDirDisplay}) — creates if missing`,
|
|
147
|
+
"Enter a custom path (must exist)",
|
|
148
148
|
];
|
|
149
149
|
const romDirChoice = await ctx.ui.select("ROM directory", romDirOptions);
|
|
150
150
|
if (!romDirChoice) {
|
|
@@ -153,7 +153,7 @@ async function configureWithWizard(
|
|
|
153
153
|
|
|
154
154
|
let romDir = config.romDir;
|
|
155
155
|
if (romDirChoice === romDirOptions[1]) {
|
|
156
|
-
const romDirInput = await ctx.ui.input("ROM directory", romDirDisplay);
|
|
156
|
+
const romDirInput = await ctx.ui.input("ROM directory (must exist)", romDirDisplay);
|
|
157
157
|
if (romDirInput === undefined) {
|
|
158
158
|
return false;
|
|
159
159
|
}
|