PipeCAD icon indicating copy to clipboard operation
PipeCAD copied to clipboard

Upgrade of PipeCAD

Open rompik opened this issue 2 years ago • 6 comments

Is it possible to add possibility to check if new version is available and update PipeCAD automatically after. I found one Qt solution which can be useful for you - https://github.com/Skycoder42/QtAutoUpdater. For Python files, update process can be separated from PipeCAD core update process and can be run manually by request on pressing button in Admin module (for example, it could be - Update Python Libraries), which will start Python script to compare version of Python files on main GitHub repository or on company's repo (in case if company will have its private PipeCAD repo by security reason similar like for pmllib).

rompik avatar Jun 02 '22 13:06 rompik

Great! I will learn QtAutoUpdater and add upgrade function in PipeCAD.

eryar avatar Jun 03 '22 03:06 eryar

I started to prepare a form for getting libraries/docs/uic/... from GitHub to allow updating PipeCAD environment w/out waiting new version. изображение

Also, I would like to correct names of folders on GitHub to simplify coping files: Python -> lib Translations -> translations

The same there will rename folders in PipeCAD: Lib -> lib Settings -> settings Translations -> translations Add folders: uic - for including menu files *.uic & *xml help - for including docs
template - for including ProjectDefinition.xlsx and other templates catalogue - for including catalogues databases or macro, which will be common for sample project

Later also PipeCAD binary files can be uploaded to network share to allow upgrade of software automatically.

rompik avatar Jul 28 '22 12:07 rompik

OK. Maybe add folder bin and upload PipeCAD binary files and allow upgrade without setup.

eryar avatar Jul 28 '22 23:07 eryar

Change the default import path to PIPECAD_EXE/templates image

eryar avatar Aug 10 '22 01:08 eryar

Hello Shing, I think will good if you also add new system variable to common evars.bat:

SET PYTHONPYCACHEPREFIX=%TEMP%

It will allow to move python cache from python library folders (which could be for read access only for designers and for write access for admin) to system %TEMP% (which usually for write access).

rompik avatar Aug 10 '22 06:08 rompik

OK. I will add it to evars.bat.

eryar avatar Aug 10 '22 07:08 eryar