23 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 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 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 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
Vladimir Stoilov 9324c59f7b [packaging] Add check if old install folder exists 2025-03-05 21:06:54 +02:00
Vladimir Stoilov df6e95dcd7 [packaging] Add migration for linux installers 2025-03-05 16:13:00 +02:00
Vladimir Stoilov fed64e6fbd Fix loggin dir 2024-12-12 16:33:02 +02: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