From 31e3dbdc97001c19cb66e294af172a2bf001e94c Mon Sep 17 00:00:00 2001 From: Megastary Date: Sat, 14 Dec 2019 11:34:34 +0100 Subject: [PATCH] Added linux zip to build, applied fix to exe installer Also changed README and added license.txt for installers. --- README.md | 24 +++++++++++++++--------- build/installer.nsi | 9 +++++++++ build/license.txt | 21 +++++++++++++++++++++ package.json | 5 +++-- 4 files changed, 48 insertions(+), 11 deletions(-) create mode 100644 build/installer.nsi create mode 100644 build/license.txt diff --git a/README.md b/README.md index c0a442e..2d652a5 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Developers should gain: - knowledge of electron - knowledge of continuous integration (CI) -- knowledge of automatic artifacts releasing +- knowledge of automatic artifacts releasing (CD) - sense of pride and accomplishment 🏆 # Installing @@ -33,30 +33,33 @@ Follow link to [Releases][1] and follow instructions to download and install OGL ## Supported platforms - Windows - - Non-admin exe - - MSI - - AppX + - Exe setup + - user-install to **AppData** (Admin rights NOT required) + - machine-install to **Program Files** (All Users) + - Portable exe - macOS - DMG - Pkg - Linux + - AppImage + - Flatpak - RPM - deb - - Flatpak - - Snapcraft + - snap + - pacman - All platforms - Zip - Source code # Updating -- Automatic updates for Windows and macOS via update.electronjs.org +- Automatic updates for Windows (Exe installer) and Linux (AppImage) - Download new version from [Github][1] # Using -- install and run downloaded application and start using it! +- install/launch downloaded application and start using it! - customize background colors/wallpaper - select source games folder, insert metadata (manually or automatically) - browse, filter, rate and play your games @@ -69,7 +72,10 @@ As a user, you can contribute by posting ideas and feature requests to [Github I As a developer, you can contribute just like to any other project, simply by taking over some task in [Github Issues][3], either feature requests, or fixing bugs. -Everyone should read and obey our Code of conduct and Contributing guidance. Project is being linted upon Push or Pull requests and will fail if format is incorrect. We follow [StandardJS][4] rules as they are quite simple and we can easily fix everything with one command. +Everyone has to read and follow our Code of conduct and Contributing guidance. + +Source code is being linted upon Push or Pull requests and CI will +fail if format breaks format rules. We follow [StandardJS][4] rules as they are standardized, quite simple and there are tools to easily format our code automatically. [1]: https://github.com/houby-studio/open-gamers-library/releases [2]: https://github.com/houby-studio/open-gamers-library/wiki diff --git a/build/installer.nsi b/build/installer.nsi new file mode 100644 index 0000000..ff85a63 --- /dev/null +++ b/build/installer.nsi @@ -0,0 +1,9 @@ +!macro customInit + ${if} $installMode == "all" + ${IfNot} ${UAC_IsAdmin} + ShowWindow $HWNDPARENT ${SW_HIDE} + !insertmacro UAC_RunElevated + Quit + ${endif} + ${endif} +!macroend \ No newline at end of file diff --git a/build/license.txt b/build/license.txt new file mode 100644 index 0000000..b180c0e --- /dev/null +++ b/build/license.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 Houby Studio + +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. diff --git a/package.json b/package.json index 11092e6..2901c73 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "email": "megastary@houby-stuio.com", "url": "https://houby-studio.eu/" }, - "version": "0.0.7", + "version": "0.0.8", "license": "MIT", "copyright": "Copyright © 2020 Houby Studio", "build": { @@ -43,7 +43,8 @@ "snap", "deb", "rpm", - "pacman" + "pacman", + "zip" ] } },