summaryrefslogtreecommitdiffstats
path: root/windows/pica-node.exe.manifest.in
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-09-26 03:03:13 +0400
committerAnton <anton@picapica.im>2026-09-26 03:03:13 +0400
commit47cc7e0baaa6328540215c34eedacaf36fcc5d01 (patch)
tree3624002a1f451a4056268b5622844e52379d8b3a /windows/pica-node.exe.manifest.in
parent1f7c350a83d6a515919255dc72266fd4e143cd1d (diff)
downloadpica-pica-47cc7e0baaa6328540215c34eedacaf36fcc5d01.tar.gz
pica-pica-47cc7e0baaa6328540215c34eedacaf36fcc5d01.zip
windows build & installers, icons, manifests
Diffstat (limited to 'windows/pica-node.exe.manifest.in')
-rw-r--r--windows/pica-node.exe.manifest.in66
1 files changed, 66 insertions, 0 deletions
diff --git a/windows/pica-node.exe.manifest.in b/windows/pica-node.exe.manifest.in
new file mode 100644
index 0000000..b3c97e9
--- /dev/null
+++ b/windows/pica-node.exe.manifest.in
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+
+ <assemblyIdentity
+ type="win32"
+ name="picapica.im.pica-pica.pica-node"
+ version="@PICA_WINDOWS_VERSION@"
+ processorArchitecture="*"
+ />
+
+ <description>Pica Pica node</description>
+
+ <!-- The node has no user interface, so unlike the client it does not pull in
+ the themed version 6 common controls. -->
+
+ <!-- The same binary runs both ways: started by the service control manager
+ it serves the SCM, and started from a console it falls back to running
+ in the foreground. Nothing below is specific to either mode - a manifest
+ cannot ask for anything of the service control manager, and the process
+ privileges of the service come from the account it was registered with
+ ("sc create ... obj= ..."), not from here. -->
+
+ <!-- Run with the privileges of the invoking user. The service control
+ manager ignores this and uses the account the service was registered
+ with, but it is what the console mode needs: asking for administrator
+ rights here would make every foreground start raise a UAC prompt.
+ Declaring any level at all also disables registry/file system
+ virtualization, so that a write to the installation directory fails
+ visibly instead of being redirected into VirtualStore. -->
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
+ <security>
+ <requestedPrivileges>
+ <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+
+ <!-- Declare which Windows versions this program was tested against. An
+ unlisted program is reported the version of the newest OS it claims
+ support for, and may silently get compatibility shims applied. -->
+ <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
+ <application>
+ <!-- Windows Vista -->
+ <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
+ <!-- Windows 7 -->
+ <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
+ <!-- Windows 8 -->
+ <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
+ <!-- Windows 8.1 -->
+ <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
+ <!-- Windows 10 and Windows 11 -->
+ <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
+ </application>
+ </compatibility>
+
+ <application xmlns="urn:schemas-microsoft-com:asm.v3">
+ <windowsSettings>
+ <!-- Allow the node list database and the log file to sit behind a path
+ longer than MAX_PATH. This has no effect unless the machine also
+ has the LongPathsEnabled policy turned on, so it is safe on older
+ systems. -->
+ <longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
+ </windowsSettings>
+ </application>
+
+</assembly>