Init
This commit is contained in:
		| @ -4,7 +4,8 @@ import child_process from "child_process" | ||||
|  */ | ||||
| const config = { | ||||
|     define: { | ||||
|         '__APP_VERSION': child_process.execSync('git rev-parse --short HEAD'), | ||||
|         '__APP_VERSION': child_process.execSync('git rev-parse --short HEAD').toString().replaceAll("\n",""), | ||||
|         '__APP_BUILD_TIME': Math.floor(Date.now() / 1000), | ||||
|     } | ||||
| } | ||||
| export default config | ||||
		Reference in New Issue
	
	Block a user