Giter Club home page Giter Club logo

prayer_times's Introduction

prayer_times

package

electron-packager . prayer_time --platform=linux --arch=armv7l --out=out --overwrite

install

Application binary is in /home/pi/prayer_time/prayer_time-linux-armv7l/ This is the <application_folder>. folder. To replace code, we can just replace the code under <application_folder>/resources/app/ folder.

update the file

Current prayer time file is <application_folder>/resources/app/prayer_times_2021.json. Replacing this with a new file will update the times.

how to run gui app in raspberry pi on startup

I learned it from this blog: https://jsakov.medium.com/linux-start-an-application-automatically-at-boot-2b6fb61524d7. Basically we need to edit following file:

/etc/xdg/lxsession/LXDE-pi/autostart

with content like this:

@/path/to/myapp @/usr/bin/python /home/pi/example.py @/usr/local/bin/electron /home/pi/electron_example.py

Notes:

  1. Don’t forget the @
  2. Your commands should come before the @xscreensaver line.

prayer_times's People

Contributors

sabbir044 avatar

Watchers

 avatar  avatar

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.