10 Commits

Author SHA1 Message Date
Cohee 8e8f501279 Immutable public and global content management (#5390)
* Use custom init script instead of postinstall

* Revert changes to start scripts in src\electron

* Add global data to content manager

* Add migration for public overrides and user.css location update

* Update npm publish workflow to use 'omit=dev' flag in npm ci commands

* Rename user.css readme file

* Fix indentation in userCssMiddleware function

* Add directory creation for content target

* Restore template compile location

* Move stylesheet up in index.json

* Use path.resolve for user.css file path in userCssMiddleware

* Correct capitalization in "Not Found" error page title and heading

* Remove init run from startup scripts

* Simplify user CSS file path resolution

* Update userCssMiddleware comment
2026-04-05 19:32:28 +03:00
Cohee e2d8c0200f Use custom init script instead of postinstall (#5384)
* Use custom init script instead of postinstall

* Revert changes to start scripts in src\electron

* feat: add --ignore-scripts flag to npm install commands in batch and shell scripts

* feat: add --ignore-scripts flag to npm ci in Dockerfile
2026-04-01 23:34:00 +03:00
Cohee 560d15c5bb Prevent writing package-lock.json in startup scripts 2025-12-02 10:26:35 +00:00
Cohee 2e3dff73a1 Update UpdateAndStart.bat 2025-08-03 00:59:55 +03:00
Cohee 9e3307576e Crash when update failed 2024-10-01 12:43:20 +03:00
Cohee 6c110e91f7 Exit scripts when try to update non-git installs 2024-10-01 12:32:32 +03:00
Cohee 15363a8d69 Silence deprecation warnings in default startup scripts
Closes #2876
2024-09-19 15:42:07 +00:00
Cohee a7aa5fccf9 Update startup scripts (see below)
1. Set NODE_ENV to production and skip dev dependencies when running from scripts.
2. Remove pkg leftovers. Indicate current environment instead.
2024-03-06 22:09:31 +02:00
Cohee eb7412185f Missed one script 2024-01-13 17:55:48 +02:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00