Skip to content

Commit

Permalink
Removed the 32-bit version from the installation file for distributio…
Browse files Browse the repository at this point in the history
…n (some antivirus misdiagnosed as malware).
  • Loading branch information
Regentag committed Nov 12, 2020
1 parent 9666685 commit 1be9ad7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ test.out
a.out
*.syso
*.exe
*.log
setup/Output
setup/*.exe
11 changes: 1 addition & 10 deletions build_for_setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@ echo Build SecureDNS...

setlocal

echo 32bit windows...
set GOOS=windows
set GOARCH=386

go build -o setup\SecureDNS32.exe

echo done.
echo.

echo 64 bit windows...
set GOOS=windows
set GOARCH=amd64

go build -o setup\SecureDNS64.exe
go build -o setup\SecureDNS.exe

echo done.

Expand Down
1 change: 1 addition & 0 deletions setup/sec-dns.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SecureDNS 1.2a installed.
7 changes: 4 additions & 3 deletions setup/setup_script.iss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Setup]
AppId={{B83116D9-F507-46E8-B59A-AF714A182295}
AppName=SecureDNS
AppVersion=1.2
AppVersion=1.2a
AppPublisher=REGENTAG
AppPublisherURL=https://github.com/Regentag/SecureDNS
AppSupportURL=https://github.com/Regentag/SecureDNS
Expand All @@ -20,13 +20,14 @@ AppContact=https://github.com/Regentag/SecureDNS/issues
UninstallDisplaySize=42
UninstallDisplayIcon={uninstallexe}
InfoAfterFile=setup_after.ko_kr.rtf
ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Files]
Source: "SecureDNS32.exe"; DestDir: "{app}"; DestName: "SecureDNS.exe"; Flags: ignoreversion 32bit
Source: "SecureDNS64.exe"; DestDir: "{app}"; DestName: "SecureDNS.exe"; Flags: ignoreversion 64bit
Source: "SecureDNS.exe"; DestDir: "{app}"; DestName: "SecureDNS.exe"; Flags: ignoreversion
Source: "sec-dns.log"; DestDir: "{app}"; Flags: ignoreversion
Source: "service_install.cmd"; DestDir: "{app}"; Flags: ignoreversion
Source: "service_remove.cmd"; DestDir: "{app}"; Flags: ignoreversion
Expand Down

0 comments on commit 1be9ad7

Please sign in to comment.