Add instruction how build project and what everynasa can do end etc

This commit is contained in:
Данил 2022-12-17 16:23:57 +03:00
parent 1ed4859ced
commit 72a86a7db9

View file

@ -3,6 +3,17 @@
The program takes a picture from the NASA [website](https://apod.nasa.gov/apod) every day
and sets it as a background for your workspace.
### What EveryNasa can do?
- Installing wallpapers on your desktop
- Installing wallpapers on your desktop every day
- There is information about each photo
- You can add any photo to your favorites
### Contents
- [How to build](#how-to-build)
- [Solution or answers to possible problems](#solution-or-answers-to-possible-problems)
- [License](#license)
---
| Platform | Status | Latest version | Get it on |
@ -54,9 +65,49 @@ Any bugs / problems that are not covered by these questions, please open an [iss
</details>
</details>
### How to build
<details>
<summary></summary>
- Install [GoLang](https://golang.org/dl/). Recommended version: 1.19.1
- First make a build. If you want to create a build without a console window, then remove `-ldflags "-H windowsgui"` from the command
```shell
go build -ldflags "-s -H windowsgui"
```
- Create a build of the installation package
```shell
go-msi make -msi EveryNasa.msi --version <version> -s wix
```
- Done
</details>
---
### License
This project is licensed under the Apache-2.0 License - see the [LICENSE](LICENSE) file for details.
```
Copyright 2022 Redume
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
### Third-party library licenses
- [getlantern/systray](https://github.com/getlantern/systray) — [Apache-2.0](https://github.com/getlantern/systray/blob/master/LICENSE)
- [gofiber/fiber](https://github.com/gofiber/fiber) — [MIT](https://github.com/gofiber/fiber/blob/master/LICENSE)