Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daredloco/gitinstaller
A simple installer for software released on GitHub for Windows
https://github.com/daredloco/gitinstaller
Last synced: 1 day ago
JSON representation
A simple installer for software released on GitHub for Windows
- Host: GitHub
- URL: https://github.com/daredloco/gitinstaller
- Owner: daredloco
- License: mit
- Created: 2020-10-23T03:14:06.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-18T02:44:39.000Z (over 2 years ago)
- Last Synced: 2024-10-08T09:22:36.575Z (about 1 month ago)
- Language: C#
- Size: 151 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitInstaller
A simple installer for software released on GitHub for Windows![Installer Preview](https://www.rowa-digital.ch/ginstaller.png)
## Usage
The installer is very easy to setup.
All you have to do is to change the values inside the config.json file and you're ready to go.```json
{
"project": "GitInstaller",
"user": "daredloco",
"repo": "GitInstaller",
"unzip": true,
"preview": true,
"uninstall": true,
"ignored-tags": ["v1.0"],
"ignored-files": ["somefiletoignore.zip"]
}
```- project: The name of the project shown as Window Title
- user: Your github username or the name of your company
- repo: The name of your repository
- unzip: Will unpack all zip files to the folder selected by the user and delete the zip files afterwards
- preview: If true, preview releases will be included, if false they'll not but the user will always be able to enable them afterwards.
- uninstall: If true, uninstall informations will be saved so the user can easily uninstall the software
- ignored-tags: Releases with this tag will be ignored
- ignored-files: Files with this name will be ignoredYou can also add a zipsettings.json file to handle special cases like subdirectories for certain folders/files:
```json
{
"Subfolders": [
{ "Sub1": [ "GitInstaller.exe", "config.json" ] },
{ "Sub2": [ "FileThatDoesntExist.jpg" ] }
]
}
```
Create an array named "Subfolders" and create an object with the name of the subfolder as key and the files included as value (array).
Afterwards add this file to your zip archive. It won't be unpacked!## Manual Installation
If the Installer won't find a "config.json" file in the same directory, it will show a prompt where you can enter the url of the repository.WARNING: This is a preview function so exception handling isn't completely done!
## Licenses
- [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
- [Fody](https://github.com/Fody/Fody/blob/master/License.txt)