Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions bucket/eventghost.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": "0.4.1.r1722",
"description": "EventGhost is an advanced, event-driven automation tool for Windows.",
"homepage": "https://eventghost.net/",
"license": "GPL-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/EventGhost/EventGhost/releases/download/v0.4.1.r1722/EventGhost_0.4.1.r1722_Setup.exe",
"hash": "43824b90ccd778ba9b1780e0916548896a0287ce110aa98aecee0aa9d3cdcfb2"
}
},
"installer": {
"script": [
"# 1. Run the installer and wait for it to finish",
"Start-Process -FilePath \"$dir\\$fname\" -ArgumentList @('/VERYSILENT', '/SUPPRESSMSGBOXES', '/NORESTART', \"/DIR=`\"$dir`\"\") -Wait",
"",
"# 2. Flatten directory if installer created a subdirectory",
"if (Test-Path \"$dir\\EventGhost\\EventGhost.exe\") {",
" Get-ChildItem \"$dir\\EventGhost\\*\" | Move-Item -Destination \"$dir\" -Force",
" Remove-Item \"$dir\\EventGhost\" -Recurse -Force",
"}",
"",
"# 3. Wait 3 seconds for file locks to release",
"Start-Sleep -Seconds 3"
]
},
"uninstaller": {
"file": "unins000.exe",
"args": [
"/VERYSILENT",
"/SUPPRESSMSGBOXES",
"/NORESTART"
]
},
"bin": "EventGhost.exe",
"shortcuts": [
[
"EventGhost.exe",
"EventGhost"
]
],
"persist": [
"config"
],
"checkver": {
"github": "EventGhost/EventGhost",
"regex": "v([\\d.]+\\.r\\d+)$"
},
Comment on lines +45 to +48
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fix checkver URL to resolve CI failure (missing scheme).

CI reports EventGhost/EventGhost/releases/latest as an invalid URL. Add an explicit checkver.url with https:// so the WebClient call is valid and checkver can fetch the latest tag.

🔧 Proposed fix
 "checkver": {
-    "github": "EventGhost/EventGhost",
-    "regex": "v([\\d.]+\\.r\\d+)$"
+    "url": "https://github.com/EventGhost/EventGhost/releases/latest",
+    "regex": "v([\\d.]+\\.r\\d+)$"
 }
🤖 Prompt for AI Agents
In `@bucket/eventghost.json` around lines 45 - 48, The checkver block is missing
an explicit URL scheme causing CI to treat
"EventGhost/EventGhost/releases/latest" as invalid; add a new property
checkver.url set to "https://github.com/EventGhost/EventGhost/releases/latest"
(keep the existing checkver.github and checkver.regex unchanged) so the
WebClient can fetch the latest release via HTTPS.

"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/EventGhost/EventGhost/releases/download/v$version/EventGhost_$version_Setup.exe"
}
}
}
}
Loading