mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-06-28 05:25:11 +00:00
Fixed version_to_file script
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
# - rolens-windows-2022-arm64.zip
|
||||
#
|
||||
|
||||
node ./build/version2file.js
|
||||
node ./build/version_to_file.js
|
||||
version=$(<./build/version.txt)
|
||||
|
||||
mkdir bundle
|
||||
|
@ -3,7 +3,9 @@
|
||||
// This script extracts the version number from wails.json in the project root
|
||||
// and writes it to version.txt
|
||||
|
||||
require('fs').writeFileSync(
|
||||
const fs = require('fs');
|
||||
|
||||
fs.writeFileSync(
|
||||
__dirname + '/version.txt',
|
||||
JSON.parse(
|
||||
fs.readFileSync(__dirname + '/../wails.json')
|
Reference in New Issue
Block a user