diff --git a/.github/actions/build/windows/todesktop/action.yml b/.github/actions/build/windows/todesktop/action.yml index ea188c02..43ef459e 100644 --- a/.github/actions/build/windows/todesktop/action.yml +++ b/.github/actions/build/windows/todesktop/action.yml @@ -31,6 +31,4 @@ runs: GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} TODESKTOP_EMAIL: ${{ inputs.TODESKTOP_EMAIL}} TODESKTOP_ACCESS_TOKEN: ${{inputs.TODESKTOP_ACCESS_TOKEN}} - run: | - cd assets - ls + run: yarn run publish \ No newline at end of file diff --git a/scripts/todesktop/postInstall.js b/scripts/todesktop/postInstall.js index f4a3eca5..45dd543a 100644 --- a/scripts/todesktop/postInstall.js +++ b/scripts/todesktop/postInstall.js @@ -10,8 +10,12 @@ async function postInstall() { if (!firstInstallOnToDesktopServers) return; + console.log(process.env); + console.log('After Yarn Install ' , os.platform()); + if (process.env.TODESKTOP_INITIAL_INSTALL_PHASE){ + if (os.platform() === "win32") { // Change stdio to get back the logs if there are issues. @@ -52,7 +56,7 @@ async function postInstall() { fs.rmSync(path.join('./assets', tgzFile)); } }); - + } }; postInstall();