Commit Graph

44 Commits

Author SHA1 Message Date
Alexandr Stelnykovych aea3aa4a2b linux: pass LOGLEVEL from the unit file, drop the unused PORTMASTER_ARGS
The unit file set LOGLEVEL=info and sourced /etc/default/portmaster, but
never passed the value to portmaster-core. Pass it as --log=${LOGLEVEL}.

An invalid level used to make ServiceConfig.Init fail, which would now turn
a mistyped LOGLEVEL into a service that does not start. Warn and fall back
to the default level instead, as the logger already does on its own.

PORTMASTER_ARGS was appended after "--", where cobra stops parsing flags and
the core ignores the rest, so it has had no effect since the v1 wrapper was
removed. Drop it, and replace the UI README instruction that relied on it
with the equivalent setting (Development Mode).
2026-10-15 12:54:54 +03:00
Alexandr Stelnykovych 21a2b0647f fix(packaging; Linux): use project-local Angular CLI in build_tauri.sh
The dev helper ran whichever `ng` came first on PATH. On Debian/Ubuntu
systems with the `ng-common` package installed, that is a text editor,
so answering "Y" to the Angular build prompt opened an editor instead
of building tauri-builtin.

Use desktop/angular/node_modules/.bin/ng instead, so the CLI version
always matches package.json, and fail with a clear hint to run
`npm install` when it is missing.

The Earthfile build does not use this script and is unaffected.
2026-10-01 13:11:34 +03:00
Alexandr Stelnykovych 64475f94d0 build(linux): add build_angular.sh dev helper script
Adds a standalone bash script to build the Angular UI project and package it into a distributable zip. Supports --development and --interactive flags.
2026-04-29 17:37:11 +03:00
Alexandr Stelnykovych e1475a1a3e feat(build): add script to build Tauri application for Portmaster on Linux 2025-12-08 18:19:56 +02:00
Alexandr Stelnykovych 31aec94008 Build scripts refactoring 2025-10-17 21:53:50 +03:00
Alexandr Stelnykovych c085ae05ea fix: correct ExecStopPost command syntax in portmaster.service
https://github.com/safing/portmaster/issues/1949
2025-10-03 12:31:08 +03:00
Alexandr Stelnykovych d3e489f10a Merge branch 'v2.0' into feature/ui-security 2025-04-28 11:08:25 +03:00
Alexandr Stelnykovych 6288056dc6 [packaging] (Linux) fix: modified service restrictions to allow write access to Portmaster binary folder 2025-04-22 17:22:48 +03:00
Alexandr Stelnykovych c94ec9ac5e [packaging] (Linux) fix: Incorrect Portmaster icon on task bar 2025-04-21 16:38:35 +03:00
Alexandr Stelnykovych 592e8faf83 [packaging] new helper scripts 2025-04-12 23:17:07 +03:00
Alexandr Stelnykovych b1bc5e2d0e [packaging] Erasing work directories before building Windows installer 2025-04-04 16:35:29 +03:00
Alexandr Stelnykovych 1aa69f73a2 [packaging] fix: remove leftover installer migration artifacts 2025-04-03 17:45:11 +03:00
Alexandr Stelnykovych f08a36f5ff [packaging] Fix: Linux installers (migration/update/removal) 2025-03-25 14:30:46 +00:00
Alexandr Stelnykovych 0597bf7dc2 [packaging] Compatibility generate_windows_installers.ps1 with 'updatemgr download ...' 2025-03-21 15:34:06 +02:00
Alexandr Stelnykovych 3defb5f0ba [packaging] Fix in generate_windows_installers.ps1 2025-03-20 12:37:16 +02:00
Alexandr Stelnykovych 69a3d03a4f [packaging] Set the correct versions for compiled binaries and installers based on the Git tag 2025-03-20 09:50:52 +00:00
Alexandr Stelnykovych 8a0aacd446 [packaging] Excluded binary index from installers 2025-03-14 00:07:26 +02:00
Alexandr Stelnykovych 260449e59b [packaging] (Windows) Ability to run "generate_windows_installers.ps1" from any location. 2025-03-06 15:21:38 +02:00
Alexandr Stelnykovych 911255e1d2 [packaging] (Windows) Added script to sign binaries 2025-03-06 14:50:00 +02:00
Vladimir Stoilov 9324c59f7b [packaging] Add check if old install folder exists 2025-03-05 21:06:54 +02:00
Alexandr Stelnykovych 93b9130a69 [Packaging] Improved script for creating Windows installers 2025-03-05 17:36:18 +02:00
Vladimir Stoilov df6e95dcd7 [packaging] Add migration for linux installers 2025-03-05 16:13:00 +02:00
Alexandr Stelnykovych b6c3fba691 [fix] Installer: fixed locations to portmaster-kext.sys and portmaster-core.dll 2025-03-03 15:55:08 +00:00
Vladimir Stoilov 22f8333ead [packaging] Add Windows installer build doc 2025-02-27 16:47:46 +02:00
Vladimir Stoilov 1d15b45341 [installer] Add migration to the NSIS installer 2025-02-25 16:37:34 +02:00
Daniel b3de7da9f7 Use real assets in release CI 2025-01-24 09:58:59 +01:00
Vladimir Stoilov fed64e6fbd Fix loggin dir 2024-12-12 16:33:02 +02:00
Vladimir Stoilov b52cde15c5 [WIP] Fix installers bundle files 2024-11-29 10:53:01 +02:00
Vladimir Stoilov d6812bb4ef [WIP] Remove updater index filename setting 2024-10-18 16:45:47 +03:00
Vladimir Stoilov eb74b6cc1d [WIP] Fix path of the windows installers 2024-10-11 19:23:06 +03:00
Vladimir Stoilov 6be7330621 [WIP] Fix windows installer CI 2024-10-11 17:41:16 +03:00
Vladimir Stoilov 19422726fe [WIP] Improve windows installer build script 2024-10-07 15:01:34 +03:00
Vladimir Stoilov 71f67a8936 [WIP] Improve CI build 2024-10-07 11:26:27 +03:00
Vladimir Stoilov 3411e08500 [WIP] Fix cargo clippy lint build 2024-09-30 18:48:38 +03:00
Vladimir Stoilov 08830f29c6 [WIP] Fix ui api authentication 2024-09-25 17:34:23 +03:00
Vladimir Stoilov f7abb700bf [WIP] Fix SELinux permissions 2024-09-05 10:25:57 +03:00
Vladimir Stoilov 500256759e [desktop] Minor tauri fixes and improvments 2024-09-05 10:20:34 +03:00
Vladimir Stoilov b026e7b97e Merge branch 'develop' into feature/tauri-beta-update 2024-07-04 13:47:09 +03:00
Daniel 9f21e87628 Add low memory protection 2024-05-08 14:18:20 +02:00
Vladimir Stoilov fbb1fce38c Remove cross compilation add deb,rpm artifacts earthly 2024-04-25 19:01:31 +03:00
Vladimir Stoilov f15958b091 Migrate tauri to new config 2024-04-24 15:30:46 +03:00
Patrick Pacher 701bb91646 Update to new portbase and add experimental support for debian postinst and postrm scripts 2024-03-27 14:23:19 +01:00
Patrick Pacher 8cbc949533 Finish earthfile and add linux packaging assets 2024-03-27 12:51:54 +01:00
Patrick Pacher 8579430db9 wip: migrate to mono-repo. SPN has already been moved to spn/ 2024-03-20 09:45:32 +01:00