From aadf25fb78821e5eb86e484d47c80f5011a3dc2f Mon Sep 17 00:00:00 2001 From: ech0 Date: Fri, 2 Jun 2023 15:41:11 +0200 Subject: [PATCH] ... --- .github/workflows/release.yml | 2 +- src/main.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d86a6e7..20287cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: id: tag run: | echo "::set-output name=release_tag::$(Get-Date -Format 'yy.MMdd.HHmm')" - (Get-Content package.json).replace('"version": "1.0.0"', """version"": ""$(Get-Date -Format 'yy.MMdd.HHmm')""") Set-Content package.json + (Get-Content package.json).replace('"version": "1.0.0"', """version"": ""$(Get-Date -Format 'yy.MMdd.HHmm')""") | Set-Content package.json - name: install dependencies run: npm ci - name: build diff --git a/src/main.js b/src/main.js index 0b2ce6d..37499db 100644 --- a/src/main.js +++ b/src/main.js @@ -5,6 +5,8 @@ const tmp = require('tmp-promise'); const fs = require('fs/promises'); require('update-electron-app')(); +console.log(require('update-electron-app')); + regedit.setExternalVBSLocation('./.webpack/main/vbs'); regedit.setExternalVBSLocation('./vbs');