From e66264b53228e6b9c3b65ef227d37aeff8d48df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Dre=C3=9Fler?= Date: Sun, 28 Jan 2024 14:25:50 +0100 Subject: [PATCH] fix: typo --- README.md | 2 +- build.js | 6 +++--- install.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e7092b7..dd2d6a9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ However, I will try to merge all PRs asap. pnpm install # - build the files # - install the font to: $HOME/Library/Fonts/sketchybar-app-font.ttf -# - install the icon map script to: $HOME/.config/sketchybar/icon-map.sh +# - install the icon map script to: $HOME/.config/sketchybar/icon_map.sh pnpm run build:install # - build the files # - install the font to: $HOME/Library/Fonts/sketchybar-app-font.ttf diff --git a/build.js b/build.js index 214cefe..b6cadb5 100644 --- a/build.js +++ b/build.js @@ -41,15 +41,15 @@ ${iconMap ${endMarker}`; fs.writeFileSync( - "./dist/icon-map.sh", + "./dist/icon_map.sh", `#!/usr/bin/env bash ${iconMapBashFn} `, "utf8" ); - // chmod +x ./dist/icon-map.sh - fs.chmodSync("./dist/icon-map.sh", 0o755); + // chmod +x ./dist/icon_map.sh + fs.chmodSync("./dist/icon_map.sh", 0o755); return { iconMapBashFn }; } diff --git a/install.js b/install.js index 8ed3260..02387bc 100644 --- a/install.js +++ b/install.js @@ -30,8 +30,8 @@ export function install(replaceInScriptPath) { fs.writeFileSync(pathToScript, newScriptContents, "utf8"); } else { fs.copyFileSync( - "./dist/icon-map.sh", - `${process.env.HOME}/.config/sketchybar/icon-map.sh` + "./dist/icon_map.sh", + `${process.env.HOME}/.config/sketchybar/icon_map.sh` ); }