Resolve conflicts
This commit is contained in:
23
.github/workflows/go.yml
vendored
23
.github/workflows/go.yml
vendored
@@ -1,22 +1,17 @@
|
|||||||
name: Go
|
name: Go
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
branches: [ main ]
|
types: [created]
|
||||||
pull_request:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-linux-amd64:
|
release-linux-amd64:
|
||||||
name: release linux/amd64
|
name: release linux/amd64
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
- name: compile and release
|
- uses: wangyoucao577/go-release-action@v1.11
|
||||||
uses: ngs/go-release.action@v1.0.1
|
with:
|
||||||
env:
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
goos: linux
|
||||||
GOARCH: amd64
|
goarch: amd64
|
||||||
GOOS: linux
|
extra_files: LICENSE README.md
|
||||||
EXTRA_FILES: "README.md LICENSE"
|
|
||||||
|
|
||||||
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2020 David Suarez
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
11
README.md
11
README.md
@@ -39,7 +39,16 @@ In the future I may try to add an auto-detection of this. For now this was quick
|
|||||||
## Running the tool
|
## Running the tool
|
||||||
|
|
||||||
Once you have NodeJS set up, simply download the bs-patch tool from the Releases section
|
Once you have NodeJS set up, simply download the bs-patch tool from the Releases section
|
||||||
of this repository and execute it:
|
of this repository, create your config.yaml file, and then execute the tool:
|
||||||
|
|
||||||
|
1. Download the release
|
||||||
|
2. Extract the bs-patch binary
|
||||||
|
3. Execute `which npm`
|
||||||
|
4. Copy the path to the `bin` folder
|
||||||
|
5. Create a file named `config.yaml` in the same folder as the `bs-patch` binary
|
||||||
|
6. Execute `./bs-patch`
|
||||||
|
7. (hopefully) Enjoy your new BluOS Controller app on Linux
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ./bs-patch
|
$ ./bs-patch
|
||||||
|
|||||||
Reference in New Issue
Block a user