mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-06-10 02:34:51 +00:00
Upload code
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
Reference in New Issue
Block a user