delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/31/07:14:18

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT 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 AT btinternet DOT 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
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)
To: =?UTF-8?Q?=c2=a9_Fxzx_mic?= <fxzxmic AT outlook DOT com>,
The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <announce DOT cf4024c4-3af4-60c2-8bad-7fe41c19cabc AT dronecode DOT org DOT uk>
<OS3P286MB1855A316A86A426A03B8BE34B4259 AT OS3P286MB1855 DOT JPNP286 DOT PROD DOT OUTLOOK DOT COM>
<19869e8a-e40e-43f0-8eaf-641aa010a3ef AT gmail DOT com>
<OS3P286MB18556235885AB71E12976510B4259 AT OS3P286MB1855 DOT JPNP286 DOT PROD DOT OUTLOOK DOT COM>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
In-Reply-To: <OS3P286MB18556235885AB71E12976510B4259@OS3P286MB1855.JPNP286.PROD.OUTLOOK.COM>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 20VCEIDh025582

> 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?

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019