Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tGCwa-001Wvb-Aa for pgadmin-hackers@arkaria.postgresql.org; Wed, 27 Nov 2024 07:58:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tGCwZ-00D2kj-1k for pgadmin-hackers@arkaria.postgresql.org; Wed, 27 Nov 2024 07:58:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tGCwY-00D2kH-HA for pgadmin-hackers@lists.postgresql.org; Wed, 27 Nov 2024 07:58:38 +0000 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tGCwU-0047H0-Rb for pgadmin-hackers@postgresql.org; Wed, 27 Nov 2024 07:58:36 +0000 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-5f1f941b9d9so941154eaf.1 for ; Tue, 26 Nov 2024 23:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1732694313; x=1733299113; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=LUUqj4sdPxDIXeiHARC26AS3XiiCEfKvAlnbJgeLOak=; b=P205+THvqitj2NhhrQitWe9Lj0hnbY3FM1bvxl0tCaJU6KRBJR1gukoRH0ktvx0uN2 iHuW8gwlCgtXQkJ/jqbjDeqqj/8xVYiHkKXMYjKfFBJ/ZR9efJUnUNKcWX5fXO3hB/hS qnAP+dLd7A2jyPx3PV/DQnrUV9cKz5NY7npAcgulckH41P2rmQZq6oUwZMSJMK7EoYKm gdMbpkWxQDivSHefytjRYdjGjKsaLWIyvpwQhzVPSDmPQJXcalkt7EIKLBQHdBCmvoja IvjEGHmQpzKfQhrC6Xk8bG0nNtIY5m4hqLXyAo6NY1nATQLSQCKXtq18uuHVzunFzhkP C+pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732694313; x=1733299113; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LUUqj4sdPxDIXeiHARC26AS3XiiCEfKvAlnbJgeLOak=; b=vh/s7i3iASfMwtAg679hHwFTYI2IpAiS0M5mZrME5fPYFX6t8Oro3CNR6I6L+yJYIp q216lGibMQJHmnUyCUHUQ4ndbhf2ph1OIofxiLU20qNIWsrRUjQ3zLnmYnAZhLos8SyT FZxqkOG7XcLy/voKMwnLA5m9EcfK2fxZxPLM+Ew8cd3rcoWyRbzf7XZIAlEMkcdHtGmM WT9kB0zeQlK/ta1NZgQKe+HRLUoDfBnAtKUQxgPxRdK/HtDkLWCwpYoU83EOu0fgE1xN F9g+e5fzPlCW5xuzJpUSoHYYNUpZfzfkYhh893vrxChL+6rdg4dNCFIh/NRQ3leu88b4 F+Vg== X-Gm-Message-State: AOJu0YwU3AFLcNboYNFTmKxlzFXfZcwKKENHWzv5FYxN3Phtovauc5TF utedceu/Nnbqh3R6MN7ew6fiZ/RupfYNC7zPE/JAGEscF1zfpSRxBQU4xILAUhaFuJkwJEwF931 kJN0LJFS6LyGsIJly/Gaf/6MukYTqmucWuLDu/lGcPKukcDM= X-Gm-Gg: ASbGnct5zRirXNlmnpxM1QgSs2KMl92g8lBVQ4E4CHwkX68QI54OZzbY+3emJyxwvGr qPkEIcACFt11Ma58x20r0ojmTKKqVpEMVtI/D0wUl7BYSZhRmqgvIaLrwLSfBet8b X-Google-Smtp-Source: AGHT+IHFOHy3y1/8n+yNcpJCBVgIpkkgodDDSFbAkM+ympjiYNiG3QV2qKFzKoev11Ji/Fk6Nb3l/QzrVa2dkx8Roow= X-Received: by 2002:a05:6820:991:b0:5eb:c6ba:783b with SMTP id 006d021491bc7-5f20a0779ccmr1243863eaf.1.1732694312070; Tue, 26 Nov 2024 23:58:32 -0800 (PST) MIME-Version: 1.0 From: Anil Sahoo Date: Wed, 27 Nov 2024 13:27:56 +0530 Message-ID: Subject: Require suggestions on feature #5766 To: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000f9c79e0627e0548b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000f9c79e0627e0548b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Dave/Team, I am currently working on the auto-update feature of pgAdmin 4 desktop application, #5766 . As we are using Electron for shipping our desktop application, I have gone through some possible ways we can implement the auto update of the app. I found 2 most popular ways, that are 1. *Use builtin electron=E2=80=99s autoUpdater* (Uses the Squirrel frame= work & Available for Mac, Windows) 2. *Use electron-builder and electron-updater packages *(Available for Mac, Windows and Linux systems) *Linux systems:* - Builtin Electron=E2=80=99s autoUpdater support is not available. - electron-builder and electron-updater can be used, but need to change the whole build process. Also most apps like VS code, Chrome, etc does n= ot support auto-update of apps on linux systems. *Mac systems:* - We can use the builtin Electron=E2=80=99s autoUpdater to add auto-upda= te feature to macOs systems, It is simple and easy to configure. We need a minor modification in our build process i.e. as we are supporting Intel = and Apple silicon chips, deployment url will have 2 zip files and each zip f= ile will hold the build for arm64 and x86_64. - electron-builder and electron-updater can be used. With this, we have to change the whole build process. *Windows systems:* - We can use the builtin Electron=E2=80=99s autoUpdater to add auto-upda= te feature to windows systems, Here also we need to change our build proces= s. Electron=E2=80=99s docs recommend using electron-winstaller or electron = forge to create the installer and some extra changes are needed in the deployment server. - electron-builder and electron-updater can be used. With this, we have to change the whole build process. As Electron's builtin autoUpdater is easy to use so for now we can move with the auto-update of the pgAdmin app on macOs systems as it requires minimal changes. Please share your suggestions or feedback. Thanks, Anil --=20 *Anil Sahoo* Software Development Engineer II LinkedIn || Blog || *GitHub * enterprisedb.com --000000000000f9c79e0627e0548b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi Dave/Team,

