YY-EN40P BLOG

YY-EN40P Logo
I'm a solo developer and the founder of Read it easy.

Code signing for a Windows app with the Certum certificate

I purchased a new certificate from Certum again. The renewal process was almost the same as last time. No shortcut.

How to build a pre-release version Electron app using electron-builder

The electron-builder provides us with a way to distribute a pre-release version. Three release channels are available. "latest", "beta" and "alpha." The default is "latest". The release channels of both "beta" and "alpha" are usable as pre-release versions.

Settings of Content-Security-Policy for CSS in Electron with Vite

I got the issue that my Electron app couldn't load CSS in production. In development, no problem. What happened at CSS?

Electron's menu needs IPC and, the state management

Implementing a menu in an Electron app often needs IPC. If also needs state management, it is very complicated. I strongly recommend making a state-transition table or a truth table before coding.

How I define a new feature of my Electron app - The case of class folding

Read it easy released a new feature "Class folding". Class folding can fold the class attribute in HTML. This article introduces how I define a new feature of my Electron app.

Notarizing my macOS Electron app using vite-electron-builder

After migrating Webpack to Vite, notarization for macOS can use the same script. The environment variables should be handled by electron-builder, not by Vite. Additionally, I had to accept the revised Apple Developer Program License Agreement before notarization.

Cannot find a module in both the development and production of vite-electron-builder

I got the error related to the path of the main process of vite-electron-builder. I thought I set the wrong path, but the problem was due to both Rollup and mixed modules including ES and CommonJS.

Upgrading Electron from 8.2.0 to 24.0.0

To upgrade Electron, I have to take breaking changes into consideration. Electron 12.0 requires the hardest breaking changes. This is one of the biggest breaking changes in Electron.

Migrating my Electron app from Webpack to Vite

Migrating my Electron app from Webpack to Vite is the solution for the unmaintained modules like electron-webpack.

Gatsby Initialization ( 2/2 ) | Look Through Code Reading

I found a lot of challenges to code reading about Gatsby initialization. And some tips for code reading can be updated. This post introduces them.

Gatsby Initialization ( 1/2 ) | Look Through Code Reading

I began reading the source code of Gatsby as a project. The goal is to finish to read the whole code of Gatsby, exactly speaking the package gatsby. Here is my experience and understanding through reading the function initialize in Gatsby.

Are You Reading Code Like How to Learn a Natural Language?

Code reading is more important than we think. This post explains why I insist on reading code more. And I introduce a new project to read the whole source code of Gatsby and develop a tool to support it.