From 8a1073a333f283bd42b294e22ea193c2754af227 Mon Sep 17 00:00:00 2001 From: SiriosDev <26876994+SiriosDev@users.noreply.github.com> Date: Fri, 3 Apr 2026 03:20:07 +0200 Subject: [PATCH 1/7] Update attribute-changer.json to enhance language support and installation scripts --- bucket/attribute-changer.json | 156 ++++++++++++++++++++++++---------- 1 file changed, 113 insertions(+), 43 deletions(-) diff --git a/bucket/attribute-changer.json b/bucket/attribute-changer.json index d61c25cb51ba02..832272ae2b423f 100644 --- a/bucket/attribute-changer.json +++ b/bucket/attribute-changer.json @@ -5,54 +5,134 @@ "description": "A Windows Explorer shell extension that allows users to easily change file and folder properties with a right-click.", "license": "Freeware", "notes": [ - "BRAZILIAN PORTUGUESE is unavailable due to the developer removing support for the language.", - "", "IMPORTANT FOR NON-ENGLISH SPEAKERS!!!", "If you want this application translated to your native language, please run the following command:", "change-ac-language.ps1 ", + "Launch arugmentless to see the list of available languages and their corresponding IDs.", "", - "1 = CZECH 5 = HUNGARIAN 9 = POLISH 13 = ENGLISH", - "2 = DANISH 6 = ITALIAN 10 = SPANISH", - "3 = FRENCH 7 = KOREAN 11 = SWEDISH", - "4 = GERMAN 8 = DUTCH 12 = TURKISH", - "", - "Ex. If you want the Attribute Changer interface language to Czech, you would run:", - "change-ac-language.ps1 1" + "Scoop persist the selected language, but the language IDs could be changed at any time by the developer.", + "If you want to change the language after the automatica selection,", + "just run the command above again to see the new language order and select the desired language." ], "url": "https://www.petges.lu/pubfiles/ac-11_40b.exe", "hash": "md5:16bf84bb8e68853a05a000140e4ee6b4", - "innosetup": true, - "architecture": { - "64bit": { - "pre_install": [ - "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", - "Get-ChildItem \"$dir\\*,1*\" -Include '*.exe', '*.dll' | Remove-Item", - "Get-ChildItem \"$dir\\*,2*\" -Include '*.exe', '*.dll' | Rename-Item -NewName { $_ -replace '\\,2', '' }", - "Start-Process 'regsvr32' -ArgumentList @(\"$dir\\acshell.dll\", '/s') -Verb 'RunAs' -Wait; Stop-Process -Name 'explorer' -ErrorAction 'SilentlyContinue' -Force", - "Start-Sleep -Seconds 2" - ] - }, - "32bit": { - "pre_install": [ - "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", - "Get-ChildItem \"$dir\\*,2*\" -Include '*.exe', '*.dll' | Remove-Item", - "Get-ChildItem \"$dir\\*,1*\" -Include '*.exe', '*.dll' | Rename-Item -NewName { $_ -replace '\\,1', '' }", - "Start-Process 'regsvr32' -ArgumentList @(\"$dir\\acshell.dll\", '/s') -Verb 'RunAs' -Wait; Stop-Process -Name 'explorer' -ErrorAction 'SilentlyContinue' -Force", - "Start-Sleep -Seconds 2" - ] - } - }, + "pre_install": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "if (!(Test-Path \"$persist_dir\\langCode\")) {", + " Set-Content \"$dir\\langCode\" '4' -Encoding Ascii", + "}" + ], + "post_install": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "Start-Process 'regsvr32' -ArgumentList @(\"$dir\\acshell.dll\", '/s') -Verb 'RunAs' -Wait; Stop-Process -Name 'explorer' -ErrorAction 'SilentlyContinue' -Force", + "Start-Sleep -Seconds 2" + ], "installer": { "script": [ + "# Innosetup flag doesn't work correctly with this installer, due to the way the devoloper structured langs in the installer", + "# using a custom installer script to work around it.", + "Expand-InnoArchive -Path \"$dir\\$fname\"", + "Invoke-ExternalCommand -FilePath (Get-HelperPath -Helper Innounp) -ArgumentList '-x', \"$dir\\$fname\", \"-d$dir\", 'install_script.iss' -LogPath \"$dir\\innounp-iss.log\" | Out-Null", + "$installScript = Get-Content -Path \"$dir\\install_script.iss\" -Raw", + "# Copying common and architecture-specific files according to the install script", + "$patternArc = 'Source: \"(?\\{app\\}\\\\(?!messages,)(?!ac,)(?!template)[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)?\"(?:; DestName: \"(?[^\"]*?)\")?(?:; Tasks: [^\"]*?)?; Check: \"(?[^\"]*?)\";'", + "$matchesArc = [regex]::Matches($installScript, $patternArc)", + "foreach ($match in $matchesArc) {", + " $source = $match.Groups['Source'].Value -replace '{app}', $dir", + " $destDir = $match.Groups['DestDir'].Value -replace '{app}', $dir", + " $destName = $match.Groups['DestName'].Value", + " $check = $match.Groups['Check'].Value", + " $is64bit = $check -eq 'Is64BitInstallMode'", + " $is32bit = $check -eq 'Not Is64BitInstallMode'", + " $isArchitectureIncompatible = if ($architecture -eq '64bit') {", + " -not $is64bit -and $is32bit", + " } else {", + " -not $is32bit -and $is64bit", + " }", + " if ($isArchitectureIncompatible) {", + " Remove-Item -Path $source -Force", + " continue", + " }", + " if (-not $destDir) { $destDir = $source }", + " if (-not $destName) { $destName = Split-Path -Path $source -Leaf }", + " $destPath = Join-Path -Path $destDir -ChildPath $destName", + " if ($source -ne $destPath) {", + " Move-Item -Path $source -Destination $destPath", + " }", + "}", + "# Copying and renaming template.ini to the messages,english.ini file according to the install script", + "$patternTemplate = 'Source: \"(?\\{app\\}\\\\template[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)\"(?:; DestName: \"(?[^\"]*?)\")?;'", + "$matchesTemplate = [regex]::Matches($installScript, $patternTemplate)", + "foreach ($match in $matchesTemplate) {", + " $source = $match.Groups['Source'].Value -replace '{app}', $dir", + " $destDir = $match.Groups['DestDir'].Value -replace '{app}', $dir", + " $destName = 'messages,english.ini'", + " if (-not $destDir) { $destDir = $source }", + " $destPath = Join-Path -Path $destDir -ChildPath $destName", + " if ($source -ne $destPath) {", + " Move-Item -Path $source -Destination $destPath", + " }", + "}", + "# Copying messages files according to the install script", + "$patternMes = 'Source: \"(?\\{app\\}\\\\messages,[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)\"(?:; DestName: \"(?[^\"]*?)\")?; Languages: \"(?[^\"]*?)\";'", + "$matchesMes = [regex]::Matches($installScript, $patternMes)", + "foreach ($match in $matchesMes) {", + " $source = $match.Groups['Source'].Value -replace '{app}', $dir", + " $destDir = $match.Groups['DestDir'].Value -replace '{app}', $dir", + " $lang = $match.Groups['Lang'].Value", + " $destName = 'messages,' + $lang + '.ini'", + " if (-not $destDir) { $destDir = $source }", + " $destPath = Join-Path -Path $destDir -ChildPath $destName", + " if ($source -ne $destPath) {", + " Move-Item -Path $source -Destination $destPath", + " }", + "}", + "# Copying ac files according to the install script", + "$patternAc = 'Source: \"(?\\{app\\}\\\\ac,[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)\"(?:; DestName: \"(?[^\"]*?)\")?; Languages: \"(?[^\"]*?)\";'", + "$matchesAc = [regex]::Matches($installScript, $patternAc)", + "$langs = @()", + "foreach ($match in $matchesAc) {", + " $source = $match.Groups['Source'].Value -replace '{app}', $dir", + " $destDir = $match.Groups['DestDir'].Value -replace '{app}', $dir", + " $lang = $match.Groups['Lang'].Value", + " $destName = 'ac,' + $lang + '.pdf'", + " $langs += $lang", + " if (-not $destDir) { $destDir = $source }", + " $destPath = Join-Path -Path $destDir -ChildPath $destName", + " if ($source -ne $destPath) {", + " Move-Item -Path $source -Destination $destPath", + " }", + "}", + "", + "# Removing the installer files after installation", + "Remove-Item -Path \"$dir\\$fname\" -Force", + "Remove-Item -Path \"$dir\\install_script.iss\" -Force", + "", + "# Creating the change-ac-language.ps1 script to allow users to change the language after installation", "$value = @\"", - "if (!(`$args.Count -eq 1)) { Write-Host 'INVALID USAGE! Please run ``scoop info attribute-changer`` for help on proper command usage.'; exit }", - "`$ac_language = `$args[0].toString()", + "`$langs = @(\"$($langs -join '\", \"')\")", + "if (!(`$args.Count -eq 1))", + "{", + " Write-Host 'INVALID USAGE! Add a language as argument following this scheme: ';", + " for (`$i = 0; `$i -lt `$langs.Count; `$i++) {", + " Write-Host \"`$(`$i + 1) = `$(`$langs[`$i])\"", + " }", + " exit", + "}", + "`$index = [int]`$args[0] - 1", + "if (`$index -lt 0 -or `$index -ge `$langs.Count) { Write-Host 'INVALID LANGUAGE INDEX!'; exit }", + "`$ac_language = `$langs[`$index]", "Copy-Item \"$dir\\messages,`$ac_language.ini\" \"$dir\\messages.ini\" -Force", "Copy-Item \"$dir\\ac,`$ac_language.pdf\" \"$dir\\ac.pdf\" -Force", + "Set-Content \"$dir\\langCode\" (`$index + 1) -Encoding Ascii -Force", "\"@", - "Set-Content \"$dir\\change-ac-language.ps1\" $value -Encoding 'utf8' -Force" + "Set-Content \"$dir\\change-ac-language.ps1\" $value -Encoding 'utf8' -Force", + "", + "# Using the script to set the language according to the persisted langCode value", + "& \"$dir\\change-ac-language.ps1\" (Get-Content \"$persist_dir\\langCode\" -Raw)" ] }, + "persist": "langCode", "bin": [ "acmain.exe", "change-ac-language.ps1" @@ -63,16 +143,6 @@ "Attribute Changer" ] ], - "post_install": [ - "$documents = (Get-ChildItem $dir -Filter '*.pdf').Length; $subtract = $documents - 5", - "Copy-Item \"$dir\\template.ini\" \"$dir\\messages,$documents.ini\"; Copy-Item \"$dir\\template.ini\" \"$dir\\messages.ini\"; Copy-Item \"$dir\\ac,$(($documents - $subtract) - 2).pdf\" \"$dir\\ac.pdf\"", - "Remove-Item \"$dir\\ac,$(($documents - $subtract) - 2).pdf\"; Copy-Item \"$dir\\messages,$(($documents - $subtract) - 2).ini\" \"$dir\\messages.ini\" -Force", - "$Value = $documents - $subtract", - "for ($count = 0; $count -le ($documents - 3); $count++) {", - " $OriginalValue = $Value + $count; $NewValue = $OriginalValue - 1; Rename-Item \"$dir\\ac,$OriginalValue.pdf\" \"ac,$NewValue.pdf\" -ErrorAction 'SilentlyContinue'", - "}", - "Copy-Item \"$dir\\ac.pdf\" \"$dir\\ac,$documents.pdf\"" - ], "pre_uninstall": [ "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", "Start-Process 'regsvr32' -ArgumentList @('/u', \"$dir\\acshell.dll\", '/s') -Verb 'RunAs' -Wait; Stop-Process -Name 'explorer' -Force", From 958e64cf482328e1c591a37fb6e1e43a6d635a1c Mon Sep 17 00:00:00 2001 From: SiriosDev <26876994+SiriosDev@users.noreply.github.com> Date: Thu, 9 Apr 2026 22:52:49 +0200 Subject: [PATCH 2/7] Fix typos and improve language instructions in attribute-changer.json --- bucket/attribute-changer.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/bucket/attribute-changer.json b/bucket/attribute-changer.json index 832272ae2b423f..2d6c663d77de07 100644 --- a/bucket/attribute-changer.json +++ b/bucket/attribute-changer.json @@ -8,11 +8,10 @@ "IMPORTANT FOR NON-ENGLISH SPEAKERS!!!", "If you want this application translated to your native language, please run the following command:", "change-ac-language.ps1 ", - "Launch arugmentless to see the list of available languages and their corresponding IDs.", + "Launch argumentless to see the list of available languages and their corresponding IDs.", "", "Scoop persist the selected language, but the language IDs could be changed at any time by the developer.", - "If you want to change the language after the automatica selection,", - "just run the command above again to see the new language order and select the desired language." + "If this happens, you can always run the command above to set the language again." ], "url": "https://www.petges.lu/pubfiles/ac-11_40b.exe", "hash": "md5:16bf84bb8e68853a05a000140e4ee6b4", @@ -30,10 +29,12 @@ "installer": { "script": [ "# Innosetup flag doesn't work correctly with this installer, due to the way the devoloper structured langs in the installer", - "# using a custom installer script to work around it.", + "# Using a custom installer script to work around it.", "Expand-InnoArchive -Path \"$dir\\$fname\"", "Invoke-ExternalCommand -FilePath (Get-HelperPath -Helper Innounp) -ArgumentList '-x', \"$dir\\$fname\", \"-d$dir\", 'install_script.iss' -LogPath \"$dir\\innounp-iss.log\" | Out-Null", "$installScript = Get-Content -Path \"$dir\\install_script.iss\" -Raw", + "", + "", "# Copying common and architecture-specific files according to the install script", "$patternArc = 'Source: \"(?\\{app\\}\\\\(?!messages,)(?!ac,)(?!template)[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)?\"(?:; DestName: \"(?[^\"]*?)\")?(?:; Tasks: [^\"]*?)?; Check: \"(?[^\"]*?)\";'", "$matchesArc = [regex]::Matches($installScript, $patternArc)", @@ -60,6 +61,8 @@ " Move-Item -Path $source -Destination $destPath", " }", "}", + "", + "", "# Copying and renaming template.ini to the messages,english.ini file according to the install script", "$patternTemplate = 'Source: \"(?\\{app\\}\\\\template[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)\"(?:; DestName: \"(?[^\"]*?)\")?;'", "$matchesTemplate = [regex]::Matches($installScript, $patternTemplate)", @@ -73,6 +76,8 @@ " Move-Item -Path $source -Destination $destPath", " }", "}", + "", + "", "# Copying messages files according to the install script", "$patternMes = 'Source: \"(?\\{app\\}\\\\messages,[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)\"(?:; DestName: \"(?[^\"]*?)\")?; Languages: \"(?[^\"]*?)\";'", "$matchesMes = [regex]::Matches($installScript, $patternMes)", @@ -87,6 +92,8 @@ " Move-Item -Path $source -Destination $destPath", " }", "}", + "", + "", "# Copying ac files according to the install script", "$patternAc = 'Source: \"(?\\{app\\}\\\\ac,[^\"]*?)\"; DestDir: \"(?\\{app\\}[^\"]*?)\"(?:; DestName: \"(?[^\"]*?)\")?; Languages: \"(?[^\"]*?)\";'", "$matchesAc = [regex]::Matches($installScript, $patternAc)", @@ -104,10 +111,12 @@ " }", "}", "", + "", "# Removing the installer files after installation", "Remove-Item -Path \"$dir\\$fname\" -Force", "Remove-Item -Path \"$dir\\install_script.iss\" -Force", "", + "", "# Creating the change-ac-language.ps1 script to allow users to change the language after installation", "$value = @\"", "`$langs = @(\"$($langs -join '\", \"')\")", @@ -128,6 +137,7 @@ "\"@", "Set-Content \"$dir\\change-ac-language.ps1\" $value -Encoding 'utf8' -Force", "", + "", "# Using the script to set the language according to the persisted langCode value", "& \"$dir\\change-ac-language.ps1\" (Get-Content \"$persist_dir\\langCode\" -Raw)" ] From c8bd7fe08628db126adcd21caab40309c70e4bf6 Mon Sep 17 00:00:00 2001 From: SiriosDev <26876994+SiriosDev@users.noreply.github.com> Date: Fri, 10 Apr 2026 00:32:59 +0200 Subject: [PATCH 3/7] Fixed default `langCode` creation and its applying --- bucket/attribute-changer.json | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/bucket/attribute-changer.json b/bucket/attribute-changer.json index 2d6c663d77de07..ebf65534044e9c 100644 --- a/bucket/attribute-changer.json +++ b/bucket/attribute-changer.json @@ -16,15 +16,7 @@ "url": "https://www.petges.lu/pubfiles/ac-11_40b.exe", "hash": "md5:16bf84bb8e68853a05a000140e4ee6b4", "pre_install": [ - "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", - "if (!(Test-Path \"$persist_dir\\langCode\")) {", - " Set-Content \"$dir\\langCode\" '4' -Encoding Ascii", - "}" - ], - "post_install": [ - "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", - "Start-Process 'regsvr32' -ArgumentList @(\"$dir\\acshell.dll\", '/s') -Verb 'RunAs' -Wait; Stop-Process -Name 'explorer' -ErrorAction 'SilentlyContinue' -Force", - "Start-Sleep -Seconds 2" + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }" ], "installer": { "script": [ @@ -133,15 +125,22 @@ "`$ac_language = `$langs[`$index]", "Copy-Item \"$dir\\messages,`$ac_language.ini\" \"$dir\\messages.ini\" -Force", "Copy-Item \"$dir\\ac,`$ac_language.pdf\" \"$dir\\ac.pdf\" -Force", - "Set-Content \"$dir\\langCode\" (`$index + 1) -Encoding Ascii -Force", + "Set-Content \"$dir\\langCode\" (`$index + 1) -Encoding utf8 -Force", "\"@", "Set-Content \"$dir\\change-ac-language.ps1\" $value -Encoding 'utf8' -Force", "", "", - "# Using the script to set the language according to the persisted langCode value", - "& \"$dir\\change-ac-language.ps1\" (Get-Content \"$persist_dir\\langCode\" -Raw)" + "if (!(Test-Path \"$persist_dir\\langCode\")) {", + " Set-Content \"$dir\\langCode\" ($langs.IndexOf('english') + 1) -Encoding utf8", + "}" ] }, + "post_install": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "& \"$dir\\change-ac-language.ps1\" (Get-Content \"$dir\\langCode\" -Raw)", + "Start-Process 'regsvr32' -ArgumentList @(\"$dir\\acshell.dll\", '/s') -Verb 'RunAs' -Wait; Stop-Process -Name 'explorer' -ErrorAction 'SilentlyContinue' -Force", + "Start-Sleep -Seconds 2" + ], "persist": "langCode", "bin": [ "acmain.exe", From 5e35d8cce7358dfcf3ca1b4b77199c5d6a2baac1 Mon Sep 17 00:00:00 2001 From: SiriosDev <26876994+SiriosDev@users.noreply.github.com> Date: Fri, 10 Apr 2026 00:38:17 +0200 Subject: [PATCH 4/7] Added english fallback at `change-ac-language.ps1` when the id not exitst --- bucket/attribute-changer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/attribute-changer.json b/bucket/attribute-changer.json index ebf65534044e9c..c73b426f536627 100644 --- a/bucket/attribute-changer.json +++ b/bucket/attribute-changer.json @@ -121,7 +121,7 @@ " exit", "}", "`$index = [int]`$args[0] - 1", - "if (`$index -lt 0 -or `$index -ge `$langs.Count) { Write-Host 'INVALID LANGUAGE INDEX!'; exit }", + "if (`$index -lt 0 -or `$index -ge `$langs.Count) { `$index = `$langs.IndexOf('english') }", "`$ac_language = `$langs[`$index]", "Copy-Item \"$dir\\messages,`$ac_language.ini\" \"$dir\\messages.ini\" -Force", "Copy-Item \"$dir\\ac,`$ac_language.pdf\" \"$dir\\ac.pdf\" -Force", From 8dc78c1f52081c71c0649d028c569e170b6ecbf7 Mon Sep 17 00:00:00 2001 From: SiriosDev <26876994+SiriosDev@users.noreply.github.com> Date: Fri, 10 Apr 2026 00:46:41 +0200 Subject: [PATCH 5/7] Fix typo in notes --- bucket/attribute-changer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/attribute-changer.json b/bucket/attribute-changer.json index c73b426f536627..783f2b7d2605be 100644 --- a/bucket/attribute-changer.json +++ b/bucket/attribute-changer.json @@ -10,7 +10,7 @@ "change-ac-language.ps1 ", "Launch argumentless to see the list of available languages and their corresponding IDs.", "", - "Scoop persist the selected language, but the language IDs could be changed at any time by the developer.", + "Scoop persists the selected language, but the language IDs could be changed at any time by the developer.", "If this happens, you can always run the command above to set the language again." ], "url": "https://www.petges.lu/pubfiles/ac-11_40b.exe", From 4c395775f4e2af8b44ca20aa6f2c84c480d1b12a Mon Sep 17 00:00:00 2001 From: SiriosDev <26876994+SiriosDev@users.noreply.github.com> Date: Fri, 10 Apr 2026 00:53:08 +0200 Subject: [PATCH 6/7] Added fallback if english is missing --- bucket/attribute-changer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bucket/attribute-changer.json b/bucket/attribute-changer.json index 783f2b7d2605be..0d077a15782c0f 100644 --- a/bucket/attribute-changer.json +++ b/bucket/attribute-changer.json @@ -121,7 +121,7 @@ " exit", "}", "`$index = [int]`$args[0] - 1", - "if (`$index -lt 0 -or `$index -ge `$langs.Count) { `$index = `$langs.IndexOf('english') }", + "if (`$index -lt 0 -or `$index -ge `$langs.Count) { `$index = `$langs.IndexOf('english'); if (`$index -lt 0) { `$index = 0 } }", "`$ac_language = `$langs[`$index]", "Copy-Item \"$dir\\messages,`$ac_language.ini\" \"$dir\\messages.ini\" -Force", "Copy-Item \"$dir\\ac,`$ac_language.pdf\" \"$dir\\ac.pdf\" -Force", @@ -131,7 +131,8 @@ "", "", "if (!(Test-Path \"$persist_dir\\langCode\")) {", - " Set-Content \"$dir\\langCode\" ($langs.IndexOf('english') + 1) -Encoding utf8", + " $defaultIdx = $langs.IndexOf('english'); if ($defaultIdx -lt 0) { $defaultIdx = 0 }", + " Set-Content \"$dir\\langCode\" ($defaultIdx + 1) -Encoding utf8", "}" ] }, From 780b363b6062a34cf6ba1b72ac8c9cd4efca10eb Mon Sep 17 00:00:00 2001 From: SiriosDev <26876994+SiriosDev@users.noreply.github.com> Date: Sat, 25 Apr 2026 10:41:51 +0200 Subject: [PATCH 7/7] fix lint --- bucket/attribute-changer.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bucket/attribute-changer.json b/bucket/attribute-changer.json index 0d077a15782c0f..f8c49dfe408412 100644 --- a/bucket/attribute-changer.json +++ b/bucket/attribute-changer.json @@ -15,9 +15,7 @@ ], "url": "https://www.petges.lu/pubfiles/ac-11_40b.exe", "hash": "md5:16bf84bb8e68853a05a000140e4ee6b4", - "pre_install": [ - "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }" - ], + "pre_install": "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", "installer": { "script": [ "# Innosetup flag doesn't work correctly with this installer, due to the way the devoloper structured langs in the installer",