Skip to content

Commit 02b6633

Browse files
committed
Zip for mac and docs update
1 parent 25e9417 commit 02b6633

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

README.md

+18-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ But can be used in any file which contains html (".jsx", ".vue", ".twig") with s
88
- [Composer](#composer)
99
- [Linux/Unix](#linuxunix)
1010
- [Windows](#windows)
11+
- [MacOS](#macos)
1112
- [From source](#from-source)
1213
- [Features](#features)
1314
- [Config file](#config-file)
@@ -21,7 +22,11 @@ But can be used in any file which contains html (".jsx", ".vue", ".twig") with s
2122
### Composer
2223
It is already available in composer now, you can require it:
2324
`composer require maestroerror/html-strings-affixer --dev`.
24-
After installation it is accessible by `./vendor/bin/hsa` and `./vendor/bin/hsawin` for Windows
25+
After installation it is accessible by:
26+
- Linux: `./vendor/bin/hsa`
27+
- Windows: `./vendor/bin/hsawin`
28+
- MacOS: `./vendor/bin/hsamac`
29+
- MacOS arm64 (m1): `./vendor/bin/hsamacm1`
2530

2631
### Linux/Unix
2732
**Step 1: Download**
@@ -40,6 +45,10 @@ Find your bin folder (`/usr/bin`, `/usr/sbin` or `~/bin`), or make it with `cd ~
4045
Download binary [file](https://github.com/MaestroError/html-strings-affixer/releases/latest/download/hsa.exe) or [Zip](https://github.com/MaestroError/html-strings-affixer/releases/latest/download/hsawin.zip). Get "hsa.exe" file in needed directory and run with ".\hsa.exe"
4146

4247

48+
### MacOS
49+
Download an [archive](https://github.com/MaestroError/html-strings-affixer/releases/latest/download/hsamac.zip), Unzip it, get "hsamac" or "hsamacm1" file in needed directory, give to it executable permissions and run with `./hsamac`/`./hsamacm1`
50+
51+
4352
### From source
4453
If you have [golang](https://go.dev/doc/install) installed, you can clone this repo and run `go install` or `go build` for binary file
4554

@@ -139,7 +148,14 @@ Sometimes you will need to perform some commands only on single file, to reduce
139148
```
140149
./vendor/bin/hsa replace -file="resources/view/contact.blade.php"
141150
```
142-
151+
152+
#### Executables
153+
There are several executables for different platforms, choose your one and use. They are working exactly same way, you are changing just executable file name in commands:
154+
- Linux: `./vendor/bin/hsa`
155+
- Windows: `./vendor/bin/hsawin`
156+
- MacOS: `./vendor/bin/hsamac`
157+
- MacOS arm64 (m1): `./vendor/bin/hsamacm1`
158+
143159
----------------------------------------------------------------
144160
----------------------------------------------------------------
145161

bin/hsamac.zip

3.75 MB
Binary file not shown.

0 commit comments

Comments
 (0)