🎨 Optimizing the user prompts during command usage

This commit is contained in:
Tw93
2023-03-02 17:47:19 +08:00
parent fe754f663e
commit 129893c539
6 changed files with 9 additions and 9 deletions

2
bin/options/icon.ts vendored
View File

@@ -22,7 +22,7 @@ export async function handleIcon(options: PakeAppOptions, url: string) {
}
export async function getDefaultIcon() {
logger.info('You have not provided an app icon, use the default icon.(use --icon option to assign an icon)')
logger.info('You haven\'t provided an app icon, so the default icon will be used. To assign a custom icon, please use the --icon option.')
let iconPath = 'src-tauri/icons/icon.icns';
if (IS_WIN) {
iconPath = 'src-tauri/png/icon_256.ico';

View File

@@ -11,7 +11,7 @@ export default async function handleOptions(options: PakeCliOptions, url: string
};
if (!appOptions.name) {
appOptions.name = await promptText('please input your application name', getDomain(url));
appOptions.name = await promptText('Please enter the name of your application.', getDomain(url));
}
appOptions.identifier = getIdentifier(appOptions.name, url);