Skip to content

Commit

Permalink
only do postInstall if NOT in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Nov 16, 2024
1 parent 5700537 commit 5b3b2fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/todesktop/postInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +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 (!process.env.NODE_ENV || process.env.NODE_ENV != 'development'){
console.log(process.env);
if (os.platform() === "win32")
{
// Change stdio to get back the logs if there are issues.
Expand Down

0 comments on commit 5b3b2fd

Please sign in to comment.