Skip to content

This App is a small Project built for the Course Desktop-Webapplikationen

Notifications You must be signed in to change notification settings

CengoleFHV/ionic-time-tracker

Repository files navigation

Ionic Time Tracker ⚛️⏲️

Description 📓

This App is a small Project built for the Course Desktop-Webapplikationen

This specific Project was built with the Ionic Framework and uses Rust with wasm-pack to encrypt Data

Getting Started 🚀

Version:

  • npm - v10.2.5
  • nodeJS - v20.10.0
  • rustup - v1.26.0

To start the Project and build all the necessary stuff you need to install npm, nodeJS and rustup

install rustup from here

install afterwards wasm-pack form here


To get started run the following commands:

npm install -g @ionic/cli
npm install
npm run install:encrypter
npm run build:encrypter

now you can run

npm run build

now you have to switch to the electron folder with cd electron and run

npm install

to install all the necessary electron modules

after that return to the root folder and run

npm run electron

when the electron app runs it works 🫡

Building 🏗️

To build the Electron app a few run commands were made to make it simple

Windows 🪟

To build an Executable for Windows just run the Following Command

npm run electron:win

This will create an IonicTimetracker.exe File in the Folder release-builds/IonicTimetracker-win32-x64 from where you will be able to run the Electron App

MacOS 🍎

These Builds are made for Apple Silicon Powered Macs

To Build for MacOS Run the Command

npm run electron:mac

This will create all the necessary files for MacOS in the folder release-builds/IonicTimeTracker-darwin-arm64

Linux 🐧

For Linux the Command is

npm run electron:linux