I am currently working on the auto-up= date feature of pgAdmin 4 desktop application, #5766.


As we are using Electron= for shipping our desktop application, I have gone through some possible wa= ys we can implement the auto update of the app.

I found 2 most popular ways, that are

  1. Use builtin electron= =E2=80=99s autoUpdater (Uses the Squirrel framework & Available for= Mac, Windows)
  2. Use electron-builder= and electron-updater packages=C2=A0(Available for Mac, Windows and Lin= ux systems)

Linux systems:

  • Builtin Elec= tron=E2=80=99s autoUpdater support is not available.
  • electron-build= er and electron-updater can be used, but need to change the whole build pro= cess. Also most apps like VS code, Chrome, etc does not support auto-update= of apps on linux systems.=C2=A0

Mac systems:

<= ul>
  • We can use the builtin Electron=E2=80=99s autoUpdater to add auto-update= feature to macOs systems, It is simple and easy to configure. We need a mi= nor modification in our build process i.e. as we are supporting Intel and A= pple silicon chips, deployment url will have 2 zip files and each zip file = will hold the build for arm64 and x86_64.
  • electron-builder a= nd electron-updater can be used. With this, we have to change the whole bui= ld process.=C2=A0
  • Windows systems:<= /p>

    • We can use the builtin Electron=E2=80=99s autoUpdater to add auto-up= date feature to windows systems, Here also we need to change our build proc= ess. Electron=E2=80=99s docs recommend using electron-winstaller or electro= n forge to create the installer and some extra changes are needed in the de= ployment server.
    • electron-builder and electron-updater can b= e used. With this, we have to change the whole build process.=C2=A0

    As Electron's builti= n autoUpdater is easy to use so for now we can move with the auto-update of= the pgAdmin app on macOs systems as it requires minimal changes.


    Please share your suggestions or feedback.


    Thanks,

    Anil


    --


    = Anil Sahoo

    Software Development Engineer II

    LinkedIn=C2=A0|| Blog=C2=A0|| GitHub


    enterprisedb.com

    --000000000000f9c79e0627e0548b--