From 6f561c3fa3242ddf3dde45b7417f9e8834aadafb Mon Sep 17 00:00:00 2001 From: BeztDonkey Date: Sun, 27 Oct 2024 16:35:18 +0700 Subject: [PATCH] update json template --- TestNewManifest.ps1 | 14 +++++++------- bucket/app-name.json.template | 2 +- scoop-apps.code-workspace | 3 +++ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/TestNewManifest.ps1 b/TestNewManifest.ps1 index 9e66e75..10e61f3 100644 --- a/TestNewManifest.ps1 +++ b/TestNewManifest.ps1 @@ -2,11 +2,11 @@ $checkver = "$env:SCOOP/apps/scoop/current/bin/checkver.ps1" $dir = 'E:\GitApps\scoop-apps\bucket' scoop config debug $true -& $checkver -Dir $dir hotkey-detective -& $checkver -Dir $dir hotkey-detective -ForceUpdate -scoop install E:\GitApps\scoop-apps\bucket\hotkey-detective.json -scoop update hotkey-detective -f -scoop uninstall hotkey-detective -p +& $checkver -Dir $dir HandyOutliner +& $checkver -Dir $dir HandyOutliner -ForceUpdate +scoop install E:\GitApps\scoop-apps\bucket\HandyOutliner.json +scoop update HandyOutliner -f +scoop uninstall HandyOutliner -p # git push scoop update @@ -14,6 +14,6 @@ scoop update & $checkver -Dir $dir * -Update & $checkver -Dir $dir * -ForceUpdate & $checkver -Dir $dir * -SkipUpdated -& $checkver -Dir $dir hotkey-detective -Version 4.6.2 -& $checkver -Dir $dir hotkey-detective -Update -Version 4.6.2 +& $checkver -Dir $dir HandyOutliner -Version 4.6.2 +& $checkver -Dir $dir HandyOutliner -Update -Version 4.6.2 scoop status diff --git a/bucket/app-name.json.template b/bucket/app-name.json.template index 861a889..8f5b528 100644 --- a/bucket/app-name.json.template +++ b/bucket/app-name.json.template @@ -1,6 +1,6 @@ { "##": "Based on ", - "##version": "", + // "version": "", "description": "", "homepage": "", "license": "", diff --git a/scoop-apps.code-workspace b/scoop-apps.code-workspace index e4fc65b..85a95de 100644 --- a/scoop-apps.code-workspace +++ b/scoop-apps.code-workspace @@ -18,5 +18,8 @@ "powershell.codeFormatting.alignPropertyValuePairs": true, "powershell.codeFormatting.ignoreOneLineBlock": true, "files.insertFinalNewline": true, + "files.associations": { + "*.json": "jsonc" + }, } }