From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-043.btinternet.com (mailomta10-re.btinternet.com [213.120.69.103]) by sourceware.org (Postfix) with ESMTPS id 8253B3858D28 for ; Mon, 31 Jan 2022 12:13:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8253B3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk Received: from re-prd-rgout-002.btmx-prd.synchronoss.net ([10.2.54.5]) by re-prd-fep-043.btinternet.com with ESMTP id <20220131121350.PHIP14987.re-prd-fep-043.btinternet.com@re-prd-rgout-002.btmx-prd.synchronoss.net>; Mon, 31 Jan 2022 12:13:50 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 613A8DE812A83775 X-Originating-IP: [81.129.146.209] X-OWM-Source-IP: 81.129.146.209 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvvddrgedugdefjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepledvfeevtdehffdtgfduhffhtedvleffheefueejhfekudejgeejgeehudejhfefnecuffhomhgrihhnpegthihgfihinhdrtghomhdpuggvshhkthhophdrtggtnecukfhppeekuddruddvledrudegiedrvddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtfegnpdhinhgvthepkedurdduvdelrddugeeirddvtdelpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghpthhtohepfhigiiigmhhitgesohhuthhlohhokhdrtghomh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.103] (81.129.146.209) by re-prd-rgout-002.btmx-prd.synchronoss.net (5.8.716.04) (authenticated as jonturney@btinternet.com) id 613A8DE812A83775; Mon, 31 Jan 2022 12:13:50 +0000 Message-ID: <8012ebad-acb2-72e6-3dad-8b7273262a05@dronecode.org.uk> Date: Mon, 31 Jan 2022 12:13:24 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [ANNOUNCEMENT] Updated: setup (2.917) Content-Language: en-GB To: =?UTF-8?Q?=c2=a9_Fxzx_mic?= , The Cygwin Mailing List References: <19869e8a-e40e-43f0-8eaf-641aa010a3ef@gmail.com> From: Jon Turney In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1192.4 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2022 12:13:53 -0000 > On 31.01.2022 06:36, © Fxzx mic wrote: >> Hello, >> I want to know how to change the default value of the check boxes when creating a program shortcut after installation so that it is no longer checked by default. >> Which part of the program needs to be changed? >> [...]> > Can you please clarify with an example ? > Which shortcut do you mean ? > > Maybe you should look on the Command Line options for already available > options : > > $ ./setup-x86_64.exe --help > Cygwin setup 2.917 > > Command Line Options: > > ... > -d --no-desktop Disable creation of desktop shortcut > ... On 31/01/2022 06:43, © Fxzx mic wrote: > > After installing (or updating) through the GUI, the program will > finally have two check boxes to choose whether to create shortcuts, > and the default status of these two check boxes is checked. I just > want to know how to cancel this default behavior. I want to know > where this behavior is written in the setup program source code. If you search for that option text in the source code you'll end up looking at: https://cygwin.com/git/?p=cygwin-apps/setup.git;a=blob;f=desktop.cc Note that a patch to simply reverse the default setting of that option (i.e. make it unset by default, and require the user to click that checkbox to create the shortcuts (meaning that most users will have to do that) would not be acceptable. Probably what's wanted is to remember the state of those checkboxes, if this isn't the first time setup has been run?