feat: ZeroSend v2.4.1 - Shared Folders, Media Streaming, Vim Viewer, Portable Mode & Gitea Auto-Updater
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
#[cfg(windows)]
|
||||
fn main() {
|
||||
let mut res = winres::WindowsResource::new();
|
||||
res.set("FileDescription", "ZeroSend - Fast P2P Mesh File Sharing");
|
||||
res.set("ProductName", "ZeroSend");
|
||||
res.set("ProductVersion", "2.3.2.0");
|
||||
res.set("FileVersion", "2.3.2.0");
|
||||
res.set("CompanyName", "RarDog");
|
||||
res.set("LegalCopyright", "Copyright (C) 2026 RarDog");
|
||||
res.set("OriginalFilename", "zerosend.exe");
|
||||
res.set("InternalName", "zerosend");
|
||||
|
||||
// Standard application manifest
|
||||
res.set_manifest(r#"
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
version="2.3.2.0"
|
||||
processorArchitecture="*"
|
||||
name="ZeroSend"
|
||||
type="win32"
|
||||
/>
|
||||
<description>ZeroSend Fast P2P Mesh File Sharing</description>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<security>
|
||||
<requestedPrivileges>
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
|
||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
</assembly>
|
||||
"#);
|
||||
|
||||
if let Err(e) = res.compile() {
|
||||
eprintln!("Warning: failed to compile winres: {}", e);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user