mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-24 10:25:47 +03:00
8 lines
241 B
JavaScript
8 lines
241 B
JavaScript
const fs = require('fs')
|
|
const path = require('path')
|
|
|
|
const packageJson = require('./package.json')
|
|
const version = packageJson.version
|
|
|
|
const filePath = path.join(__dirname, 'vuetorrent', 'version.txt')
|
|
fs.writeFileSync(filePath, version)
|