mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-24 17:42:46 +00:00
10 lines
325 B
JavaScript
10 lines
325 B
JavaScript
/**
|
|
* Entry function for get app version.
|
|
* In current implementation, it returns `version` from `package.json`, but you can implement any logic here.
|
|
* Runs several times for each vite configs and electron-builder config.
|
|
* @return {string}
|
|
*/
|
|
export function getVersion() {
|
|
return process.env.npm_package_version;
|
|
}
|