5 Commits
v ... v1.0.3

Author SHA1 Message Date
6e04dc1c74 CJ kill my Self 2025-12-04 14:57:10 -05:00
34b2aed773 Helper 2025-12-04 14:52:39 -05:00
a967176454 hurr 2025-12-04 14:48:36 -05:00
56bc506aae Piss and cum
Some checks failed
Windows Release / build-windows (push) Failing after 2m36s
2025-12-04 14:45:28 -05:00
fd36c61f8f Penits
Some checks failed
Windows Release / build-windows (push) Failing after 1m3s
2025-12-04 14:43:37 -05:00
3 changed files with 14 additions and 4 deletions

View File

@@ -43,9 +43,7 @@ jobs:
- name: Get version from package.json
id: version
working-directory: electron-app
run: |
$version = (Get-Content package.json | ConvertFrom-Json).version
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
run: node scripts/get-version.cjs
- name: Create Release and Upload exe
uses: softprops/action-gh-release@v1

View File

@@ -1,6 +1,6 @@
{
"name": "rmtpocketwatcher",
"version": "1.0.2",
"version": "1.0.3",
"description": "Real-time AUEC price tracking desktop application",
"type": "module",
"main": "dist/main/index.js",

View File

@@ -0,0 +1,12 @@
const fs = require('fs');
const path = require('path');
const pkgPath = path.join(__dirname, '..', 'package.json');
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
const outputFile = process.env.GITHUB_OUTPUT;
if (outputFile) {
fs.appendFileSync(outputFile, `VERSION=${pkg.version}\n`);
}
console.log(pkg.version);