File tree Expand file tree Collapse file tree
UniGetUI.PackageEngine.Managers.Vcpkg Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ public override void RefreshPackageIndexes()
345345 var ( vcpkgRootFound , vcpkgRoot ) = GetVcpkgRoot ( ) ;
346346 var ( gitFound , gitPath ) = CoreTools . Which ( "git" ) ;
347347
348- if ( ! found || ! gitFound || ! vcpkgRootFound || Settings . Get ( "DisableUpdateVcpkgGitPorts" ) )
348+ if ( ! found || ! gitFound || ! vcpkgRootFound )
349349 {
350350 INativeTaskLogger logger = TaskLogger . CreateNew ( LoggableTaskType . RefreshIndexes ) ;
351351 if ( Settings . Get ( "DisableUpdateVcpkgGitPorts" ) ) logger . Error ( "User has disabled updating sources" ) ;
Original file line number Diff line number Diff line change @@ -245,14 +245,6 @@ public SettingsPage()
245245
246246 // ----------------------------------------------------------------------------------------
247247
248- CheckboxCard Vcpkg_UpdateGitPorts = new ( )
249- {
250- Text = CoreTools . Translate (
251- "Update vcpkg's Git portfiles automatically (requires Git installed)" ) ,
252- SettingName = "DisableUpdateVcpkgGitPorts"
253- } ;
254- ExtraSettingsCards [ PEInterface . Vcpkg ] . Add ( Vcpkg_UpdateGitPorts ) ;
255-
256248 // GetDefaultTriplet factors in the `DefaultVcpkgTriplet` setting as its first priority
257249 Settings . SetValue ( "DefaultVcpkgTriplet" , Vcpkg . GetDefaultTriplet ( ) ) ;
258250 ComboboxCard Vcpkg_DefaultTriplet = new ( )
You can’t perform that action at this time.
0 commit comments