diff --git a/bucket/nomeiryoui.json b/bucket/nomeiryoui.json index 67802fd9f6bda6..d092af06a51318 100644 --- a/bucket/nomeiryoui.json +++ b/bucket/nomeiryoui.json @@ -3,21 +3,18 @@ "description": "No!! MeiryoUI is Windows system font setting tool on Windows 8.1/10/11.", "homepage": "https://github.com/Tatsu-syo/noMeiryoUI", "license": "MIT", - "architecture": { - "64bit": { - "url": "https://github.com/Tatsu-syo/noMeiryoUI/releases/download/TAG-3.4.0/noMeiryoUI3.4.0.zip", - "hash": "97b7d4eb6b04c9a4a617267823fa98c75ae5559765ecb5c1192ee473d4e78ec8" - }, - "32bit": { - "url": "https://github.com/Tatsu-syo/noMeiryoUI/releases/download/TAG-3.4.0/noMeiryoUI3.4.0.zip", - "hash": "97b7d4eb6b04c9a4a617267823fa98c75ae5559765ecb5c1192ee473d4e78ec8" - } - }, - "pre_install": "New-Item -Type File -Path \"$dir\\noMeiryoUI.ini\"", - "bin": [ + "url": "https://github.com/Tatsu-syo/noMeiryoUI/releases/download/TAG-3.4.0/noMeiryoUI3.4.0.zip", + "hash": "97b7d4eb6b04c9a4a617267823fa98c75ae5559765ecb5c1192ee473d4e78ec8", + "pre_install": [ + "if (-not (Test-Path \"$persist_dir\\noMeiryoUI.ini\")) {", + " New-Item -Path \"$dir\\noMeiryoUI.ini\" -ItemType File -Force | Out-Null", + "}" + ], + "bin": "noMeiryoUI.exe", + "shortcuts": [ [ "noMeiryoUI.exe", - "noMeiryoUI" + "No!! Meiryo UI" ] ], "persist": "noMeiryoUI.ini", @@ -27,13 +24,6 @@ "regex": "^TAG-([\\d.]+)$" }, "autoupdate": { - "architecture": { - "64bit": { - "url": "https://github.com/Tatsu-syo/noMeiryoUI/releases/download/TAG-$version/noMeiryoUI$version.zip" - }, - "32bit": { - "url": "https://github.com/Tatsu-syo/noMeiryoUI/releases/download/TAG-$version/noMeiryoUI$version.zip" - } - } + "url": "https://github.com/Tatsu-syo/noMeiryoUI/releases/download/TAG-$version/noMeiryoUI$version.zip" } }