GithubHelp home page GithubHelp logo

pausiber / update Goto Github PK

View Code? Open in Web Editor NEW
16.0 5.0 3.0 216 KB

An update service that brings updates from PauSiber team to the Dev users.

Home Page: https://dev.pausiber.xyz/

License: MIT License

Shell 41.65% Go 52.40% C++ 5.95%
pausiber-dev golang

update's Introduction

PauSiber Dev - Update Service

Go Report Card

An update service that brings updates from PauSiber team to users.

You will be up to date.
You will be getting updates from PauSiber team..

Features

  • Included gvm and go installation script.
  • Checking updates on every boots.
  • A tiny interface to use.

Installation

Hey!
If you have already PauSiber Dev.
Do not worry.

You already have the update system. Run this command to get magic.

systemctl start update_dev.service

Usage

usage-video

How to send updates?

It is simple.
Add update information to updates.json.

{
  "authority": "PauSiber Community",
  "name": "PauSiber Dev",
  "version": "2.0",
  "updates": [
    {},
    {},
    {
      "id": LAST ID + 1,
      "name": "YOUR UPDATE NAME",
      "description": "YOUR UPDATE DESCRIPTION",
      "fileName": "YOUR UPDATE FILE NAME",
      "publishTime": "YOUR UPDATE PUBLISH TIME"
    }
  ]
}

Add your update script to updates/ folder. Like this one:

#!/usr/bin/env bash

WORKING_DIRECTORY="/home/dev"

die() {
  echo "$*" >&2
  exit 444
}

success() {
  echo "$*" >&2
  exit 0
}

main() {
  cp ./.update/updates/_files/1_conio.h /usr/include/conio.h
  echo "Added conio library to system."
  success "You can use getch and getche methods now."
}

cd ${WORKING_DIRECTORY}
main

To-Do

  • Add "do all updates" (--no-confirm) to cli.
  • Add notifications for Pacman and Aur updates.

update's People

Contributors

boratanrikulu avatar emrullahcirit avatar cagataycali avatar

Stargazers

Ali Osman Yüksel avatar Berkan Gezgin avatar Mehmet Akif DERE avatar Hasan Tezcan avatar Elif Bihter KUŞÇU avatar Beyza Kaynar avatar Murat Can Tanrıverdi avatar Remzi DALYAN avatar Altay Simsek avatar Batın Eryılmaz avatar Faruk Özdemir avatar  avatar  avatar  avatar  avatar Alper Çün avatar

Watchers

James Cloos avatar Gürkan Şen avatar Feyzi Yuşa Karababa avatar  avatar Hasan Tezcan avatar

update's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.