fix: typo

This commit is contained in:
Kevin Dreßler 2024-01-28 14:25:50 +01:00
parent 2510409838
commit e66264b532
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ However, I will try to merge all PRs asap.
pnpm install pnpm install
# - build the files # - build the files
# - install the font to: $HOME/Library/Fonts/sketchybar-app-font.ttf # - 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 pnpm run build:install
# - build the files # - build the files
# - install the font to: $HOME/Library/Fonts/sketchybar-app-font.ttf # - install the font to: $HOME/Library/Fonts/sketchybar-app-font.ttf

View File

@ -41,15 +41,15 @@ ${iconMap
${endMarker}`; ${endMarker}`;
fs.writeFileSync( fs.writeFileSync(
"./dist/icon-map.sh", "./dist/icon_map.sh",
`#!/usr/bin/env bash `#!/usr/bin/env bash
${iconMapBashFn} ${iconMapBashFn}
`, `,
"utf8" "utf8"
); );
// chmod +x ./dist/icon-map.sh // chmod +x ./dist/icon_map.sh
fs.chmodSync("./dist/icon-map.sh", 0o755); fs.chmodSync("./dist/icon_map.sh", 0o755);
return { iconMapBashFn }; return { iconMapBashFn };
} }

View File

@ -30,8 +30,8 @@ export function install(replaceInScriptPath) {
fs.writeFileSync(pathToScript, newScriptContents, "utf8"); fs.writeFileSync(pathToScript, newScriptContents, "utf8");
} else { } else {
fs.copyFileSync( fs.copyFileSync(
"./dist/icon-map.sh", "./dist/icon_map.sh",
`${process.env.HOME}/.config/sketchybar/icon-map.sh` `${process.env.HOME}/.config/sketchybar/icon_map.sh`
); );
} }