Gets the application version for the renderer process (React).
Example
constversion = getAppVersion();
Source
exportconstgetAppVersion = (): string=> { // In renderer process, get from env variable set by the main process returnimport.meta.env.VITE_APP_VERSION || "1.0.0"; };
Gets the application version for the renderer process (React).
Example
Source