Latest Updates

Documenting code, one commit at a time.

Enhancing ERP-1st: Package Management Update

Introduction

Working on ERP-1st, a comprehensive enterprise resource planning solution, involves continuous updates and maintenance to ensure stability and incorporate the latest improvements.

The Update

A recent task focused on updating the package-lock.json file. This file is crucial for managing the versions of dependencies in a Node.js project.

Read more

Streamlining Tauri App Builds with GitHub Actions

Building cross-platform desktop applications with Tauri is powerful, but integrating it into a CI/CD pipeline can sometimes be tricky. One common hurdle is ensuring that all necessary dependencies and build steps are executed correctly within the CI environment.

The Problem: Missing Build Commands

When setting up a GitHub Actions workflow for a Tauri project (like ERP-1st), you might

Read more

Streamlining Tauri Builds with GitHub Actions in ERP-1st

Introduction

The ERP-1st project aims to provide a comprehensive enterprise resource planning solution. Recently, the team focused on optimizing the build process for their Tauri-based application, leveraging the power of GitHub Actions for automation and consistency.

The Problem

Previously, the build process for the Tauri application in ERP-1st required manual steps or custom scripting

Read more

Streamlining Frontend Builds in ERP-1st with Tauri

The ERP-1st project aims to deliver a comprehensive enterprise resource planning solution. Recently, the development team focused on optimizing the frontend build process for faster and more reliable deployments.

The Challenge

Previously, the project relied on a tauri-action GitHub Action to build the frontend. While convenient, this approach introduced some level of abstraction and

Read more
Rust Tauri

Bundling Backend Resources with Tauri: A Practical Approach

Introduction

When building cross-platform applications with Tauri, one challenge is packaging backend resources efficiently. We recently tackled this in the ERP-1st project, ensuring that our application bundles included necessary backend components and handled platform-specific fallbacks.

This post details our approach to bundling backend resources and providing a Python fallback mechanism

Read more

Enhancing Backend Reliability with CORS Fixes and Resource Inclusion

In the ERP-1st project, maintaining a robust and reliable backend is crucial for seamless operation. A recent effort focused on addressing cross-origin resource sharing (CORS) issues and ensuring comprehensive resource inclusion within the backend build process. This addresses potential security vulnerabilities and ensures the application functions as expected across different environments.

Read more
Tauri Rust

Creating a Windows Installer for Tauri Applications

Introduction

This post details the process of generating an NSIS (Nullsoft Scriptable Install System) installer for a Tauri application, allowing for easy distribution and installation on Windows.

NSIS Installer

NSIS is a script-driven installer authoring tool for Windows. It's a popular choice for creating installers because it's free, flexible, and supports a wide range of features.

Read more

Fixing Tauri CORS Configuration: A Deep Dive

Ever struggled with CORS errors in your Tauri application? Configuring Cross-Origin Resource Sharing (CORS) can be tricky, especially when dealing with local development and production deployments. Let's explore a common issue and its solution within a Tauri v2 environment.

The Problem: Strict CORS in Tauri

Tauri, by default, enforces strict CORS policies for enhanced security.

Read more