Skip to content

Commit fc18f5d

Browse files
committed
fix: correct winget command format and improve script output
- Changed page title from 'webapp' to 'Win Post Install' - Fixed winget command to use space instead of equals sign for better compatibility - Moved 'Next steps' message to appear after error log notification
1 parent b72b9f7 commit fc18f5d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>webapp</title>
7+
<title>Win Post Install</title>
88
</head>
99
<body>
1010
<div id="root"></div>

src/generators/bat-generator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ echo ========================================
135135
echo Installation Complete!
136136
echo ========================================
137137
echo.
138+
echo If any installations failed, check errors.log
139+
echo.
138140
echo Next steps:
139141
echo 1. Restart your computer if required
140142
echo 2. Log into your installed applications
141143
echo 3. Customize your settings as needed
142144
echo.
143-
echo If any installations failed, check errors.log
144-
echo.
145145
echo Generated by Windows Post-Install Generator
146146
echo https://github.com/kaic/win-post-install
147147
echo.

src/generators/script-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const getConfigObjects = (selectedIds) => {
4343
* @returns {string} - Formatted winget command
4444
*/
4545
export const formatWingetCommand = (wingetId) => {
46-
return `winget install --id=${wingetId} -e --silent --accept-package-agreements --accept-source-agreements`;
46+
return `winget install --id ${wingetId} -e --silent --accept-package-agreements --accept-source-agreements`;
4747
};
4848

4949
/**

0 commit comments

Comments
 (0)