Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2014-01-31 06:04:55 +0400
committerOliver Schneider <oliver@assarbad.net>2014-01-31 06:04:55 +0400
commita2d7867c99f4df9868f136b73162a1d43c27ece0 (patch)
tree808a2f4532b333b496775ac11d6459d4e0df9bfa /premake4.lua
parent30a579bde1a0e5a31f7a69aaa734a4a48837eb99 (diff)
We don't want the publicKeyToken in the manifest for unsigned binaries (non-release builds)
Diffstat (limited to 'premake4.lua')
-rw-r--r--premake4.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/premake4.lua b/premake4.lua
index 9002c02..e56add0 100644
--- a/premake4.lua
+++ b/premake4.lua
@@ -132,7 +132,7 @@ do
if captured:find("res/windirstat\.manifest") and cfg.name and cfg.platform then
local identity_fmt = "%s, processorArchitecture=%s, version=%s, type=win32"
local arch = iif(cfg.platform == "x32", "x86", iif(cfg.platform == "x64", "amd64", "*"))
- if cfg.name == "Release" then
+ if _OPTIONS["release"] and (cfg.name == "Release") then
identity_fmt = identity_fmt .. string.format(", publicKeyToken=%s", publicKeyToken)
end
local identity = string.format(identity_fmt, assemblyName, arch, programVersion)