Skip to content
Snippets Groups Projects
Unverified Commit d3c7abb7 authored by kali's avatar kali Committed by Kali Kaneko
Browse files

[bug] remove debug console in windows

squashed in this commit: reintroduce the dummy autostart_win implementation that was
removed by mistake. I did not manage to get autostart working in
windows, this is pending to be re-worked. see #389
parent b04607a7
No related branches found
No related tags found
1 merge request!122Pkg/sign windows
#TARGET = $$BINARY_NAME
CONFIG += qt staticlib
windows:CONFIG += console
windows:CONFIG -= console
unix:DEBUG:CONFIG += debug
lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
......
......@@ -33,9 +33,6 @@ ask again.
adding metadata to binaries
---------------------------
TODO: add metadata properly
https://github.com/electron/rcedit/releases/tag/v1.1.1
https://stackoverflow.com/questions/284258/how-do-i-set-the-version-information-for-an-existing-exe-dll
the steps to do release signatures are::
......
......@@ -58,11 +58,6 @@ function buildGoLib {
CGO_LDFLAGS="-g -O2 -mmacosx-version-min=$OSX_TARGET"
fi
#if [ "$PLATFORM" == "MINGW64_NT-10.0" ]
#then
# LDFLAGS="-H windowsgui"
#fi
if [ "$XBUILD" == "no" ]
then
echo "[+] Building Go library with standard Go compiler"
......
// +build windows
package bitmask
// Workaround for broken autostart package on windows.
type DummyAutostart struct{}
func (a *DummyAutostart) Disable() error {
return nil
}
func (a *DummyAutostart) Enable() error {
return nil
}
type Autostart interface {
Disable() error
Enable() error
}
func NewAutostart(appName string, iconPath string) Autostart {
return &DummyAutostart{}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment