Skip to content

Commit b7037c7

Browse files
authored
chore: Improve help tips for decompress errors (#68)
1 parent 25a6ee4 commit b7037c7

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

src/Action/Issue/Extraction.psm1

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,19 +103,17 @@ function Show-ExtractionHelpTips {
103103
)
104104
'innounp' = @(
105105
'- Inno Setup package decompression/extraction error',
106-
' Make sure you have `innounp-unicode` removed and the latest version of `innounp` installed:',
106+
'Make sure you have the latest version of `innounp` or `innounp-unicode` installed:',
107107
' ```',
108-
' scoop uninstall innounp-unicode',
109-
' ```',
110-
' ```',
111-
' scoop install main/innounp',
108+
' scoop update innounp',
112109
' ```',
113110
' ```',
114-
' scoop update innounp',
111+
' scoop update innounp-unicode',
115112
' ```',
116-
' Sometimes, the latest version of innounp may not support unpacking the latest Inno Setup packages.',
117-
' You might need to wait for an upstream update of innounp.',
118-
' See: https://github.com/jrathlev/InnoUnpacker-Windows-GUI?tab=readme-ov-file#inspect-and-unpack-innosetup-archives'
113+
'> [!IMPORTANT]',
114+
'> **Sometimes, the latest version of innounp may not support unpacking the latest Inno Setup packages.**',
115+
'> **You might need to wait for an upstream update of innounp.**',
116+
'> See: https://github.com/jrathlev/InnoUnpacker-Windows-GUI?tab=readme-ov-file#inspect-and-unpack-innosetup-archives'
119117
)
120118
'dark' = @(
121119
'- WiX package decompression/extraction error',
@@ -138,7 +136,11 @@ function Show-ExtractionHelpTips {
138136
'- ...',
139137
'',
140138
'If the problem persists, please keep this issue open and paste the log content from the failed installation, if available.',
141-
'This will help us diagnose and resolve the issue more effectively.'
139+
'This will help us diagnose and resolve the issue more effectively.',
140+
'> [!WARNING]',
141+
'> If you are using an unofficial Scoop-Core with an official bucket,',
142+
'> the decompress error may be caused by significant differences between the official and unofficial cores.',
143+
'> In this case, please try switching to the official [Scoop-Core](https://github.com/ScoopInstaller/Scoop) instead.'
142144
)
143145

144146
$tipContent = @()

0 commit comments

Comments
 (0)