From 72a86a7db91d29e6a7aaa3bc7199c6a6f59069d6 Mon Sep 17 00:00:00 2001 From: Redume Date: Sat, 17 Dec 2022 16:23:57 +0300 Subject: [PATCH] Add instruction how build project and what everynasa can do end etc --- README.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b044fe2..a27b2f8 100644 --- a/README.md +++ b/README.md @@ -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 +### How to build +
+ + +- 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 -s wix +``` + +- Done +
+ +--- + ### 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) @@ -67,4 +118,4 @@ This project is licensed under the Apache-2.0 License - see the [LICENSE](LICENS - [skratchdot/open-golang](https://github.com/skratchdot/open-golang) — [MIT](https://github.com/skratchdot/open-golang/blob/master/LICENSE) - [twbs/bootstrap](https://github.com/twbs/bootstrap) — [MIT](https://github.com/twbs/bootstrap/blob/main/LICENSE) - [LottieFiles/lottie-player](https://github.com/LottieFiles/lottie-player) — [MIT](https://github.com/LottieFiles/lottie-player/blob/master/LICENSE) -- [jquery/jquery](https://github.com/jquery/jquery) — [MIT](https://github.com/jquery/jquery/blob/main/LICENSE.txt) +- [jquery/jquery](https://github.com/jquery/jquery) — [MIT](https://github.com/jquery/jquery/blob/main/LICENSE.txt) \ No newline at end of file