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
Tauri

Streamlining Tauri App Builds: Removing Redundant Configuration

This post details a recent cleanup in the ERP-1st project, focusing on optimizing the Tauri build process.

The Situation

The tauri.conf.json file, the configuration hub for Tauri applications, had accumulated some unnecessary baggage. Specifically, the beforeBuildCommand and some unused resources were lingering, potentially adding complexity and overhead to the build process.

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
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