Skip to content

Commit

Permalink
remove all whitespace from manifest to stop line ending shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
arguablykomodo committed Sep 25, 2018
1 parent 4de176d commit f09ed49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
15 changes: 1 addition & 14 deletions _manifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="SrKomodo.Software.shadowfoxUpdater"
/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><assemblyIdentity type="win32" name="SrKomodo.Software.shadowfoxUpdater"/><trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"><security><requestedPrivileges><requestedExecutionLevel level="asInvoker" uiAccess="false" /></requestedPrivileges></security></trustInfo></assembly>
5 changes: 2 additions & 3 deletions manifest-generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import (
)

func main() {
findStr := []byte(` name="SrKomodo.Software.shadowfoxUpdater"
`)
findStr := []byte(`name="SrKomodo.Software.shadowfoxUpdater"`)

os.Remove("manifest.xml")

Expand All @@ -27,7 +26,7 @@ func main() {
findStr,
append(
findStr,
[]byte(" version=\""+strings.TrimPrefix(os.Args[1], "v")+".0\"\n")...,
[]byte(" version=\""+strings.TrimPrefix(os.Args[1], "v")+".0\"")...,
),
-1,
),
Expand Down

0 comments on commit f09ed49

Please sign in to comment.