mirror of
https://github.com/safing/portmaster
synced 2025-04-21 19:39:09 +00:00
[desktop/tauri] Add icon to the nsis insteller
This commit is contained in:
parent
f07f4e6988
commit
f8685584cb
2 changed files with 3 additions and 3 deletions
desktop/tauri/src-tauri
|
@ -12,7 +12,6 @@ use std::process::ExitStatus;
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
use crate::service::systemd::SystemdServiceManager;
|
use crate::service::systemd::SystemdServiceManager;
|
||||||
|
|
||||||
use log::info;
|
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
||||||
use self::status::StatusResult;
|
use self::status::StatusResult;
|
||||||
|
@ -63,7 +62,7 @@ pub fn get_service_manager() -> Result<impl ServiceManager> {
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
if SystemdServiceManager::is_installed() {
|
if SystemdServiceManager::is_installed() {
|
||||||
info!("system service manager: systemd");
|
log::info!("system service manager: systemd");
|
||||||
|
|
||||||
Ok(SystemdServiceManager {})
|
Ok(SystemdServiceManager {})
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -76,7 +76,8 @@
|
||||||
"windows": {
|
"windows": {
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"installMode": "perMachine",
|
"installMode": "perMachine",
|
||||||
"installerHooks": "templates/nsis_install_hooks.nsh"
|
"installerHooks": "templates/nsis_install_hooks.nsh",
|
||||||
|
"installerIcon": "../../../assets/data/icons/pm_light.ico"
|
||||||
},
|
},
|
||||||
"wix": {
|
"wix": {
|
||||||
"fragmentPaths": [
|
"fragmentPaths": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue