@avcodes/skilled 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.js +9 -0
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -104,11 +104,20 @@ async function main() {
104
104
  const binaryName = platform === "windows" ? `${BINARY}.exe` : BINARY;
105
105
  const binaryPath = path.join(binDir, binaryName);
106
106
 
107
+ const indexName = platform === "windows" ? `${BINARY}-index.exe` : `${BINARY}-index`;
108
+ const indexPath = path.join(binDir, indexName);
109
+
107
110
  if (platform !== "windows") {
108
111
  fs.chmodSync(binaryPath, 0o755);
112
+ if (fs.existsSync(indexPath)) {
113
+ fs.chmodSync(indexPath, 0o755);
114
+ }
109
115
  }
110
116
 
111
117
  console.log(`Successfully installed ${BINARY} to ${binaryPath}`);
118
+ if (fs.existsSync(indexPath)) {
119
+ console.log(`Successfully installed ${BINARY}-index to ${indexPath}`);
120
+ }
112
121
  }
113
122
 
114
123
  main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avcodes/skilled",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "TUI dashboard for skill usage stats across AI coding tools",
5
5
  "license": "MIT",
6
6
  "repository": {