Logo
Explore Help
Sign In
perso/syncthing-arm
1
0
Fork 0
You've already forked syncthing-arm
Code Issues Pull Requests Releases Wiki Activity
syncthing-arm/lib/osutil/hidden_unix.go

12 lines
310 B
Go
Raw Normal View History

Use more inclusive copyright header
2014-11-16 21:13:20 +01:00
// Copyright (C) 2014 The Syncthing Authors.
Relicense to GPL
2014-09-29 21:43:32 +02:00
//
MPLv2
2015-03-07 21:36:35 +01:00
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
all: Update license url to https (ref #3976)
2017-02-09 07:52:18 +01:00
// You can obtain one at https://mozilla.org/MPL/2.0/.
Add license header
2014-06-01 22:50:14 +02:00
Simple file versioning (fixes #218)
2014-05-25 20:49:08 +02:00
// +build !windows
package osutil
Revisit -no-console option for Windows The reason for ShowWindow opose to your FreeConsole is because if you start up cmd.exe and do syncthing.exe -no-output it actually hides the existing cmd.exe window oppose to opening a separate window and then hiding it, which keeps the existing console hanging on syncthing.exe running. I tried playing around with compiling as GUI, then given the option is not present allocating a console, and redirecting the std streams to the new console, but that seems ugly as I'd have to make quite a few calls. But that does get of the initial flash.
2014-12-04 20:25:35 +00:00
func HideConsole() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 269ms Template repo/home: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API